Re: test7-pre4 tcp memory pressure

From: Patrick Schaaf (bof@bof.de)
Date: Wed Aug 30 2000 - 09:57:17 EST


> - the machine was freshly booted, and received 1000 connections serving
> 48kB each. All write()s took about 50ms.
> - the same machine and same test, under 2.2.17pre18, works fine, with
> the writes taking about 0.5ms.
> - next, I set /proc/sys/net/ipv4/tcp_wmem to '65536 65536 131072',
> without a change in result.
...
> (just checked by reading SO_SNDBUF in my server, it is indeed shown
> as 65536 byte)

Without understanding the reason: all of the above is still valid,
but I found out that when I explicitly setsockopt(SO_SNDBUF) to 64k,
the writes become tame again.

David, is this intentional?

regards
  Patrick
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org



This archive was generated by hypermail 2b29 : Thu Aug 31 2000 - 21:00:31 EST