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


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