Re: Very high memory usage with KVM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 configuration of memory:

Hostname       |      RAM
===============+===============
Ganimedes      |    2 GiB
Os             |    1 GiB
Aprender       |    2 GiB
Aps0           |    2 GiB
Aps2           |    4 GiB
Ratatoskr      |    4 GiB
===============+===============
TOTAL          |   15 GiB


Initially the host was created with a swap partition of 1 GiB (more 1
GiB than was free for use of host) but this amount with the time
remained short and I had to add a LV of 7 GiB to be used with swap,
being now a total of 8 GiB of swap of which at this moment I have only a
9% free. Is 'normal' this use of memory?

root@ss02:~# ps -e --sort -rss -Ho user,start_time,pid,pcpu,pmem,rss,size,vsz,args
USER     START   PID %CPU %MEM   RSS    SZ    VSZ COMMAND
[...]
root     Jul06 27471 52.3 24.4 4023232 4292200 4350296   kvm<ratatoskr>
root     Jul24  9955  137 23.8 3923620 4308592 4350308   kvm<aps2>
root     Jul06  8751  5.8  8.3 1368228 2171808 2229888   kvm<aps0>
root     Jul07  8565  2.7  5.2 862844 2204704 2246416   kvm<aprender>
root     Apr22  7842  0.6  3.6 600072 2172056 2230136   kvm<ganimedes>
root     Jul01  7944  0.6  2.0 334860 1119916 1177996   kvm<os>

root@ss02:~# free
              total       used       free     shared    buffers     cached
Mem:      16463388   16377844      85544          0     894216      66328
-/+ buffers/cache:   15417300    1046088
Swap:      8319948    7621916     698032


Updating to KVM-84 or superior can improve this situation?

What is the storage configuration? Are you using qcow2? What are the image logical and physical sizes?

What is the host kernel (uname -a)?

--
error compiling committee.c: too many arguments to function

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux