lkml.org 
[lkml]   [2000]   [Feb]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: accept() improvements for rt signals
Hi,

On Mon, 21 Feb 2000 08:58:05 +0200 (EET), Julian Anastasov
<uli@linux.tu-varna.acad.bg> said:

> But using threads I'm limited to small number of served
> clients (sockets), at least in 2.2: memory, pids. I'm talking about
> 32768+ open file descriptors with low TCP traffic.

You need to use threads if you want to take advantage of SMP, but
there's no reason you need one thread per socket --- you can just
load-balance a small number of threads, passing each accepted fd to the
least-loaded thread.

It's still a hack, of course, but until we have properly working shared
signal queues it's the best we can do.

--Stephen

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

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