Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: Sonny <sonny@home.com>
Subject: channel bonding throughput
Date: Tue, 22 Jan 2002 09:14:16 GMT	[thread overview]
Message-ID: <3C4D217F.5030300@home.com> (raw)

Hi,
I am mucking about with ethernet channel bonding and have a question 
about the alpha linux performance.  Basically, I think I am seeing the 
throughput being limited by the kernel on the alpha.  My setup is as 
follows.  I have a Digital Server 3300 (400 Mhx ev56) with a four port 
dec tulip ethernet card installed (24110's).  I have a dual proc x86 
(750 Mhz p3) with a two port dec tulip card installed (24110's).  These 
machines are connected to each other using crossover cables on two ports 
each.
When I test network throughput with netcat, I see a bit of improvement 
over one card but not much.  My results:
alpha
single channel
time dd if=/dev/zero bs=1000000 count=50 | nc -q 0 10.0.0.1 2040
50+0 records in
50+0 records out

real    0m4.270s
user    0m0.058s
sys     0m2.616s

single channel bonded
time dd if=/dev/zero bs=1000000 count=50 | nc -q 0 10.0.0.1 2040
50+0 records in
50+0 records out

real    0m4.270s
user    0m0.134s
sys     0m2.706s

dual channel bonded
time dd if=/dev/zero bs=1000000 count=50 | nc -q 0 10.0.0.1 2040
50+0 records in
50+0 records out

real    0m4.016s
user    0m0.110s
sys     0m3.906s

i386
single channel
time dd if=/dev/zero bs=1000000 count=50 | nc -q 0 10.0.0.5 2040
50+0 records in
50+0 records out

real    0m4.251s
user    0m0.030s
sys     0m0.920s

single channel bonded
time dd if=/dev/zero bs=1000000 count=50 | nc -q 0 10.0.0.5 2040
50+0 records in
50+0 records out

real    0m4.252s
user    0m0.020s
sys     0m0.830s


dual channel bonded
time dd if=/dev/zero bs=1000000 count=50 | nc -q 0 10.0.0.5 2040
50+0 records in
50+0 records out

real    0m3.732s
user    0m0.020s
sys     0m0.790s

================================================================================
Recompiling the kernel for Noritake-Primo made a bit of difference,
but nothing spectacular

alpha dual channel bonded
time dd if=/dev/zero bs=1000000 count=50 | nc -q 0 192.168.2.1 2040
50+0 records in
50+0 records out

real    0m3.826s
user    0m0.123s
sys     0m3.703s

x86 dual channel bonded
time dd if=/dev/zero bs=1000000 count=50 | nc -q 0 192.168.3.1 2040
50+0 records in
50+0 records out

real    0m3.479s
user    0m0.010s
sys     0m0.800s


I noticed that the system times for the alpha were a much higher 
percentage of the total time for the transaction than on the x86.  Thus, 
I conclude that the kernel is the bottleneck here as the bonding causes 
the network cards to swamp the kernel.  Contrating that with the time 
from the x86 side, the system time is only a small fraction of the total 
time required for the transmission.

I've searched all over the internet for clues about this issue, but to 
no avail.  Anyone have any ideas where to look/ who to ask?

Thanks,
Sonny



                 reply	other threads:[~2002-01-22  9:14 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox