NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: ixg(4) performances
On Mon, Jul 07, 2014 at 08:19:57AM +0000, Emmanuel Dreyfus wrote:
> What is an adequate value? I tried raising up this without much improvemet:
> kern.sbmax=67108864
> net.inet.tcp.sendbuf_max=1048576
> net.inet.tcp.recvbuf_max=1048576
I now run with this:
sysctl -w kern.sbmax=67108864 ;
sysctl -w kern.somaxkva=67108864 ;
sysctl -w net.inet.tcp.recvbuf_auto = 0 ;
sysctl -w net.inet.tcp.sendbuf_auto = 0 ;
sysctl -w net.inet.tcp.recvspace=1048576 ;
sysctl -w net.inet.tcp.sendspace=1048576 ;
ifconfig ixg1 mtu 9000 tso4 ip4csum-tx tcp4csum-tx udp4csum-tx ip4csum-rx
ifconfig does not want tcp4csum-rx and udp4csum-rx despite advertising
them as available.
netperf now says I get 2330 Mb/s. Any idea of what I can tune to get
a better result? Increasing the above value does not help.
--
Emmanuel Dreyfus
manu%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index