Robin van Leeuwen
2005-Sep-27 13:43 UTC
[Xen-users] Memory and other settings for xen server, help needed....
Hi all, i have a question. I''m going to setup a Xen server for a client. It''s going to serve about 25 clients. It''s a Athlon 64 3200+, which currently runs Debian i386-stable and xen 2.0.7 until Xen 3.0 is stable enough, and then i''m gonna replace it with Debian amd64-stable and Xen 3.0. The Xen dom''s consists of: Samba , file printer sharing most active all 25 users all the time network io is a lot. Mail 25 users, + webmail + clamav + spamassassin + amavis Proxy squid + squidguard + willowbark (uvscan, which cooperates with the www who does the actual scanning) WWW www server for about 25 concurrent users, who access the some of the samba files. Not very IO heavy but some disk IO is involved. dom0 Full spec''s at bottom: The server is a (overkill but it''s going to last at least 5 to 7 years) : AMD athlon 64 3200+ 2 G internal DDR 400 Mhz Sata drive (hdparm -Tt gives 1549/65.33 mb/sec) radeon 9600 don''t know how much mem, but who care''s it won''t be running X Marvell Yukon Gigabit Lan onboard. How should i divide the memory for the dom''s , what about swap? i was thinking: DOM MEM SWAP dom0 512 750 samba 768 250 www 256 100 proxy 256 100 mail 256 100 Any other suggestions are welcome.... any other info needed? any tuning tips? kind regards and thanks in advcance. ------------- full specs: lspci 0000:00:00.0 Host bridge: nVidia Corporation: Unknown device 00e1 (rev a1) 0000:00:01.0 ISA bridge: nVidia Corporation: Unknown device 00e0 (rev a2) 0000:00:01.1 SMBus: nVidia Corporation: Unknown device 00e4 (rev a1) 0000:00:02.0 USB Controller: nVidia Corporation: Unknown device 00e7 (rev a1) 0000:00:02.1 USB Controller: nVidia Corporation: Unknown device 00e7 (rev a1) 0000:00:02.2 USB Controller: nVidia Corporation: Unknown device 00e8 (rev a2) 0000:00:06.0 Multimedia audio controller: nVidia Corporation: Unknown device 00ea (rev a1) 0000:00:08.0 IDE interface: nVidia Corporation: Unknown device 00e5 (rev a2) 0000:00:0a.0 IDE interface: nVidia Corporation: Unknown device 00e3 (rev a2) 0000:00:0b.0 PCI bridge: nVidia Corporation: Unknown device 00e2 (rev a2) 0000:00:0e.0 PCI bridge: nVidia Corporation: Unknown device 00ed (rev a2) 0000:00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge 0000:00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge 0000:00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge 0000:00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge 0000:01:00.0 VGA compatible controller: ATI Technologies Inc RV350 AP [Radeon 9600] 0000:01:00.1 Display controller: ATI Technologies Inc RV350 AP [Radeon 9600] (Secondary) 0000:02:0a.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10) 0000:02:0b.0 Ethernet controller: Marvell Technology Group Ltd. Yukon Gigabit Ethernet 10/100/1000Base-T Adapter (rev 13) cat /proc/cpuinfo processor : 0 vendor_id : AuthenticAMD cpu family : 15 model : 47 model name : AMD Athlon(tm) 64 Processor 3200+ stepping : 0 cpu MHz : 2009.785 cache size : 512 KB fdiv_bug : no hlt_bug : yes f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu tsc msr pae mce cx8 apic mtrr mca cmov pat pse36 clflush mmx fxsr sse sse2 pni syscall nx mmxext fxsr_opt lm 3dnowext 3dnow pni bogomips : 4010.80 -- ----------------- Robin van Leeuwen RLD Software - ICT Services email: rvl@rldsoftware.nl _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Robin van Leeuwen
2005-Sep-27 13:48 UTC
Re: [Xen-users] Memory and other settings for xen server, help needed....
I forgot to mention: the 0000:02:0a.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10) you see in the list is for installation purposes only. It''s going to be replaced by a gigbit nic connected with a crosslink to a HA failover server running the same Xen setup. Robin van Leeuwen wrote:> Hi all, > <snip> > full specs: > lspci > <snip>> 0000:01:00.0 VGA compatible controller: ATI Technologies Inc RV350 AP > [Radeon 9600] > 0000:01:00.1 Display controller: ATI Technologies Inc RV350 AP [Radeon > 9600] (Secondary) > 0000:02:0a.0 Ethernet controller: Realtek Semiconductor Co., Ltd. > RTL-8139/8139C/8139C+ (rev 10) > 0000:02:0b.0 Ethernet controller: Marvell Technology Group Ltd. Yukon > Gigabit Ethernet 10/100/1000Base-T Adapter (rev 13)<snip> -- ----------------- Robin van Leeuwen RLD Software - ICT Services email: rvl@rldsoftware.nl _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Robin van Leeuwen
2005-Sep-27 13:51 UTC
Re: [Xen-users] Memory and other settings for xen server, help needed....
Sorry again. I will think twice before i post next time. The domu''s are going to run on LVM devices (ext3) as do the swap spaces for the dom''u''s dom0 has is own ext3 partition (no LVM) and his own swap space (no LVM again). Should i change this? Robin van Leeuwen wrote:> I forgot to mention: > > the > > 0000:02:0a.0 Ethernet controller: Realtek Semiconductor Co., Ltd. > RTL-8139/8139C/8139C+ (rev 10) > > you see in the list is for installation purposes only. It''s going to > be replaced by a gigbit nic > connected with a crosslink to a HA failover server running the same > Xen setup. > > Robin van Leeuwen wrote: > >> Hi all, >> <snip> >> full specs: >> lspci >> <snip> > > >> 0000:01:00.0 VGA compatible controller: ATI Technologies Inc RV350 AP >> [Radeon 9600] >> 0000:01:00.1 Display controller: ATI Technologies Inc RV350 AP >> [Radeon 9600] (Secondary) >> 0000:02:0a.0 Ethernet controller: Realtek Semiconductor Co., Ltd. >> RTL-8139/8139C/8139C+ (rev 10) >> 0000:02:0b.0 Ethernet controller: Marvell Technology Group Ltd. Yukon >> Gigabit Ethernet 10/100/1000Base-T Adapter (rev 13) > > > <snip> >-- ----------------- Robin van Leeuwen RLD Software - ICT Services email: rvl@rldsoftware.nl _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Robin van Leeuwen
2005-Sep-27 13:56 UTC
[Xen-users] Re: Memory and other settings for xen server, help needed....
The MB is: K8 Triton GA-K8NS-939: nVidia nForce3 chipset 1x8speed AGP 5 pci slots usb 2.0 Sata Raid controller : Nvidia nForce3 Ultra up to 150MB Sec, raid 0 and 1 , but only one disk installed. No problems whatsoever with the sata, all brand new computers. there is only one disk installed, since i have a HA failover cluster with an extract replica machine standing on another side of the building. koxman wrote:>Hello > >Please can you bee more specific about your hw - what motherboard do you use? >Have you had any problems with sata? >Do you have own Dom0 kernel compiled? > >Thanks > >koxman > >On 9/27/05, Robin van Leeuwen <rvl@rldsoftware.nl> wrote: > > >>Hi all, >> >>i have a question. I''m going to setup a Xen server for a client. >>It''s going to serve about 25 clients. >> >>It''s a Athlon 64 3200+, which currently runs Debian i386-stable and xen >>2.0.7 >>until Xen 3.0 is stable enough, and then i''m gonna replace it with >>Debian amd64-stable and Xen 3.0. >> >>The Xen dom''s consists of: >> >>Samba , file printer sharing most active all 25 users all the time >> network io is a lot. >>Mail 25 users, + webmail + clamav + spamassassin + amavis >>Proxy squid + squidguard + willowbark (uvscan, which cooperates with >>the www >> who does the actual scanning) >>WWW www server for about 25 concurrent users, who access the some of the >> samba files. Not very IO heavy but some disk IO is involved. >>dom0 >> >>Full spec''s at bottom: >> >>The server is a (overkill but it''s going to last at least 5 to 7 years) : >>AMD athlon 64 3200+ >>2 G internal DDR 400 Mhz >>Sata drive (hdparm -Tt gives 1549/65.33 mb/sec) >>radeon 9600 don''t know how much mem, but who care''s it won''t be running X >>Marvell Yukon Gigabit Lan onboard. >> >>How should i divide the memory for the dom''s , what about swap? >>i was thinking: >> >>DOM MEM SWAP >>dom0 512 750 >>samba 768 250 >>www 256 100 >>proxy 256 100 >>mail 256 100 >> >>Any other suggestions are welcome.... >>any other info needed? >>any tuning tips? >> >>kind regards and thanks in advcance. >> >>------------- >> >>full specs: >> >>lspci >>0000:00:00.0 Host bridge: nVidia Corporation: Unknown device 00e1 (rev a1) >>0000:00:01.0 ISA bridge: nVidia Corporation: Unknown device 00e0 (rev a2) >>0000:00:01.1 SMBus: nVidia Corporation: Unknown device 00e4 (rev a1) >>0000:00:02.0 USB Controller: nVidia Corporation: Unknown device 00e7 >>(rev a1) >>0000:00:02.1 USB Controller: nVidia Corporation: Unknown device 00e7 >>(rev a1) >>0000:00:02.2 USB Controller: nVidia Corporation: Unknown device 00e8 >>(rev a2) >>0000:00:06.0 Multimedia audio controller: nVidia Corporation: Unknown >>device 00ea (rev a1) >>0000:00:08.0 IDE interface: nVidia Corporation: Unknown device 00e5 (rev >>a2) >>0000:00:0a.0 IDE interface: nVidia Corporation: Unknown device 00e3 (rev >>a2) >>0000:00:0b.0 PCI bridge: nVidia Corporation: Unknown device 00e2 (rev a2) >>0000:00:0e.0 PCI bridge: nVidia Corporation: Unknown device 00ed (rev a2) >>0000:00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge >>0000:00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge >>0000:00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge >>0000:00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge >>0000:01:00.0 VGA compatible controller: ATI Technologies Inc RV350 AP >>[Radeon 9600] >>0000:01:00.1 Display controller: ATI Technologies Inc RV350 AP [Radeon >>9600] (Secondary) >>0000:02:0a.0 Ethernet controller: Realtek Semiconductor Co., Ltd. >>RTL-8139/8139C/8139C+ (rev 10) >>0000:02:0b.0 Ethernet controller: Marvell Technology Group Ltd. Yukon >>Gigabit Ethernet 10/100/1000Base-T Adapter (rev 13) >> >>cat /proc/cpuinfo >>processor : 0 >>vendor_id : AuthenticAMD >>cpu family : 15 >>model : 47 >>model name : AMD Athlon(tm) 64 Processor 3200+ >>stepping : 0 >>cpu MHz : 2009.785 >>cache size : 512 KB >>fdiv_bug : no >>hlt_bug : yes >>f00f_bug : no >>coma_bug : no >>fpu : yes >>fpu_exception : yes >>cpuid level : 1 >>wp : yes >>flags : fpu tsc msr pae mce cx8 apic mtrr mca cmov pat pse36 >>clflush mmx fxsr sse sse2 pni syscall nx mmxext fxsr_opt lm 3dnowext >>3dnow pni >>bogomips : 4010.80 >> >> >> >>-- >> >>----------------- >>Robin van Leeuwen >> >>RLD Software - ICT Services >>email: rvl@rldsoftware.nl >> >> >>_______________________________________________ >>Xen-users mailing list >>Xen-users@lists.xensource.com >>http://lists.xensource.com/xen-users >> >> >>-- ----------------- Robin van Leeuwen RLD Software - ICT Services email: rvl@rldsoftware.nl _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Ernst Bachmann
2005-Sep-27 14:21 UTC
Re: [Xen-users] Memory and other settings for xen server, help needed....
On Tuesday 27 September 2005 15:43, Robin van Leeuwen wrote:> Hi all, > > i have a question. I''m going to setup a Xen server for a client. > It''s going to serve about 25 clients. > > It''s a Athlon 64 3200+, which currently runs Debian i386-stable and xen > 2.0.7 > until Xen 3.0 is stable enough, and then i''m gonna replace it with > Debian amd64-stable and Xen 3.0. > > The Xen dom''s consists of: > > Samba , file printer sharing most active all 25 users all the time > network io is a lot. > Mail 25 users, + webmail + clamav + spamassassin + amavis > Proxy squid + squidguard + willowbark (uvscan, which cooperates with > the www > who does the actual scanning) > WWW www server for about 25 concurrent users, who access the some of the > samba files. Not very IO heavy but some disk IO is involved. > dom0First thing I''d test here would be if you can get a reliable, high throughput network connection to the domU supposed to run samba. From my experience with xen-2, I wouldn''t run network intense apps in domU. Haven''t tested samba, but a nfs-server inside domU was nearly unusable. Next thing: the www server is going to access the same files that are shared by samba? How did you plan to share that filesystem between the two domUs? smb-mount it inside the WWW domU? Might be ok if there''s only little load on it, otherwise merge the two domains (would also make it easier if your www app should share authentication data with samba). Another thing you might want to consider: sharing your files from domU wastes quite some memory, as they''ll be cached twice: the dom0 caches the blockdevice, and domU caches it again.> Full spec''s at bottom: > > The server is a (overkill but it''s going to last at least 5 to 7 years) : > AMD athlon 64 3200+ > 2 G internal DDR 400 Mhz > Sata drive (hdparm -Tt gives 1549/65.33 mb/sec) > radeon 9600 don''t know how much mem, but who care''s it won''t be running X > Marvell Yukon Gigabit Lan onboard. > > How should i divide the memory for the dom''s , what about swap? > i was thinking: > > DOM MEM SWAP > dom0 512 750 > samba 768 250 > www 256 100 > proxy 256 100 > mail 256 100 >Well, the swapspaces here are quite low, and maybe too much memory for dom0, if it does nothing else than manage the domUs. Maybe give each domain at least 512MB Swap.> Any other suggestions are welcome.... > any other info needed? > any tuning tips? > > kind regards and thanks in advcance.with xen-2, I''d run the setup as follows: dom0 1GB Ram, 2GB SWAP, running samba and www proxy 512MB, 1GB Swap mail 512MB, 1GB Swap. If you can get reliable networking, maybe: dom0 256MB, 512MB swap samba 1GB/2GB (samba+www) rest divided among mail and proxy /Ernst _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Dominique Rousseau
2005-Sep-27 14:22 UTC
Re: [Xen-users] Memory and other settings for xen server, help needed....
Le Tue, Sep 27, 2005 at 03:43:01PM +0200, Robin van Leeuwen [rvl@rldsoftware.nl] a écrit:> How should i divide the memory for the dom''s , what about swap? > i was thinking: > > DOM MEM SWAP > dom0 512 750 > samba 768 250 > www 256 100 > proxy 256 100 > mail 256 100128M for dom0 should be large enough And the "mail" part may need a bit more, if you put some antispam/... on it I usually set at least swap=mem (often swap=2*mem), for all, disk is cheap. Dom -- Dominique Rousseau Neuronnexion, Prestataire Internet & Intranet 57, route de Paris 80000 Amiens tel: 03 22 71 61 90 - fax: 03 22 71 61 99 - http://www.neuronnexion.fr _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Robin van Leeuwen
2005-Sep-27 16:23 UTC
Re: [Xen-users] Memory and other settings for xen server, help needed....
With regard to questions on xen-dev about memory and disk, i saw the following advert: http://www.hyperossystems.co.uk/07042003/products.htm#hyperosHDIIproduct in short it''s a 5 1/4" bay you can put in RAM dimms and use them as a harddrive. It has reboot-memory and 160-minutes-power-off memory. They advert it at 80x faster than harddisk so, as swap space, or tmp-space on domU (proxy-cache, mail/spam/virus handling etc etc etc) it would be maybe worth the investment. What do you guys think? ------------------------------------------------ Costs: It costs Euro 290 ($380) incl. tax. , which is deductable for companies here. (19%) Euro 243 = $320 ram per GB (400Mhz) sells here at: E90 = $108 (exl tax: E75/$90). So you would need 1 or 2 gig''s which brings the total price to: 1G ) E 380 / $ 456 E 319 / $ 383 (ex tax) 2 G ) E 470 / $ 564 E 395 / $ 474 -- ----------------- Robin van Leeuwen RLD Software - ICT Services email: rvl@rldsoftware.nl -- ----------------- Robin van Leeuwen RLD Software - ICT Services email: rvl@rldsoftware.nl _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users