lkml.org 
[lkml]   [1997]   [Apr]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Threads question
Date
> 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


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