lkml.org 
[lkml]   [1998]   [Jul]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: File-descriptors - large quantities
Chris Wedgwood wrote:
>
> On Wed, Jul 08, 1998 at 02:17:32PM +1000, Dancer wrote:
>
> > Would anyone armed with the necessary experience care to enlighten me on
> > the effectiveness/practicality of pushing linux 2.0.32 up to (say)
> > 12,000 file-descriptors-per-process?
>
> Are you going to use select(2) ?
>
> I assume you are, because poll(2) didn't appear until 2.1.43 or so, and
> select(2) with 12k FDs I suspect would really bog things down....

My math says I should need a max of about 6000fds to have the server
keep up with requests. I figured that if the performance hit was not
_too_ extreme that 12000 should be relatively future-proof.

The particular bit of software (squid 1.1) I think has poll(2) as an
option. I've not looked at that part of the source closely of late.

D

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

\
 
 \ /
  Last update: 2005-03-22 13:43    [W:0.114 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site