Re: Threads question

Alan Cox (alan@lxorguk.ukuu.org.uk)
Sat, 26 Apr 1997 15:38:43 +0100 (BST)


> A combo (clone<->lib) threading approach lets you do these sorts of things
> easily. Telling the IRC designers "You shouldn't support more than 1000
> connections per server" is kind of unrealistic, isn't it?

Yes, but it doesn't mean 1000 threads is the right answer. Equally more
than one may well perform better because you can queue multiple kernel
I/O requests (which for ircd is quite a lot). Probably 1 and 1 per
processor is all that is needed

Alan