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_hash does scale the
> hash table in proportion to the size of struct inet_ehash_bucket.
> The numentries calculation is always done in terms of the number of hash
> buckets.  The scale parameter is the desired power-of-two ratio between
> the bytes of available RAM and the number of hash buckets.  If the size
> of a pointer increases it will be reflected in the size of the struct.
> That will increase the amount of RAM dedicated to the hash table.

Wonderful, and I'll apply your patch, thanks.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to