lkml.org 
[lkml]   [1997]   [Apr]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: Threads question
       Date: Fri, 25 Apr 1997 18:23:29 -0400 (EDT)
    From: Todd Graham Lewis <lists@reflections.eng.mindspring.net>

    Still, though, there are legitimate applications wherein having
    multiple thousands of threads necessary. The most active IRC
    server on the net, from what I understand, is a FreeBSD Pentium
    which can accept ~1500 (this is from memory) connections.

    Why do you need 1500 threads to service 1500 connections? The answer
    is you don't, you create more threads to bound the problem not to get
    your load factor down to one, this applies to searching and lookup
    algorithms as well which is pretty much CS 101 ;-), unless you have
    1500 cpu's and a 10 or so gigs of ram, then 1500 threads aren't going
    to buy you much, and even if you have that mammoth of a machine I'd
    bet you wouldn't be running and IRC server on it. 8-)

    Perhaps 30 threads or so to get some extra parallelism in there, but
    really not much more before you start hanging yourself.

    ---------------------------------------------////
    Yow! 11.26 MB/s remote host TCP bandwidth & ////
    199 usec remote TCP latency over 100Mb/s ////
    ethernet. Beat that! ////
    -----------------------------------------////__________ o
    David S. Miller, davem@caip.rutgers.edu /_____________/ / // /_/ ><

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