Messages in this thread | | | Date | Wed, 08 Jul 1998 14:29:13 +1000 | From | Dancer <> | Subject | Re: 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
| |