May be someone could point me to optimal xm configuration file setting for Dell Power Edge 2950,2G RAM,One Quad CPU 2.0Ghz I need to run SBS 2003 Windows Server as a guest. I already installed it,but it appears very slow.... I mean may be there are some special good practices for low RAM machines. Thanks a lot. -- This message posted from opensolaris.org
On Fri, Dec 18, 2009 at 2:30 PM, Alxen4 <yuri@cmsintegra.com> wrote:> May be someone could point me to optimal xm configuration file setting for > Dell Power Edge 2950,2G RAM,One Quad CPU 2.0Ghz > > I need to run SBS 2003 Windows Server as a guest. > > I already installed it,but it appears very slow.... > > I mean may be there are some special good practices for low RAM machines.If you''re using to run just ONE windows domU, then it''d be a lot easier to install Windows directly on the hardware :) Other than that: - make sure you install GPLPV on Windows domU - limit dom0 memory at boot time to around 500MB. That would leave about 1.5GB for domUs. -- Fajar
Thanks Fajar, Could you please give me some details regarding how to limit dom0 memory at boot time. I''m a bit of newbie in Solaris world :) Thanks. -- This message posted from opensolaris.org
On Fri, Dec 18, 2009 at 10:41 PM, Alxen4 <yuri@cmsintegra.com> wrote:> Thanks Fajar, > Could you please give me some details regarding how to limit dom0 memory at boot time. I''m a bit of newbie in Solaris world :)(I got the lists mixed up, sorry :P) You should be able to limit dom0 memory by editing grub.conf and add dom0_mem=1GB (or whatever ammount of memory you choose) to xen.gz line. I''m not sure how much memory an opensolaris dom0 should have at minimum, so you can try at 1GB, and reduce it gradually. 384 MB is safe for Linux, but opensolaris needs more. Note that this does not directly affects domU speed though. It would probably only get you several extra MB for domU, plus reduce (by a little) the time needed to startup domU (since dom0 wouldn''t need to balloon-down memory). As for PV drivers, they should improve performance greatly. However to tell the truth I haven''t had the chance to try out GPLPV with opensolaris dom0 in a long time. Last time I test, networking was broken. You should either try GPLPV (http://meadowcourt.org/downloads/), or Sun''s own PV drivers (don''t have the link handy though). -- Fajar
Thanks.I will try that. -- This message posted from opensolaris.org
Penny.Cotten@Sun.COM
2009-Dec-21 16:31 UTC
Re: please advice on Low RAM Xvm host optimization
For Sun''s PV drivers, see: Guests That Are Known to Work http://docs.sun.com/app/docs/doc/819-2450/geyyr?a=view Links to PV drivers are under Notes in the table. This guide is being updated, but this section is accurate for obtaining PV driver info. - Penny On 12/18/09 12:42, Fajar A. Nugraha wrote:> On Fri, Dec 18, 2009 at 10:41 PM, Alxen4 <yuri@cmsintegra.com> wrote: >> Thanks Fajar, >> Could you please give me some details regarding how to limit dom0 memory at boot time. I''m a bit of newbie in Solaris world :) > > (I got the lists mixed up, sorry :P) > > You should be able to limit dom0 memory by editing grub.conf and add > dom0_mem=1GB (or whatever ammount of memory you choose) to xen.gz > line. I''m not sure how much memory an opensolaris dom0 should have at > minimum, so you can try at 1GB, and reduce it gradually. 384 MB is > safe for Linux, but opensolaris needs more. Note that this does not > directly affects domU speed though. It would probably only get you > several extra MB for domU, plus reduce (by a little) the time needed > to startup domU (since dom0 wouldn''t need to balloon-down memory). > > As for PV drivers, they should improve performance greatly. However to > tell the truth I haven''t had the chance to try out GPLPV with > opensolaris dom0 in a long time. Last time I test, networking was > broken. You should either try GPLPV > (http://meadowcourt.org/downloads/), or Sun''s own PV drivers (don''t > have the link handy though). >
Alxen4 wrote:> Thanks Fajar, > Could you please give me some details regarding how to limit dom0 memory at boot time. I''m a bit of newbie in Solaris world :) > > Thanks. >If you are running on zfs (zvol ?) zfs needs to be limited. I had the same problem with my 8GB ram home server and it''s much better after set zfs:zfs_arc_max = 0x40000000 # 1024K when I only use one W2008 server, vm with 2048K ram (xen config) , I also limit dom0 mem by adding to boot options : dom0_mem=6144 You have toi check that the settings are correct at boot by editing the grub menu option and correct it if applicable. Il the dom0 memory is too limited this can slow everything as well Bruno