tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Surprising observations on the NetBSD TCP stack



kardel%kardel.name@localhost (Frank Kardel) writes:

>Maybe there are issues in the igc driver. sending from there does not 
>look completely perfect.

Yes. I have a igc (I226-V) here, but so far it's not very stable
and sending often stalls completely.


>net.inet.tcp.keepinit = 150
>net.inet.tcp.recvbuf_auto = 1
>net.inet.tcp.recvbuf_inc = 131072
>net.inet.tcp.recvbuf_max = 1048576
>net.inet.tcp.sendbuf_auto = 1
>net.inet.tcp.sendbuf_inc = 131072
>net.inet.tcp.sendbuf_max = 1048576

kern.sbmax is another global limit and needs to be at least as large
as the max values.

With large buffers you may need to increase kern.somaxkva (total
memory limit for networking) too.



Home | Main Index | Thread Index | Old Index