Comparison of FreeBSD/Linux TCP Throughput performance

István leccine at gmail.com
Tue Oct 20 00:17:01 UTC 2009


On Mon, Oct 19, 2009 at 2:36 AM, Adrian Chadd <adrian at freebsd.org> wrote:

> uhm:
>
> kristy# netperf -H 192.168.10.2 -p 22113 -l 10
> TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 192.168.10.2
> (192.168.10.2) port 0 AF_INET
> Recv   Send    Send
> Socket Socket  Message  Elapsed
> Size   Size    Size     Time     Throughput
> bytes  bytes   bytes    secs.    10^6bits/sec
>
>   8192  65536  65536    10.00     862.48
>
> 1 megabyte socket buffers threw an error. I'll see why later.
>
> Now, as for why 64k socket buffers gave a slower result than 8k socket
> buffers... ah. If I change the sending end to use 64k socket buffers:
>
> TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 192.168.10.2
> (192.168.10.2) port 0 AF_INET
> Recv   Send    Send
> Socket Socket  Message  Elapsed
> Size   Size    Size     Time     Throughput
> bytes  bytes   bytes    secs.    10^6bits/sec
>
>  65536  65536  65536    10.00     916.23
>
>
>
> Adrian
>
>
therefore i like netpipe runs you can see the performance and the latency as
well using the packet size as your "x" axis, i think it makes more sense
then just 1 number



-- 
the sun shines for all

http://l1xl1x.blogspot.com


More information about the freebsd-performance mailing list