Skip to contentSkip to conversation

etherbridge bottleneck

DISCUSSION David Becker 2 participants 3 messages Nov 10, 2004 – Nov 11, 2004

lore
Share & tools
lore
#0 lore raw

I ran some iperf tests today and it looks like the etherbridge is the limiting factor on throughput. In the beforetime, I saw great
throughput to the VMs; over 800 Mbps. With the bridge, the numbers
are in the 400s somewhere.
Is this the speed I can expect from the bridge?
Is there some tuning I should try, or another way to get more bandwidth into the VMs?

This is with xen-2.0, 2.4.27-xen0 and 2.4.27-xenU.

My iperf numbers:

 940 Mbps  stock linux -> stock linux
 470 Mbps  stock linux -> xenU
 533 Mbps  xenU -> stock linux 

ether bridge speed

 533 Mbps  xenU -> xen0  on the same host
 422 Mbps  xen0 -> xenU  on the same host

loopback speed

 4.4 Gbps  stock linux 
 3.2 Gbps  xenU
 3.2 Gbps  xen0

(stock linux is 2.4.25)

-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click

#1 lore raw

Whenever you see a performance problem, please describe the following things:

(1) Is Xen running on a UP, SMP or HT?
(2) If Xen is running on a SMP or HT, are xen0 and xenU running different processors or threads?
(3) Which scheduler in Xen are you using? Have you changed any parameters?

- Bin

Quoted 27 lines · David Becker

I ran some iperf tests today and it looks like the etherbridge is the limiting factor on throughput. In the beforetime, I saw great
throughput to the VMs; over 800 Mbps. With the bridge, the numbers
are in the 400s somewhere.
Is this the speed I can expect from the bridge?
Is there some tuning I should try, or another way to get more bandwidth into the VMs?

This is with xen-2.0, 2.4.27-xen0 and 2.4.27-xenU.

My iperf numbers:

 940 Mbps  stock linux -> stock linux
 470 Mbps  stock linux -> xenU
 533 Mbps  xenU -> stock linux

ether bridge speed

 533 Mbps  xenU -> xen0  on the same host
 422 Mbps  xen0 -> xenU  on the same host

loopback speed

 4.4 Gbps  stock linux
 3.2 Gbps  xenU
 3.2 Gbps  xen0

(stock linux is 2.4.25)

Quoted 10 lines

-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xen-devel

-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click

#2 lore raw

" (1) Is Xen running on a UP, SMP or HT?

all of the above

" (2) If Xen is running on a SMP or HT, are xen0 and xenU running " different processors or threads?

xm list doesn't break out HT contexts, so who's to say..

" (3) Which scheduler in Xen are you using? Have you changed any parameters?

factory defaults.

Here is a full account of configs and iperf speeds between domains on an otherwise-idle host via the etherbridge, plus iperf speed over the loopback interface for each domain.

Uni-processor (PIII)
426 Mbps xenU UNI -> xen0 UNI
267 Mbps xen0 UNI -> xenU UNI
3.34 Gbps xen0 loopback
3.14 Gbps xenU loopback

xm list
Name Id Mem(MB) CPU State Time(s) Console
Domain-0 0 34 0 r---- 297.0
grant 2 499 0 -b--- 161.2 9602
xm info
system : Linux
host : rack099-xen
release : 2.4.27-xen0
version : #3 Wed Nov 10 11:29:37 EST 2004
machine : i686
cores : 1
hyperthreads_per_core : 1
cpu_mhz : 1396
memory : 2047
free_memory : 1485

slow Uni HT processor (P4 2.0GHz)
498 Mbps xenU HT1 -> xen0 HT0
369 Mbps xen0 HT0 -> xenU HT1
2.49 Gbps xen0 loopback
2.54 Gbps xenU loopback

xm list
Name Id Mem(MB) CPU State Time(s) Console
Domain-0 0 34 0 r---- 561.7
globus 1 799 1 -b--- 225.5 9601
xm info
system : Linux
host : rack160-xen
release : 2.4.27-xen0
version : #2 Thu Nov 4 15:57:19 EST 2004
machine : i686
cores : 1
hyperthreads_per_core : 2
cpu_mhz : 1993
memory : 1023
free_memory : 167

faster Dual HT processors (P4 2.6GHz)
645 Mbps xenU ctxt-1 -> xen0 ctxt-0
470 Mbps xen0 ctxt-0 -> xenU ctxt-1
782 Mbps xenU ctxt-2 -> xen0 ctxt-0
563 Mbps xen0 ctxt-0 -> xenU ctxt-2
747 Mbps xenU ctxt-1 -> xenU ctxt-2
691 Mbps xenU ctxt-2 -> xenU ctxt-1
3.34 Gbps xen0 ctxt-0 loopback
3.50 Gbps xenU ctxt-1 loopback
3.41 Gbps xenU ctxt-2 loopback

xm list
Name Id Mem(MB) CPU State Time(s) Console
Domain-0 0 34 0 r---- 1032.7
batch020 3 1999 1 -b--- 108571.9 9603
batch040 2 1799 2 r---- 154375.3 9602
xm info
system : Linux
host : rack276-xen
release : 2.4.27-xen0
version : #2 Thu Nov 4 15:57:19 EST 2004
machine : i686
cores : 2
hyperthreads_per_core : 2
cpu_mhz : 2599
memory : 3967
free_memory : 94

-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click