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

Re: [Xen-devel] testing the balloon driver



The balloon driver is not at all polite about rate-limiting its
allocations. This needs fixing (e.g., rate limit to a page per jiffy).

 -- Keir

> Am I mean?  Maybe a little...
> 
> Anyway, I'm now running the following test of the balloon driver
> with 2.6.8.1 and the latest Xen tree, on a 128MB domain 0 and a
> 64MB domain 1:
> 
> # while sleep 1 ; do xm balloon 0 `echo $((($RANDOM % 64) + 60))`; done &
> # while sleep 1 ; do xm balloon 1 `echo $((($RANDOM % 32) + 30))`; done & 
> 
> Simultaneously, I'm running yum inside domain 1, putting a load
> on the loop device driver in domain 0 and the VM inside domain 1.
> 
> This causes a number of page allocation failures inside domain 1,
> as well as:
> 
> VM: killing process yum
> 
> I'm off to investigate whether it's a VM bug, or whether I should
> make the balloon driver a little friendlier on the VM.  Chances
> are I'll end up sending out a patch later, either here or to the 
> linux-kernel mailing list ;)
> 
> -- 
> "Debugging is twice as hard as writing the code in the first place.
> Therefore, if you write the code as cleverly as possible, you are,
> by definition, not smart enough to debug it." - Brian W. Kernighan
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
> Use IT products in your business? Tell us what you think of them. Give us
> Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
> http://productguide.itmanagersjournal.com/guidepromo.tmpl
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/xen-devel



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.