Skip to contentSkip to conversation

Direct I/O to domU seeing a 30% performance hit

DISCUSSION John Byrne 3 participants 3 messages Nov 7, 2006

lore
Share & tools
lore

John Byrne

author
#0 lore raw

I was asked to test direct I/O to a PV domU. Since, I had a system with two NICs, I gave one to a domU and one dom0. (Each is running the same kernel: xen 3.0.3 x86_64.)

I'm running netperf from an outside system to the domU and dom0 and I am seeing 30% less throughput for the domU vs dom0.

Is this to be expected? If so, why? If not, does anyone have a guess as to what I might be doing wrong or what the issue might be?

Thanks,

John Byrne

#1 lore raw
Quoted 1 line

I was asked to test direct I/O to a PV domU. Since, I had a system

with

Quoted 4 lines

two NICs, I gave one to a domU and one dom0. (Each is running the same
kernel: xen 3.0.3 x86_64.)

I'm running netperf from an outside system to the domU and dom0 and I

am

Quoted 1 line

seeing 30% less throughput for the domU vs dom0.

That doesn't make sense -- they should be identical. Is there other stuff going on in the system that could be taking CPU time away from the domU?

Ian

Quoted 1 line

Is this to be expected? If so, why? If not, does anyone have a guess

as

Quoted 15 lines

to what I might be doing wrong or what the issue might be?

Thanks,

John Byrne

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#2 lore raw
In reply to John Byrne

There have been a couple of network receive throughput performance regressions to domUs over time that were subsequently fixed. I think one may have crept in to 3.0.3.

Are you seeing any dropped packets on the vif associated with your domU in your dom0? If so, propagating changeset 11861 from unstable may help:

changeset:   11861:637eace6d5c6
user:        [email protected]
date:        Mon Oct 23 11:20:37 2006 +0100
summary:     [NET] back: Fix packet queuing so that packets are drained if the

In the past, we also had receive throughput issues to domUs that were due to socket buffer size logic but those were fixed a while ago.

Can you send netstat -i output from dom0?

Emmanuel.

Quoted 14 lines · John Byrne

I was asked to test direct I/O to a PV domU. Since, I had a system with two NICs, I gave one to a domU and one dom0. (Each is running the same
kernel: xen 3.0.3 x86_64.)

I'm running netperf from an outside system to the domU and dom0 and I am seeing 30% less throughput for the domU vs dom0.

Is this to be expected? If so, why? If not, does anyone have a guess as to what I might be doing wrong or what the issue might be?

Thanks,

John Byrne