I installed two Debian web server which run a phpbb3 forum. One stays on a Xen paravirtualized domU (512 MB of ram, 1 vcpu, disc on a raw file file:/home/vale/debian.img,hda,w) on OpenSuse 11.0 and one run on a hyper-v virtual machine (512 MB 1 cpu) build on Windows Server 2008 R2. The performances on PV are very poor than hyper-v. ab -n 3000 -k -c50 http://site.lan/phpBB3/ returns 13,22 req/sec on PV domU and 38,37 req/sec on hyper-v. Why? I installed O.S. guest as a HVM domain, then I installed linux-xen-image files and I use them for vmlinuz and initrd. I also installed libc6-xen. Xen PV config file: name=''pv'' ramdisk=''/home/vale/initrd.img-2.6.18-6-xen-686'' kernel=''/home/vale/vmlinuz-2.6.18-6-xen-686'' bootloader='''' vif=[''mac=00:16:3e:33:37:4f, bridge=xenbr0''] vcpus=1 memory=512 disk=[''file:/home/vale/pv.img,hda,w''] on_reboot=''restart'' on_crash=''restart'' extra='''' root=''/dev/hda1'' platform=''xen'' Thanks Chiacchiera con i tuoi amici in tempo reale! http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fajar A. Nugraha
2009-Feb-15 12:51 UTC
Re: [Xen-users] Better a Debian Xen PV or a Debian Hyper-V VM?
On Thu, Feb 12, 2009 at 9:49 PM, Heli <helicoterus-elih@yahoo.it> wrote:> I installed two Debian web server which run a phpbb3 forum. One stays on > a Xen paravirtualized domU (512 MB of ram, 1 vcpu, disc on a raw file > file:/home/vale/debian.img,hda,w) on OpenSuse 11.0 and one run on a > hyper-v virtual machine (512 MB 1 cpu) build on Windows Server 2008 R2. > The performances on PV are very poor than hyper-v. > ab -n 3000 -k -c50 http://site.lan/phpBB3/ > returns 13,22 req/sec on PV domU and 38,37 req/sec on hyper-v. > > Why?I''m assuming that phpBB3 is relatively I/O intensive (since it uses db, which I assume you also installed on the same host). In that case, your bad numbers are probably because of this disk=[''file:/home/vale/pv.img,hda,w''] On Xen, file:/ is not recommended, and you should use tap:aio:/ instead for file-backed storage. Then again, another user reported that even tap:aio isn''t good enough http://lists.xensource.com/archives/html/xen-users/2009-01/msg00820.html So in short, if you use Xen PV, you might want to consider using LVM/partition-backed storage. Regards, Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users