Skip to contentSkip to conversation

File System Performance - 10x slower

DISCUSSION Nauzad Sadry 2 participants 2 messages Jan 11, 2005

lore
Share & tools
lore
#0 lore raw

Hello all

I am evaluating File I/O performance using Xen & comparing it with baseline (Fedora Core 3, with 2.6.9 kernel).

Here are the commands that I use for I/O

write I/O:  dd if=/dev/zero of=file1 bs=4K count=256K
read I/O:  dd of=/dev/null if=file1 bs=4K count=256K

Here are some numbers (all test results are reported in MB/second)

Read I/O
- Baseline Fedora Core 3 - 32
- XEN domain 0 - 9.3
- XEN domain 1 - 2.3

Write I/O
- Baseline Fedora Core 3 - 22
- XEN domain 0 - 9.8
- XEN domain 1 - 2.5

- Dom0 (without starting xend) results in 2x slower performance
- DomU results in 9-10x slower performance

I get similar results for domain-1 using both File-based & LVM-based VBD

Can someone why I am getting such huge difference in performance compared to baseline ??

Thanks

Nauzad

-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt

#1 lore raw
Quoted 4 lines

I am evaluating File I/O performance using Xen & comparing it with baseline (Fedora Core 3, with 2.6.9 kernel).

[snip poor I/O results]

Quoted 3 lines

Can someone why I am getting such huge difference in performance compared to baseline ??

What version of Xen are you using? 2.0.x [preferably 2.0.3]?

Did you move /lib/tls out of the way on the various root filesystems?

I ask since it should be almost *impossible* to get anything more than a very small % slowdown on disk I/O unless things are very broken -- most of our benchmarks to date show 0% slowdown (and in some cases involving domU, a speedup due to additional buffering).

Can you post the output of Xen / dom0 / domU booting, and your configuration files?

cheers,

S.

-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt