On Mon, Jul 07, 2014 at 07:56:37AM -0400, Thor Lancelot Simon wrote: > autotuning code -- starting from 32k it will take _forever_ to get to 1MB > by autotuning.
I raised net.inet.tcp.sendspace/net.inet.tcp.recvspace to 1048576 and kern.somaxkva to the same value as kern.sbmax (67108864). This almost doubled throuighput, as I now get 2.2 Gb/s Increasing net.inet.tcp.sendspace/net.inet.tcp.recvspace further did not produce any improvement. But I suspect this is the reason: ixg0: PCI Express Bus: Speed 2.5Gb/s Width x8 Is it 2.5 Gb/s maximum (in which case I hit that limit), or 2.5x8 = 20 Gb/s in which case I still have room for improvment. -- Emmanuel Dreyfus m...@netbsd.org