Skip to contentSkip to conversation

Xen Performance

Xen-users Fasiha Ashraf 2 participants 2 messages Oct 13, 2009 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

I am facing the same issue. Bridging (the default mode) is better and
simple way for network set-up. But the strange thing in my case
is i don't find this virbro while running ifconfig in my dom0. instead
i have peth0 acting as vif for dom0.
Is there any issue with
building xen with pv kernel, while using FC11 platform where
virtualization is enabled? since i compiled and build xen using a
platform where i have enabled virtualization at fc11 installation time.
McWilliams! i have tested domU <-> domU throughput using netperf-2.4.5 and got a throughput of 0.29Mbps. that is no doubt very poor. Marco observe the same throughput in this case and identified that its because Netperf use setitimer() to send packets at fixed rate. Sending packets at fixed rate is the cause of this poor throughput. I dont know yet how to improve it?

Regards,
Fasiha Ashraf

--- On Tue, 13/10/09, Grant McWilliams <[email protected]> wrote:

From: Grant McWilliams <[email protected]>
Subject: Re: [Xen-users] Xen Performance
To: "Fajar A. Nugraha" <[email protected]>
Cc: "Igor S. Pelykh" <[email protected]>, [email protected]
Date: Tuesday, 13 October, 2009, 7:17 AM

On Mon, Oct 12, 2009 at 7:00 PM, Fajar A. Nugraha <[email protected]> wrote:

Quoted 9 lines · Igor S. Pelykh

Hello xen-users,

How can I to increase performance of network layer?

And what is better (easy) for topology of DomU network (bridge, route,

NAT )?

IMHO for network setup it's easier to use bridge. That you manage your

dom0 (network-wise) the same way you manage your L2 or L3 switch. When

you need NAT, you can use bridge + NAT (which is what libvirt does

with virbr0).

Performance-wise, I didn't have to do any tweaking with RHEL5. domU

can easily saturate uplink, with domU <-> domU throughput in the range

of 2-3 Gbps. Some people have reported problems (search the list

archive) with recent pv_ops dom0 kernel.

--

Fajar

Fajar,
   Are you sure about your DomU to DomU speeds? What methodology did you use to test this? I've done extensive testing in this area and I've never seen any numbers that can come near that with or without

a pv_ops kernel.

Grant McWilliams

-----Inline Attachment Follows-----

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

Try the new Yahoo! India Homepage. Click here. http://in.yahoo.com/trynew

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

#2 lore raw
Quoted 14 lines · Fasiha Ashraf

I am facing the same issue. Bridging (the default mode) is better and
simple way for network set-up. But the strange thing in my case is i don't find this virbro while running ifconfig in my dom0. instead i have peth0 acting as vif for dom0.
Is there any issue with building xen with pv kernel, while using FC11 platform where virtualization is enabled? since i compiled and build xen using a platform where i have enabled virtualization at fc11 installation time.
McWilliams! i have tested domU <-> domU throughput using netperf-2.4.5 and got a throughput of 0.29Mbps. that is no doubt very poor. Marco observe the same throughput in this case and identified that its because Netperf use setitimer() to send packets at fixed rate. Sending packets at fixed rate is the cause of this poor throughput. I dont know yet how to improve it?

Quoted 3 lines

Regards,
Fasiha Ashraf

It isn't just tests like netperf... If you copy a file via rcp from DomU to Dom0 you will get two times the performance as from DomU to DomU. That's why i was wondering abotu his testing methodology. If you assign a nic to each DomU so the traffic leaves the physical machine, goes through a switch and comes back it's faster than DomU to DomU. There's been long discussions as to why. I've not re-run my tests with 3.4.1 so I don't know if that was fixed.

Grant McWilliams

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