On Thu, 2017-02-09 at 17:08 +0800, Gao Feng wrote:
> On Thu, Feb 9, 2017 at 12:00 AM, Eric Dumazet wrote:
> > On Wed, 2017-02-08 at 21:07 +0800, f...@ikuai8.com wrote:
> >> From: Gao Feng
> >>
> >> Because the value of SO_SNDBUF and SO_RCVBUF is doubled
On Thu, Feb 9, 2017 at 12:00 AM, Eric Dumazet wrote:
> On Wed, 2017-02-08 at 21:07 +0800, f...@ikuai8.com wrote:
>> From: Gao Feng
>>
>> Because the value of SO_SNDBUF and SO_RCVBUF is doubled before
>> assignment, so the real value of send and recv
On Wed, 2017-02-08 at 21:07 +0800, f...@ikuai8.com wrote:
> From: Gao Feng
>
> Because the value of SO_SNDBUF and SO_RCVBUF is doubled before
> assignment, so the real value of send and recv buffer could be more
> than the max sysctl config sysctl_wmem_max and sysctl_rmem_max.
>
From: Gao Feng
Because the value of SO_SNDBUF and SO_RCVBUF is doubled before
assignment, so the real value of send and recv buffer could be more
than the max sysctl config sysctl_wmem_max and sysctl_rmem_max.
Now use doulbe send/recv buffer value to compare with