Re: Very high memory usage with KVM

2009-08-21 Thread Daniel Bareiro
On Monday, 10 August 2009 18:15:17 +0200, Bernhard Held wrote: Hi Daniel! Hi, Bernhard! I've set in the kernel config: CONFIG_FIRMWARE_IN_KERNEL=y And what happened? Are you sure you recompiled and booted the new kernel with CONFIG_FIRMWARE_IN_KERNEL=y? [...] Here is what I

Re: Very high memory usage with KVM

2009-08-10 Thread Bernhard Held
Hi Daniel! Aug 4 17:38:39 ss03 kernel: [4.750023] bnx2 :03:00.0: firmware: requesting bnx2/bnx2-mips-06-4.6.16.fw Aug 4 17:38:39 ss03 kernel: [4.751070] bnx2: Can't load firmware file bnx2/bnx2-mips-06-4.6.16.fw Aug 4 17:38:39 ss03 kernel: [4.751141] bnx2 :03:00.0: PCI

Re: Very high memory usage with KVM

2009-08-10 Thread Daniel Bareiro
On Monday, 10 August 2009 08:40:48 +0200, Bernhard Held wrote: Hi Daniel! Hi Bernhard! Aug 4 17:38:39 ss03 kernel: [4.750023] bnx2 :03:00.0: firmware: requesting bnx2/bnx2-mips-06-4.6.16.fw Aug 4 17:38:39 ss03 kernel: [4.751070] bnx2: Can't load firmware file

Re: Very high memory usage with KVM

2009-08-10 Thread Bernhard Held
Hi Daniel! I've set in the kernel config: CONFIG_FIRMWARE_IN_KERNEL=y And what happened? Are you sure you recompiled and booted the new kernel with CONFIG_FIRMWARE_IN_KERNEL=y? Although I don't see the asked file in initramfs. The file with full path is

Re: Very high memory usage with KVM

2009-08-09 Thread Avi Kivity
On 08/08/2009 03:54 AM, Daniel Bareiro wrote: My guess is that it is due to poor swapping with pre-2.6.27 hosts. 15 GB used out of 16GB total is just 6% reserve, which may be a bit too low. With a 2.6.27 host some small amount of memory would be swapped out, before that you'd see thrashing.

Re: Very high memory usage with KVM

2009-08-07 Thread Daniel Bareiro
Hi Avi. On Sunday, 26 July 2009 19:19:39 +0300, Avi Kivity wrote: kvm memory management with pre 2.6.27 host kernels is pretty weak. Using a newer host kernel (and newer kvm) may solve this problem. Initially I am going to see how it improves the situation upgrading to KVM-84 of backports

Re: Very high memory usage with KVM

2009-07-26 Thread Avi Kivity
On 07/25/2009 08:43 PM, Daniel Bareiro wrote: Hi all! I have an installation with Ubuntu Hardy Heron server amd64 with KVM-62 from Ubuntu repositories installed on an HP Proliant DL380 G5 with two Xeon E5405 quadcore processors and 16 GiB of RAM which has six VMs with the following

Re: Very high memory usage with KVM

2009-07-26 Thread Daniel Bareiro
Hi Avi. On Sunday, 26 July 2009 14:31:57 +0300, Avi Kivity wrote: I have an installation with Ubuntu Hardy Heron server amd64 with KVM-62 from Ubuntu repositories installed on an HP Proliant DL380 G5 with two Xeon E5405 quadcore processors and 16 GiB of RAM which has six VMs with the

Re: Very high memory usage with KVM

2009-07-26 Thread Avi Kivity
On 07/26/2009 05:56 PM, Daniel Bareiro wrote: What is the storage configuration? Are you using qcow2? I'm not using qcow2 files. The /dev/cciss/c0d0p3 partition is a physical volume that maintains the logical volumes that are used for VM's disks: In this case there should be no

Re: Very high memory usage with KVM

2009-07-26 Thread Daniel Bareiro
Avi On Sunday, 26 July 2009 18:11:27 +0300, Avi Kivity wrote: What is the storage configuration? Are you using qcow2? I'm not using qcow2 files. The /dev/cciss/c0d0p3 partition is a physical volume that maintains the logical volumes that are used for VM's disks: In this case there should

Re: Very high memory usage with KVM

2009-07-26 Thread Avi Kivity
On 07/26/2009 06:50 PM, Daniel Bareiro wrote: kvm memory management with pre 2.6.27 host kernels is pretty weak. Using a newer host kernel (and newer kvm) may solve this problem. Initially I am going to see how it improves the situation upgrading to KVM-84 of backports of Hardy Heron,

Very high memory usage with KVM

2009-07-25 Thread Daniel Bareiro
Hi all! I have an installation with Ubuntu Hardy Heron server amd64 with KVM-62 from Ubuntu repositories installed on an HP Proliant DL380 G5 with two Xeon E5405 quadcore processors and 16 GiB of RAM which has six VMs with the following configuration of memory: Hostname | RAM