Re: getsockopt/setsockopt with SO_RCVBUF and SO_SNDBUF "non-standard" behaviour

2012-07-19 Thread Eugen Dedu
On 18/07/12 19:32, Rick Jones wrote: On 07/18/2012 09:11 AM, Eric Dumazet wrote: That the way it's done on linux since day 0 You can probably find a lot of pages on the web explaining the rationale. If your application handles UDP frames, what SO_RCVBUF should count ? If its the amount of pa

Re: getsockopt/setsockopt with SO_RCVBUF and SO_SNDBUF "non-standard" behaviour

2012-07-18 Thread Rick Jones
On 07/18/2012 09:11 AM, Eric Dumazet wrote: That the way it's done on linux since day 0 You can probably find a lot of pages on the web explaining the rationale. If your application handles UDP frames, what SO_RCVBUF should count ? If its the amount of payload bytes, you could have a patholog

Re: getsockopt/setsockopt with SO_RCVBUF and SO_SNDBUF "non-standard" behaviour

2012-07-18 Thread Eric Dumazet
On Wed, 2012-07-18 at 17:59 +0200, Eugen Dedu wrote: > Any idea? > > On 17/07/12 11:27, Eugen Dedu wrote: > > Hi all, > > > > I looked on Internet and at the old thread > > http://lkml.indiana.edu/hypermail/linux/kernel/0108.0/0275.html, but the > > issue is still not settled as far as I see. > >

Re: getsockopt/setsockopt with SO_RCVBUF and SO_SNDBUF "non-standard" behaviour

2012-07-18 Thread Eugen Dedu
Any idea? On 17/07/12 11:27, Eugen Dedu wrote: Hi all, I looked on Internet and at the old thread http://lkml.indiana.edu/hypermail/linux/kernel/0108.0/0275.html, but the issue is still not settled as far as I see. I need to have the highest memory available for snd/rcv buffer and I need to kn