lkml.org 
[lkml]   [1999]   [Dec]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Per-Processor Data Paget
It depends on if you are doing a CPU intensive program or one that talks
to the outside world.

for example in a threaded web server you may want to have one thread for
each request , instead of one thread per CPU.

David Lang

On Thu, 9 Dec 1999, Scott Lurndal wrote:

>
> 2) Typical multithreaded applications which are designed to
> run on SMP systems will create N threads where N is equal
> to or less than the number of processors on the system.
> With good processor affinity in a scheduler one would very
> seldom be scheduling more than one thread from a single
> address space on the same processor.
>


-
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:55    [W:0.076 / U:1.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site