[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] RE: [Xen-devel] [PATCH] Fix auto-ballooning of dom0 for HVM domains
Ewan Thanks for your explaination very much ! Thanks Yunhong Jiang >-----Original Message----- >From: Ewan Mellor [mailto:ewan@xxxxxxxxxxxxx] >Sent: Friday, May 19, 2006 11:15 PM >To: Jiang, Yunhong >Cc: Charles Coffing; xen-devel@xxxxxxxxxxxxxxxxxxx >Subject: Re: [Xen-devel] [PATCH] Fix auto-ballooning of dom0 >for HVM domains > >On Fri, May 19, 2006 at 12:23:59PM +0800, Jiang, Yunhong wrote: > >> Hi, Charles >> Just one suggestion, for xen-hvm-auto-balloon.diff, how about >> change >> xc.domain_setmaxmem(self.domid, m) >> >> to >> xc.domain_setmaxmem(self.domid, >self.info['memory'] * 1024) >> >> The maxmem would be used to check when guest try to increase memory. >> >> Also, does anyone know the what the BALLOON_OUT_SLACK on >> tools/python/xen/xend/balloon.py stands for? The comments said it is >> "physinfo details are rounded". > >When you get the free memory from xc.physinfo(), it may report >(for example) >100MB free when actually there are 99.9MB free. It rounds up >because you >are often just a few pages short of the value you expect, >because there are >pages being used for the I/O shared rings, for example. This >means that when >deciding how much memory to balloon, we need to subtract 1MB. > >Ewan. > _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |