Re: test7-pre4 tcp memory pressure

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

 



> - 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
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux