From mboxrd@z Thu Jan 1 00:00:00 1970 From: George Shuklin Subject: Re: [XCP]: RC1 of XCP 0.5 available for testing Date: Mon, 14 Jun 2010 18:22:13 +0400 Message-ID: <1276525334.4626.11.camel@home.desunote.ru> References: <81A73678E76EA642801C8F2E4823AD21807FFE696B@LONPMAILBOX01.citrite.net> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <81A73678E76EA642801C8F2E4823AD21807FFE696B@LONPMAILBOX01.citrite.net> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-users-bounces@lists.xensource.com Errors-To: xen-users-bounces@lists.xensource.com To: Dave Scott Cc: "'xen-devel@lists.xensource.com'" , "'xen-users@lists.xensource.com'" List-Id: xen-devel@lists.xenproject.org =D0=92 =D0=9F=D1=82=D0=BD, 11/06/2010 =D0=B2 21:27 +0100, Dave Scott =D0=BF= =D0=B8=D1=88=D0=B5=D1=82: > http://www.xen.org/products/cloud_source_0.5.html >=20 > XCP-0.5 is intended to be a *stable* release, suitable for long-term prod= uction use. > Please download this release candidate and give it a thorough workout! >=20 I found third (on my count) bug: If we set up VM memory limits like this (on shutdowned machine): xe vm-memory-static-range-set max=3D1048MiB min=3D96MiB vm=3Dtest xe vm-memory-dynamic-range-set max=3D1048MiB min=3D96MiB vm=3Dtest xe vm-memory-target-set vm=3Dnonballoon target=3D110MiB ... and start VM. We found it take about 96Mb of RAM. And if we starts to change it with xe vm-memory-target-set command, we can increase, but can not cut memory down until about 230Mb (from 500 to 300 - ok, from 300 to 150 - no). I thinks this have some relation with code in in drivers/xen/balloon/balloon.c: static unsigned long minimum_target(void) ... if (max_pfn < MB2PAGES(128)) min_pages =3D MB2PAGES(8) + (max_pfn >> 1); else if (max_pfn < MB2PAGES(512)) min_pages =3D MB2PAGES(40) + (max_pfn >> 2); else if (max_pfn < MB2PAGES(2048)) min_pages =3D MB2PAGES(104) + (max_pfn >> 3); else min_pages =3D MB2PAGES(296) + (max_pfn >> 5); ... I think, those numbers are unreasonable (especially around 2Gb limit). --- wBR, George.