[PVE-User] pve-user Digest, Vol 41, Issue 4

Erik van Ast Erik.van.Ast at suzohapp.nl
Mon Aug 8 11:52:28 CEST 2011


Hi all,

@Fabian and @CoolCold thank you for your reply.
I have connected with putty (SSH) and ran #top.
I see 4 CPU lines (CPU0-CPU4) and the max I have seen now during 5
minutes of watching it is 15%, but most of the times, it's 1 Cpu doing
4% and 1 doing 2%, so I presume that's not the problem?

I also edited the .conf file located in /etc/qemu-server and I have
tried both " ide0: local:108/vm-108-disk-1.raw,cache=writethrough" and "
ide0: local:108/vm-108-disk-1.raw,cache=none" but with both configs I
didn't see any major improvements. The virtual server has been installed
with 2 virtual discs, 1 of 40GB and the second with 200GB.
The machine is especially slow when copying large data over, than the
speed drops to about 30-70 Kbyte/sec instead of at least 20 Mbyte/sec...

Anyone seen this before? Help is greatly appreciated...

Kind regard,
Erik 

-----Oorspronkelijk bericht-----
Van: pve-user-bounces at pve.proxmox.com
[mailto:pve-user-bounces at pve.proxmox.com] Namens
pve-user-request at pve.proxmox.com
Verzonden: zaterdag 6 augustus 2011 12:00
Aan: pve-user at pve.proxmox.com
Onderwerp: pve-user Digest, Vol 41, Issue 4

Send pve-user mailing list submissions to
	pve-user at pve.proxmox.com

To subscribe or unsubscribe via the World Wide Web, visit
	http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
or, via email, send a message with subject or body 'help' to
	pve-user-request at pve.proxmox.com

You can reach the person managing the list at
	pve-user-owner at pve.proxmox.com

When replying, please edit your Subject line so it is more specific than
"Re: Contents of pve-user digest..."


Today's Topics:

   1. Very slow server (RAW IDE discs and KVM) (Erik van Ast)
   2. Re: Very slow server (RAW IDE discs and KVM)
      (info at fabianschuetze.de)
   3. Re: Very slow server (RAW IDE discs and KVM) (CoolCold)
   4. Re: Need some advice with iSCSI storage (Hart, Brian R.)
   5. Add troubleshooting page to the wiki (Aaron C. de Bruyn)
   6. Re: Need some advice with iSCSI storage (Dietmar Maurer)


----------------------------------------------------------------------

Message: 1
Date: Fri, 5 Aug 2011 13:10:54 +0200
From: "Erik van Ast" <Erik.van.Ast at suzohapp.nl>
To: <pve-user at pve.proxmox.com>
Subject: [PVE-User] Very slow server (RAW IDE discs and KVM)
Message-ID:
	
<80A72F1B1CFF80409D8E422437CEDC9A02537BCD at srv03-suzo-03.Suzo.int>
Content-Type: text/plain; charset="us-ascii"

Hi all,

 

We have a PROXMOX 1.8 server running on a "4 x Intel(R) Core(TM)2 Quad
CPU Q9650 @ 3.00GHz" CPU with 8GB RAM installed. At the moment 3 virtual
servers are running on it (OpenSuse 11.2, Windows 2003 and Windows 2008)
and one of my servers (Windows 2003, 2GB of RAM, 2 RAW IDE discs) is
being extremely slow when writing data to it. We want to use this
machine as file server, so we want to copy 180GB of data to it. The
copying of data is almost finished now, but it took about 4 days to
complete and we are on a 1Gbit connection internally so that shouldn't
make a difference. I saw that the machine is especially slow when
copying large data over (like PST files), the speed than drops to
10-20Kbps instead of the multiple Mbps it should do.

At the moment 6.37 of the 8GB have been takes by the machines so RAM
shouldn't be a problem and total CPU is 50% now, so that should also be
no problem.

When running task manager on the virtual server itself, nothing special
is seen. No high CPU, no high RAM but the server is almost unresponsive.
As soon as the server is finished copying, everything is back to normal
speed

 

Has anyone ever seen this and does anyone know how to solve it?

Kind regards,
Erik

-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://pve.proxmox.com/pipermail/pve-user/attachments/20110805/4a223de7
/attachment-0001.html>

------------------------------

Message: 2
Date: Fri, 05 Aug 2011 13:28:47 +0200
From: info at fabianschuetze.de
To: <pve-user at pve.proxmox.com>
Subject: Re: [PVE-User] Very slow server (RAW IDE discs and KVM)
Message-ID: <8f9fd64c580b8de77bb9f6babe6d8903 at fabianschuetze.de>
Content-Type: text/plain; charset="utf-8"

  

Login via ssh / Console to your proxmox host and execute 

#top


You should see a "x.x%wa" in the "Cpu" line.
If it is very high, the
HDD's are too slow/busy to write the files. 

Fabian 

On Fri, 5 Aug
2011 13:10:54 +0200, Erik van Ast wrote: 

> Hi all,
> 
> We have a
PROXMOX 1.8 server running on a "4 x Intel(R) Core(TM)2 Quad CPU Q9650 @
3.00GHz" CPU with 8GB RAM installed. At the moment 3 virtual servers are
running on it (OpenSuse 11.2, Windows 2003 and Windows 2008) and one of
my servers (Windows 2003, 2GB of RAM, 2 RAW IDE discs) is being
extremely slow when writing data to it. We want to use this machine as
file server, so we want to copy 180GB of data to it. The copying of data
is almost finished now, but it took about 4 days to complete and we are
on a 1Gbit connection internally so that shouldn't make a difference. I
saw that the machine is especially slow when copying large data over
(like PST files), the speed than drops to 10-20Kbps instead of the
multiple Mbps it should do. 
> 
> At the moment 6.37 of the 8GB have
been takes by the machines so RAM shouldn't be a problem and total CPU
is 50% now, so that should also be no problem. 
> 
> When running task
manager on the virtual server itself, nothing special is seen. No high
CPU, no high RAM but the server is almost unresponsive. As soon as the
server is finished copying, everything is back to normal speed 
> 
> Has
anyone ever seen this and does anyone know how to solve it? 
> 
> Kind
regards,
> Erik

  
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://pve.proxmox.com/pipermail/pve-user/attachments/20110805/1da33e76
/attachment-0001.html>

------------------------------

Message: 3
Date: Fri, 5 Aug 2011 15:36:17 +0400
From: CoolCold <coolthecold at gmail.com>
To: Erik van Ast <Erik.van.Ast at suzohapp.nl>
Cc: pve-user at pve.proxmox.com
Subject: Re: [PVE-User] Very slow server (RAW IDE discs and KVM)
Message-ID:
	
<CAGqmV7rJ8qTS9tLXkUQ9ann+Ot3ofDyYiekS5ePKfxrkz3OR6w at mail.gmail.com>
Content-Type: text/plain; charset=windows-1252

I'm not expert in Proxmox (never used or even installed) but regarding
KVM - may be you should check "cache" policy for that machine(s) ? One
day I was installing Win7 inside KVM container and changing cache mode
helped me (i may be wrong but i set it to "none").

Quoting Tuning KVM[1]

QEMU also supports a wide variety of caching modes. Writeback is useful
for testing but does not offer storage guarantees. Writethrough (the
default) is safer, and relies on the host cache. If you're using raw
volumes or partitions, it is best to avoid the cache completely, which
reduces data copies and bus traffic:

 qemu -drive
file=/dev/mapper/ImagesVolumeGroup-Guest1,cache=none,if=virtio

Hope this will help you.

[1] http://www.linux-kvm.org/page/Tuning_KVM



On Fri, Aug 5, 2011 at 3:10 PM, Erik van Ast <Erik.van.Ast at suzohapp.nl>
wrote:
> Hi all,
>
>
>
> We have a PROXMOX 1.8 server running on a ?4 x Intel(R) Core(TM)2 Quad

> CPU
> Q9650 @ 3.00GHz? CPU with 8GB RAM installed. At the moment 3 virtual 
> servers are running on it (OpenSuse 11.2, Windows 2003 and Windows 
> 2008) and one of my servers (Windows 2003, 2GB of RAM, 2 RAW IDE 
> discs) is being extremely slow when writing data to it. We want to use

> this machine as file server, so we want to copy 180GB of data to it. 
> The copying of data is almost finished now, but it took about 4 days 
> to complete and we are on a 1Gbit connection internally so that 
> shouldn?t make a difference. I saw that the machine is especially slow

> when copying large data over (like PST files), the speed than drops to
10-20Kbps instead of the multiple Mbps it should do.
>
> At the moment 6.37 of the 8GB have been takes by the machines so RAM 
> shouldn?t be a problem and total CPU is 50% now, so that should also 
> be no problem.
>
> When running task manager on the virtual server itself, nothing 
> special is seen. No high CPU, no high RAM but the server is almost 
> unresponsive. As soon as the server is finished copying, everything is

> back to normal speed
>
>
>
> Has anyone ever seen this and does anyone know how to solve it?
>
> Kind regards,
> Erik
>
> _______________________________________________
> pve-user mailing list
> pve-user at pve.proxmox.com
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
>
>



--
Best regards,
[COOLCOLD-RIPN]


------------------------------

Message: 4
Date: Fri, 5 Aug 2011 14:37:55 +0000
From: "Hart, Brian R." <brianhart at ou.edu>
To: Dietmar Maurer <dietmar at proxmox.com>, "pve-user at pve.proxmox.com"
	<pve-user at pve.proxmox.com>
Subject: Re: [PVE-User] Need some advice with iSCSI storage
Message-ID: <CA616922.FD4A%brianhart at ou.edu>
Content-Type: text/plain; charset="us-ascii"

Dietmar,

Sorry, I didn't clarify in my original email but our iSCSI SAN makes use
of multipath, so the way we currently use proxmox with it is to use the
LVM on network backed storage like in the storage model on the wiki.
Does
what you suggest work in this type of environment?  I'm not sure how to
get direct access to the LUN with the multipath configuration that we
use.
 Am I just misunderstanding how that would work?


Brian Hart
Systems Administration Specialist
University of Oklahoma
Center for Spatial Analysis
Two Partners Place
3100 Monitor, Suite 180
Norman, OK 73072
Office: (405)325-9611
Mobile: (405)397-2133
http://www.csa.ou.edu/





On 8/4/11 11:37 PM, "Dietmar Maurer" <dietmar at proxmox.com> wrote:

>> Or is there some way that we can just redirect the existing LUN
>> on the iscsi to proxmox and have it just start using it for that VM
>>right away
>
>Simply create an iscsi storage (enable 'use LUNs directly'). Then you
can
>directly attach
>the LUN to the VM.
>
>- Dietmar
> 
>
>



------------------------------

Message: 5
Date: Fri, 5 Aug 2011 17:47:30 -0700
From: "Aaron C. de Bruyn" <aaron at heyaaron.com>
To: pve-user at pve.proxmox.com
Subject: [PVE-User] Add troubleshooting page to the wiki
Message-ID:
	
<CAEE+rGoTBhbW88+k5Y-AucjZFnP4QcX2Uit4mA3dDmSErf0+hw at mail.gmail.com>
Content-Type: text/plain; charset=UTF-8

I created a page for issues involving the guest keyboard in Windows
(the i8042 port driver problem)

http://pve.proxmox.com/wiki/Guest_Keyboard_Problems

I'm not sure who approves the pages and adds them into the
troubleshooting section, but there it is.

Thanks,

-A


------------------------------

Message: 6
Date: Sat, 6 Aug 2011 07:04:51 +0000
From: Dietmar Maurer <dietmar at proxmox.com>
To: "Hart, Brian R." <brianhart at ou.edu>, "pve-user at pve.proxmox.com"
	<pve-user at pve.proxmox.com>
Subject: Re: [PVE-User] Need some advice with iSCSI storage
Message-ID:
	<24E144B8C0207547AD09C467A8259F7537733B09 at lisa.maurer-it.com>
Content-Type: text/plain; charset="us-ascii"

> Sorry, I didn't clarify in my original email but our iSCSI SAN makes
use of
> multipath, so the way we currently use proxmox with it is to use the
LVM on
> network backed storage like in the storage model on the wiki.  Does
what you
> suggest work in this type of environment?  I'm not sure how to get
direct access
> to the LUN with the multipath configuration that we use.

I never worked with multipath that way, sorry.

- Dietmar



------------------------------

_______________________________________________
pve-user mailing list
pve-user at pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user


End of pve-user Digest, Vol 41, Issue 4
***************************************

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________



More information about the pve-user mailing list