Re: [RFC][PATCH 2/9] deadlock prevention core

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

 



On Mon, Aug 14, 2006 at 10:15:52AM +0200, Peter Zijlstra ([email protected]) wrote:
> > If this refers to the socket buffers, they're mostly allocated with
> > at least __GFP_WAIT, aren't they?
> 
> Wherever it is that packets go if the local end is tied up and cannot
> accept them instantly. The simple but prob wrong calculation I made for
> evgeniy is: suppose we have 64k sockets, each socket can buffer up to
> 128 packets, and each packet can be up to 16k (roundup for jumboframes)
> large, that makes for 128G of memory. This calculation is wrong on
> several points (we can have >64k sockets, and I have no idea on the 128)
> but the order of things doesn't get better.

TCP memory is limited for all sockets - it is tcp_*mem parameters.
tcp_mem max on my amd64 with 1gb of ram is 768 kb for _all_ sockets.

-- 
	Evgeniy Polyakov
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux