Re: Swap usage with KVM

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

 



Hi, Rik.

On Sunday, 11 July 2010 17:49:43 -0400,
Rik van Riel wrote:

>>> I have an installation with Debian GNU/Linux 5.0.4 amd64 with
>>> qemu-kvm 0.12.3 compiled with the source code obtained from the
>>> official site of KVM and Linux 2.6.32.12 compiled from source code
>>> of kernel.org. All this is installed on an HP Proliant DL380 G6 with
>>> two Xeon E5530 quadcore processors and 16 GiB of RAM which has two
>>> VMs with the following configuration of memory:
>>>
>>> Hostname       |      RAM
>>> ===============+===============
>>> Aps4           |    7 GiB
>>> Leela          |    7 GiB
>>> ===============+===============
>>> TOTAL          |   14 GiB
>>>
>>> Initially the host was created with a swap partition of 1 GiB, but
>>> today we found that the use of swap quickly began to grow
>>> increasingly.  Therefore, as a contingency, we had to hot-add a
>>> logical volume of 1 GB of swap on the VMHost. Is 'normal' this use
>>> of memory?

> That depends on what is going on in the host.
>
> Did you notice any performance issues in the guest when you started
> using swap?

After the logical volume of 1 GB that I added when I found this problem
(being the operating system with 2 GB), I added other 3 GB to have a
little more margin, but today I got again a new alert of Nagios:

        
Swap usage     WARNING    [...]    SWAP WARNING - 30% free   (1490 MB out of 5052 MB)


I don't see performance issue in the VMs.

Marcelo Tosatti recommended me to apply the EPT patch
(6316e1c8c6af6ccb55ff8564231710660608f46c). Should it be safe for use in
production? Are there plans that this patch is applied on some version
of Linux stable?

Also it can be advisable to update to qemu-kvm 0.12.4 considering what
David Weber said:

http://sourceforge.net/tracker/?func=detail&atid=893831&aid=2989366&group_id=180599


Thanks for your reply.

Regards,
Daniel
-- 
Mi frase del día:
Collaboration, n.:
	A literary partnership based on the false assumption that the
	other fellow can spell.

Daniel Bareiro - GNU/Linux registered user #188.598
Proudly running Debian GNU/Linux with uptime:
15:28:17 up 23 days, 20:20, 12 users,  load average: 0.16, 0.14, 0.09

Attachment: signature.asc
Description: Digital signature


[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