Re: Another look at established socket hash table size

2005-11-29 Thread David S. Miller
From: Mike Stroyan <[EMAIL PROTECTED]> Date: Tue, 29 Nov 2005 16:25:02 -0700 > Is there any plan to change netstat to replace its uses of > /proc/net/tcp* ? Ask the maintainer of that userland utility :-) It is a change which should be made. > The current mechanism with alloc_large_system_ha

Re: Another look at established socket hash table size

2005-11-29 Thread Mike Stroyan
On Tue, Nov 29, 2005 at 01:33:34PM -0800, David S. Miller wrote: > From: Mike Stroyan <[EMAIL PROTECTED]> > Date: Tue, 29 Nov 2005 14:23:10 -0700 > > > The tcp_ehash hash table gets too big on systems with really big memory. > > It is worse on systems with pages larger than 4KB. It wastes memor

Re: Another look at established socket hash table size

2005-11-29 Thread David S. Miller
From: Mike Stroyan <[EMAIL PROTECTED]> Date: Tue, 29 Nov 2005 14:23:10 -0700 > The tcp_ehash hash table gets too big on systems with really big memory. > It is worse on systems with pages larger than 4KB. It wastes memory that > could be better used. It also makes the netstat command slow beca

Another look at established socket hash table size

2005-11-29 Thread Mike Stroyan
The tcp_ehash hash table gets too big on systems with really big memory. It is worse on systems with pages larger than 4KB. It wastes memory that could be better used. It also makes the netstat command slow because reading /proc/net/tcp and /proc/net/tcp6 needs to go through the full hash table