[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: network throughput
Thanks for the help... however, my numbers using netperf are inconsistent
with yours, and there are some other problems/questions I have:
I am using kernel 2.4.14.
- with netperf, TCP achieved at most 12-15 Mbits/s (when the
receiver was a devbaord, and the sender was either a devboard or a PIII).
- with netperf, sending UDP packets of sizes in the range 100-500
bytes, spaced about 1ms apart cause ethernet overruns very quickly on the
receiver box. For example, sending 250 byte UDP packets, one every 1 ms
from one devboard to another for a period of 20 seconds gave these
packets sent: 19187
packets rcvd: 3412
all dropped packets were overruns on the receiver box.
This behavior is also inconsistent- it happens for a wide
range of packet sizes and interpacket spacing.
When this happens, the box sometimes freezes: here is part of a message
I get from the kernel:
Unable to handle kernel access at virtual address 20000000
60068bd8 SRP: 600689be DCCR: 000004a0 USP: 4ffffd84 MOF: 00000000
another strange thing: after the box freezes, if I reboot it by pressing
the reboot button,
half-duplex mode with the switch it is connected to. On the other hand,
if I reboot it by _powering off_, it negotiates ful duplex.
any idea why this might happen?
- Since the acheived throughput is surprisingly low, I'm trying to locate
possible sources of bottlenecks - card to OS DMA transfer because of slow
mem. access time, or simply the overhead of calling recv() repeatedly from
user space, etc....
any suggestions towards improving the performance by just OS tweaks rather
than hardware changes would be great!
On Fri, 23 Aug 2002, Mikael Starvik wrote:
> If I remember it correctly the performance with a developer
> board LX is approximately 4 MBytes/s for receive and 3 MByte/s
> for transmit (with the latest kernel). With other memory
> configurations you can get 5 MByte/s (receive) and 4 MByte/s
> >- data bus width (32 bit??)
> On the developer board LX the data bus width is 16 bits.
> With 32 bits and SDRAMs you can get higher performance.
> >- data bus speed
> 50 MHz
> >- dma setup latency
> I don't know the typical latency. It depends a lot on what
> else is going on in the system (although the ethernet DMAs
> have very high priority)
> >- size of network rx buffers (32KB??)
> 64 full size packets
> >- maybe typical interrupt latency....
> I don't know.
> -----Original Message-----
> From: firstname.lastname@example.org]On">mailto:email@example.com]On
> Behalf Of Akshay Adhikari
> Sent: Thursday, August 22, 2002 3:55 PM
> To: dev-etrax
> Subject: network throughput
> I would like to find out the max achievable network throughput on a
> devboard_lx (For example, in experiments with netperf, I found that tcp
> throughput was atmost 15 Mbps, and sending UDP packets back to back
> caused receiver overruns pretty fast...)
> I was trying to find the specifications for the devboard_lx to use for
> calculations of
> max. achievable data throughput; it would be useful to know:
> - data bus width (32 bit??)
> - data bus speed
> - dma setup latency
> - size of network rx buffers (32KB??)
> - maybe typical interrupt latency....
> does anyone have these numbers or know how/where to obtain them?