Re: Solaris 100K TCP connections, good example? was:[Fwd: [Fwd:

Alan Cox (alan@lxorguk.ukuu.org.uk)
Tue, 28 Sep 1999 10:23:39 +0100 (BST)


> in that case, every filesystem iget operation has to wade through 100K+
> inodes to find an inode (imagine the length of the hash lists in a 256
> bucket hash table!). every d_lookup has to do the same. each inode is as

So dont use a 256 bucket hash table. Dave has some nice 2.2. patches for
the hashes (and the socket hashes want to be bigger too)

> go to zero until the socket closes (bad for high-latency connections or if
> SO_LINGER is set). in current kernels, the VM system can't even ask for
> inode memory back after it's been allocated to the inode cache.
>
> think 2G of RAM is enough? :) maybe for the buffers alone...

Even factoring those in its about 1Gig for the kernel side structures.

Alan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/