Hi everybody, I''m very interested in some features promised in xen 3.4. One of them is the support for PV USB. So, I''ve installed/compiled/installed a xen 3.4 (testing) hypervisor and then I''ve launched a PV domU (using pygrub). But all my google searches were useless to find any piece of info on how to enable and test this functionnality. Is this really implemented? If yes, has somebody ever succeeded to use it. Basically, I''d like to boot my domU then plug a USB stick and mount it on domU. If I understand well, this should not need any passthrough operation. So I imagine that a specific line must be added on domU''s configuration file. Any help appreciated! Have a nice day. Jérémie _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com lists.xensource.com/xen-users
Hello: I have situation with xen 3.2.1 kernel 2.6.26-2 where when I shutdown a VM neither the OS or dom0 sees the free''d memory. I''ve searched around and dont see anything related. Am I missing some config option or something? my /etc/xen/xend-config.sxp is set to (dom0-min-mem 196) Regards, John Calderon IODA, Sr Systems Admin 539 Bryant Street, Suite 303 San Francisco, CA 94107 office: 415.375.3250 jcalderon@iodalliance.com iodalliance.com This message contains information which may be confidential and privileged. Unless you are the addressee (or authorized to receive for the addressee), you may not use, copy or disclose to anyone the message or any information contained in the message. If you have received the message in error, please advise the sender by reply e-mail and delete the message, thank you. jer jer wrote:> Hi everybody, > > I''m very interested in some features promised in xen 3.4. > One of them is the support for PV USB. > > So, I''ve installed/compiled/installed a xen 3.4 (testing) hypervisor > and then I''ve launched a PV domU (using pygrub). > But all my google searches were useless to find any piece of info on > how to enable and test this functionnality. > > Is this really implemented? If yes, has somebody ever succeeded to use it. > > Basically, I''d like to boot my domU then plug a USB stick and mount it > on domU. > > If I understand well, this should not need any passthrough operation. > So I imagine that a specific line must be added on domU''s > configuration file. > > > Any help appreciated! > > Have a nice day. > > Jérémie > ------------------------------------------------------------------------ > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com lists.xensource.com/xen-users
> -----Original Message----- > From: xen-users-bounces@lists.xensource.com [mailto:xen-users- > bounces@lists.xensource.com] On Behalf Of John Calderon > Sent: Friday, 10 July 2009 10:52 > Cc: xen-users@lists.xensource.com > Subject: [Xen-users] xen dom0 not reclaiming free''d memory > > Hello: > > I have situation with xen 3.2.1 kernel 2.6.26-2 where when I shutdowna VM> neither the OS or dom0 sees the free''d memory. > > I''ve searched around and dont see anything related. Am I missing someconfig> option or something? my /etc/xen/xend-config.sxp is set to > (dom0-min-mem 196) >Do you set dom0 cpu''s in your config? There was bug to do with this a while back James _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com lists.xensource.com/xen-users
Can you try testing your hypothesis? Try starting a large process (say a JVM) on your Dom0 and then finish it. Do you see freed memory? If you don''t it means that your mental model of the Linux memory model is oversimplified. When a Linux process ends some of it''s pages will have been shared and will remain in use, other memory will be used for the buffer cache. I''m not sure whether Linux has an equivalent to the solaris free list where freed pages will remain intact as a performance optimization in case they are needed again . Regardless, memory allocation is a subtle, complex, misunderstood, nonintuitive, nonlinear craft. Sent from my iPhone On Jul 9, 2009, at 8:51 PM, John Calderon <jcalderon@iodalliance.com> wrote:> Hello: > > I have situation with xen 3.2.1 kernel 2.6.26-2 where when I > shutdown a VM neither the OS or dom0 sees the free''d memory. > > I''ve searched around and dont see anything related. Am I missing > some config option or something? my /etc/xen/xend-config.sxp is set to > (dom0-min-mem 196) > > > > Regards, > > John Calderon > IODA, Sr Systems Admin > 539 Bryant Street, Suite 303 > San Francisco, CA 94107 > office: 415.375.3250 > jcalderon@iodalliance.com > iodalliance.com > > > > This message contains information which may be confidential and > privileged. Unless you are the addressee (or authorized to receive > for the addressee), you may not use, copy or disclose to anyone the > message or any information contained in the message. If you have > received the message in error, please advise the sender by reply e- > mail and delete the message, thank you. > > > jer jer wrote: >> >> Hi everybody, >> >> I''m very interested in some features promised in xen 3.4. >> One of them is the support for PV USB. >> >> So, I''ve installed/compiled/installed a xen 3.4 (testing) >> hypervisor and then I''ve launched a PV domU (using pygrub). >> But all my google searches were useless to find any piece of info >> on how to enable and test this functionnality. >> >> Is this really implemented? If yes, has somebody ever succeeded to >> use it. >> >> Basically, I''d like to boot my domU then plug a USB stick and mount >> it on domU. >> >> If I understand well, this should not need any passthrough >> operation. So I imagine that a specific line must be added on >> domU''s configuration file. >> >> >> Any help appreciated! >> >> Have a nice day. >> >> Jérémie >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> lists.xensource.com/xen-users > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com lists.xensource.com/xen-users
Fajar A. Nugraha
2009-Jul-10 03:07 UTC
Re: [Xen-users] xen dom0 not reclaiming free''d memory
On Fri, Jul 10, 2009 at 7:51 AM, John Calderon<jcalderon@iodalliance.com> wrote:> Hello: > > I have situation with xen 3.2.1 kernel 2.6.26-2 where when I shutdown a VM > neither the OS or dom0 sees the free''d memory.How did you determine this? xm list and xm info? _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com lists.xensource.com/xen-users