em0 performance subpar
Adam Stylinski
kungfujesus06 at gmail.com
Thu Apr 28 15:35:26 UTC 2011
On Thu, Apr 28, 2011 at 11:21:32AM -0400, Mike Tancsa wrote:
> On 4/28/2011 11:01 AM, Adam Stylinski wrote:
> >
> > ./netblast 192.168.0.121 5001 32768 30
> >
> > start: 1304002549.184689025
> > finish: 1304002579.187555311
> > send calls: 2163162
> > send errors: 2095950
> > approx send rate: 2240
> > approx error rate: 0
> >
> > ? This output is a bit cryptic but from what I think I understand from the source code it's the number of successful sends of the payload size in 30 seconds.
> >
> > So to do the math:
> > (32768*2210)/(1024*1024)
> > 69.06250000000000000000MB/sec? This is still only saturating about half the link speed.
>
> Just to be clear, you have something listening on the other side on port
> 5001 right ? ie on 192.168.0.121, you did a ./netreceive 5001... And
> the payload is.... 32768 ?!? Try something that does not need
> fragmentation and is within your max MTU. e.g. 500 byte frames should
> saturate a gigabit link.
>
> Watch it in real time with something like ifstat
>
> ./netblast 192.168.0.121 5001 500 5
>
> ---Mike
>
>
>
>
> --
> -------------------
> Mike Tancsa, tel +1 519 651 3400
> Sentex Communications, mike at sentex.net
> Providing Internet services since 1994 www.sentex.net
> Cambridge, Ontario Canada http://www.tancsa.com/
k so during the transmission ifstat reported:
0.53 44266.87
0.23 62788.56
0.06 62774.17
0.00 62774.26
0.00 62774.95
0.40 19482.25
And the rate output of netblast (using as suggested the parameters above):
119091
This is about 454mbps. Still way slower than it ought to be.
--
Adam Stylinski
PGP Key: http://pohl.ececs.uc.edu/~adam/publickey.pub
Blog: http://technicallyliving.blogspot.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-net/attachments/20110428/f08b1fbd/attachment.pgp
More information about the freebsd-net
mailing list