hmm, how do i use the balloon driver? ./balloon inflate 1000 Unable to inflate balloon, error ffffffea both in dom0 and in dom1, both have ~100mb in starting size, lots of unused memory, and i also have at least another 300mb of unused memory. paul ------------------------------------------------------- This SF.net email is sponsored by OSDN developer relations Here''s your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
> hmm, > how do i use the balloon driver? > > ./balloon inflate 1000 > Unable to inflate balloon, error ffffffeaHmm indeed. I''m afraid its been ages since any of us tested the balloon driver, and I fear it may have rotted. The control interface need improving anyhow, so you could also control it from domain0. We''ll take a look. Sorry, Ian> both in dom0 and in dom1, both have ~100mb in starting size, lots of > unused memory, and i also have at least another 300mb of unused memory. > > paul > > > ------------------------------------------------------- > This SF.net email is sponsored by OSDN developer relations > Here''s your chance to show off your extensive product knowledge > We want to know what you know. Tell us and you have a chance to win $100 > http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/xen-devel------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
> > > hmm, > > how do i use the balloon driver? > > > > ./balloon inflate 1000 > > Unable to inflate balloon, error ffffffea > > Hmm indeed. I''m afraid its been ages since any of us tested > the balloon driver, and I fear it may have rotted. The control > interface need improving anyhow, so you could also control it > from domain0.Actually the problem is probably that each domain has a "max memory" setting which is the maximum to which the balloon can be inflated. Currently I believe this is always set to the initial memory size (ie. the balloon can only be deflated, and then inflated back up to its original size). This can easily be fixed (eg. another argument to xi_build). I''ll look into it this afternoon. -- Keir ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
> hmm, > how do i use the balloon driver? > > ./balloon inflate 1000 > Unable to inflate balloon, error ffffffea > > both in dom0 and in dom1, both have ~100mb in starting size, lots of > unused memory, and i also have at least another 300mb of unused memory.Yeah, I checked this out. For now, set p->max_pages to (1<<20) in common/domain.c:alloc_new_domain_mem (it''s currently set to tot_pages). That will effectively turn off limit checking --- I''ll add explicit setting to xi_build later. In the future balloon requests will go via DOM0 for dynamic checking (we can then support more versatile policies than static-limit checking). -- Keir ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
On 23 Oct 2003, at 02:35, Paul Boehm wrote:> hmm, > how do i use the balloon driver? > > ./balloon inflate 1000 > Unable to inflate balloon, error ffffffea > > both in dom0 and in dom1, both have ~100mb in starting size, lots of > unused memory, and i also have at least another 300mb of unused memory. > > paulI''ve finally had the chance to look into this error. This error is due to a serious bug in xen/common/dom_mem_ops.c I''ve pushed in the fix and hopefully the fix will appear in bkbits trees very soon. Or, if you are in urgent need, just patch manually by changing the line: (pf->flags != p->domain) into (pf->flags & PG_domain_mask != p->domain) -- Bin ------------------------------------------------------- This SF. Net email is sponsored by: GoToMyPC GoToMyPC is the fast, easy and secure way to access your computer from any Web browser or wireless device. Click here to Try it Free! https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
On 16 Nov 2003, at 20:43, Tim Harris wrote:> Isn''t this equivalent to > > (pf->flags & (PG_domain_mask != p->domain)) > > rather than > > ((pf->flags & PG_domain_mask) != p->domain) > > Cheers, > > TimIt should be: ((pf->flags & PG_domain_mask) != p->domain) Thanks, Tim. Bin ------------------------------------------------------- This SF. Net email is sponsored by: GoToMyPC GoToMyPC is the fast, easy and secure way to access your computer from any Web browser or wireless device. Click here to Try it Free! https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel