Skip to contentSkip to conversation

performance problems

DISCUSSION Henning Glawe 4 participants 4 messages Jan 19, 2005

lore
Share & tools
lore
#0 lore raw

Moin,
I just did a quick comparison regarding speed of xen vs. vmware-workstation using a FAI installation test (FAI is a debian autoinstaller).

Test setup:
host "burns", athlon xp 2100+, 512MB, via chipset
- provides an nfsroot (on hda)
- second disk is partitioned into hdb1, hdb5, hdb6
- hdb5 and hdb6 are exported to vmware or xenU
- installation pumps 4.1G of software from a local debian mirror to hdb6 (seen as hda6 in xenU/vmware ws) using apt and configures the software
- assigned 192 M of Memory in both cases to the virtual machines
- burns is connected to the local debian mirror using a 1000 mbit NIC and a switch

xen setup:
- xen 2.0.3, kernel 2.6.10, dma support enabled
- the rest is an out-of-the-box-setup
- support scripts are installed to move /lib/tls out of the way (BTW:
wouldn't LD_ASSUME_KERNEL=2.4.10 have the same effect)
- The installation took 7509 seconds

vmware ws setup:
- locally configured kernel 2.6.9, dma enabled
- bridged networking
- booting from a virtual floppy drive
- accesses hdb{5,6} directly as hda{5,6}
- /lib/tls is left in-place
- The installation took 3068 seconds

Why takes the installation within Xen 7500 sec and in vmware ws 3000 sec ? I expected Xen to be faster because of the lower overhead...
What could cause this difference ?
Could the scheduling be responsible ?

Signature · 9 lines
c u
henning


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
#1 lore raw

well, that's interesting, I wonder if disk I/o performance had a hand in those results.

I ought to mention that full boot time for Plan 9 in xen is < 10 seconds.

ron

-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl

#2 lore raw
In reply to Henning Glawe
Quoted 4 lines · Henning Glawe

Moin,
I just did a quick comparison regarding speed of xen vs. vmware-workstation using a FAI installation test (FAI is a debian autoinstaller).

Quoted 10 lines

Test setup:
host "burns", athlon xp 2100+, 512MB, via chipset
- provides an nfsroot (on hda)
- second disk is partitioned into hdb1, hdb5, hdb6
- hdb5 and hdb6 are exported to vmware or xenU
- installation pumps 4.1G of software from a local debian mirror to hdb6 (seen as hda6 in xenU/vmware ws) using apt and configures the software
- assigned 192 M of Memory in both cases to the virtual machines
- burns is connected to the local debian mirror using a 1000 mbit NIC and a switch

I really don't know how this installation works, but just in case: Is it possible "burns" only pulls from the mirror the first time, and on subsequent installations it is cached? I am wondering if the first test (Xen) it had to pull data across the network, and on the second test (Vmware) already had the data cached on burns.

So far I haven't seem much degrade at all in the tests I have run (dbench3, SDET, kernel compiles). Actually I was quite surprised how well the VBD's IO performance was so far. The only "significant" degrade I have seen was SDET, around 12.5% lower than bare metal linux. I have not looked into network performance yet, but I think that'll be next on my list...

-Andrew Theurer

-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl

#3 lore raw
In reply to Henning Glawe
Quoted 9 lines · Henning Glawe

Moin,
I just did a quick comparison regarding speed of xen vs. vmware-workstation using a FAI installation test (FAI is a debian autoinstaller).

Test setup:
host "burns", athlon xp 2100+, 512MB, via chipset
- provides an nfsroot (on hda)
- second disk is partitioned into hdb1, hdb5, hdb6
- hdb5 and hdb6 are exported to vmware or xenU

Don't forget that hdd perfomance decreases as you reach the end of the disc, and it could have caused a noticeable performance hit.

Regards,
Luciano Rocha

Signature · 8 lines
1/16


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl