ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Anton Gorlov <stalker@altlinux.ru>
To: ALT Linux sysadmins' discussion <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] Не стартует libvirtd
Date: Fri, 09 Sep 2011 16:16:11 +0400
Message-ID: <4E6A038B.1010506@altlinux.ru> (raw)
In-Reply-To: <201109091131.26102.a_s_y@sama.ru>

09.09.2011 11:31, Sergey пишет:
> не обнаруживаются. С 2.6.32-ovz-el-alt27 тоже работает. Кстати, память виртуальные
> сервера откусывают всю и сразу, или как-то можно сделать так, чтобы память
> потреблялась по мере необходимости ?

Смотрите в сторону baloon
===
Is dynamic memory management for guests supported?
This is a broad topic covering a few areas.

A. KVM only allocates memory as the guest tries to use it. Once it's 
allocated, KVM keeps it. Some guests (namely Microsoft guests) zero all 
memory at boot time. So they will use all memory.

B. Certain guests (only Linux at the moment) have a balloon driver, so 
the host can have the guest allocate a certain amount of memory which 
the guest won't be able to use anymore and it can then be freed on the 
host. Ballooning is controlled in the host via the balloon monitor command.

C. Some hosts (presently only RHEL5.4 / CentOS 5.4) have a feature 
called KSM (Kernel Sharedpage Merging), which collapses together 
identical pages; this requires kernel support on the host, as well as a 
kvm new enough to opt in to the behavior. As some guest platforms (most 
notably Windows) zero out free'd memory, such pages are trivially 
collapsed. The ksmctl command needs to be used to enable KSM; 
alternately, the ksmtuned service found in Fedora 12 can be run to 
dynamically adjust KSM's aggressiveness based on the amount of free 
memory available


  parent reply	other threads:[~2011-09-09 12:16 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-08 14:09 ` Andrii Dobrovol`s`kii
2011-09-09  7:31   ` Sergey
2011-09-09 10:43     ` Andrii Dobrovol`s`kii
2011-09-09 12:30       ` Sergey
2011-09-09 12:16     ` Anton Gorlov [this message]
2011-09-09 12:27       ` Sergey
2011-09-27 14:17         ` Sergey
2011-09-28 13:55           ` Sergey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E6A038B.1010506@altlinux.ru \
    --to=stalker@altlinux.ru \
    --cc=sysadmins@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git