Skip to contentSkip to conversation

dom0 kernel v2.6.32.41 network problem

DISCUSSION Hui Kang 3 participants 3 messages Jul 15, 2011

lore
Share & tools
lore

Hui Kang

author
#0 lore raw

Hi,
I am running two hosts with xen-4.0.1 and dom0 kernel 2.6.32.41. The two hosts are connected to a Gigbit switch. Then I use iperf to measure the bandwidth and got the results of 200Mbit/second, which is only 1/5 of the available bandwidth. Then I boot these two hosts using a vanilla kernel of 2.6.32.34. The iperf reports 937Mbis/s, which is very close to the available link bandwidth.
So why the pvops dom0 kernel performs so bad? Does anyone observe similar problem? Thanks.

- Hui

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

#1 lore raw
Quoted 4 lines · Hui Kang

Hi,
I am running two hosts with xen-4.0.1 and dom0 kernel 2.6.32.41. The two hosts are connected to a Gigbit switch. Then I use iperf to measure the bandwidth and got the results of 200Mbit/second, which is only 1/5 of the available bandwidth. Then I boot these two hosts using a vanilla kernel of 2.6.32.34. The iperf reports 937Mbis/s, which is very close to the available link bandwidth.
So why the pvops dom0 kernel performs so bad? Does anyone observe similar problem? Thanks.

Weird. No idea - I get around 911Mb/s with my dom0 - which is 3.0.0-rc7. Do you have some debug options turned on?

Quoted 7 lines

- Hui

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

#2 lore raw
Quoted 5 lines · Konrad Rzeszutek Wilk
Quoted 4 lines · Hui Kang

Hi,
I am running two hosts with xen-4.0.1 and dom0 kernel 2.6.32.41. The two hosts are connected to a Gigbit switch. Then I use iperf to measure the bandwidth and got the results of 200Mbit/second, which is only 1/5 of the available bandwidth. Then I boot these two hosts using a vanilla kernel of 2.6.32.34. The iperf reports 937Mbis/s, which is very close to the available link bandwidth.
So why the pvops dom0 kernel performs so bad? Does anyone observe similar problem? Thanks.

It is definitely worth checking that you don't have any debug options enabled in your kernel .config. Some of those options are far more expensive under Xen than native. (unfortunately I'm drawing a blank on precisely which options we've seen this with right now, anything to do with debugging page allocations etc would be a good bet).

Ian.