Netmap - Packet generating performance changes

Luigi Rizzo rizzo at iet.unipi.it
Wed Oct 1 08:51:05 UTC 2014


On Wed, Oct 01, 2014 at 03:42:06AM -0500, Long Tran wrote:
> Hello,
> 
> I am experimenting netmap and see one strange behavior.
> When I am generating packets using pkt-gen example from PC1 to PC2, the
> rate is about 3Mpps. But when I run pkg-gen -f rx -i p1p1 from PC2, the
> generating rate in PC1 goes up to 14.66Mpps.
> 
> I thought the performance of netmap in one PC didn't depend on the other
> end.
> Could anyone help explain it to me please?

flow control on the link is responsible for the slowdown.
On FreeBSD, sysctl dev.ix.0.fc=0 disables that
On Linux i think it is some ethtool command


cheers
luigi

> 
> Thanks,
> *Long Tran*
> Research Assistant
> MS in Network Communications and Technology Project Management
> University of Houston
> _______________________________________________
> freebsd-net at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"


More information about the freebsd-net mailing list