2004-04-28 20:49:42

by Frédéric L. W. Meunier

[permalink] [raw]
Subject: TCP: Hash tables configured

If I compile 2.4.x or 2.6.x with GCC 2.95.4 I see

TCP: Hash tables configured (established 32768 bind 32768)

If I instead use 3.3.3, I see

TCP: Hash tables configured (established 32768 bind 65536)

Is this expected ?

--
http://www.pervalidus.net/contact.html


2004-04-30 02:24:40

by Frédéric L. W. Meunier

[permalink] [raw]
Subject: Re: TCP: Hash tables configured

On Wed, 28 Apr 2004, Burton Windle wrote:

> Odd... maybe related to amount of ram perhaps?

I don't think so. It's on the same machine with 2x256Mb. The
only change is the compiler, as is the only "change" in dmesg.

But it doesn't look like the compiler, as Google returned some
"TCP: Hash tables configured (established 32768 bind 65536)"
for 2.95.x and "TCP: Hash tables configured (established 32768
bind 32768)" for 3.x.

> bwindle@morpheus:~$ dmesg | grep Hash
> TCP: Hash tables configured (established 16384 bind 4681)
> bwindle@morpheus:~$ cat /proc/version
> Linux version 2.6.5 (root@morpheus) (gcc version 2.95.4 20011002 (Debian prerelease)) #3 Mon Apr 5 14:43:44 EDT 2004
>
> bwindle@balrog:~$ dmesg | grep Hash
> TCP: Hash tables configured (established 131072 bind 65536)
> bwindle@balrog:~$ cat /proc/version
> Linux version 2.6.5 (root@debian) (gcc version 2.95.4 20011002 (Debian prerelease)) #1 SMP Tue Apr 27 09:34:17 EDT 2004
>
> bwindle@dual266:~$ dmesg | grep Hash
> TCP: Hash tables configured (established 8192 bind 8192)
> bwindle@dual266:~$ cat /proc/version
> Linux version 2.6.6-rc2-bk1 (root@dual266) (gcc version 2.95.4 20011002 (Debian prerelease)) #18 SMP Fri Apr 23 10:15:53 EDT 2004
>
>
>
> --
> Burton Windle [email protected]
>
>
> On Wed, 28 Apr 2004, [ISO-8859-1] Fr?d?ric L. W. Meunier wrote:
>
> > If I compile 2.4.x or 2.6.x with GCC 2.95.4 I see
> >
> > TCP: Hash tables configured (established 32768 bind 32768)
> >
> > If I instead use 3.3.3, I see
> >
> > TCP: Hash tables configured (established 32768 bind 65536)
> >
> > Is this expected ?

--
http://www.pervalidus.net/contact.html