FreeBSD-6 and em interface speed
Nate Nielsen
nielsen-list at memberwebs.com
Tue Feb 21 11:17:50 PST 2006
FreeLSD wrote:
> Good day!
> I've obtained the following strang results with the em Ethernet interface
> speeds on a 6.1-PRERELEASE:
> Polling on:
> UDP stream to FreeBSD: 327843.84 Kbit/sec,
> TCP stream to FreeBSD: 524550.12 Kbit/sec.
> Polling off:
> UDP stream to FreeBSD: 740409.38 Kbit/sec,
> TCP stream to FreeBSD: 794348.44 Kbit/sec.
Probably due to the test tool you're using. Does the tool serialize the
UDP stream (ie: wait for a response for each packet)?
In many cases polling will slow down an individual stream slightly,
while upping the total throughput (hundreds of streams). In addition if
your CPU and bus is fast enough to handle the interrupt rate (well
behaved NICs mitigate interrupts) then polling will slow things down in
most cases.
BTW, this should go on freebsd-net.
Cheers,
Nate
More information about the freebsd-hackers
mailing list