lkml.org 
[lkml]   [1997]   [Apr]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: thousands of threads & kernel continuations

Floody wrote on 4/28/97 1:29 pm:

> You can only have one
>process per processor, so
>what's the point of
>multi-processing (beyond
>the number of physical
>processors you have).

The point is that you may have some of the processes in a state where they
cannot run at a given instant. What makes the most sense is an intelligent
combination of queues for some sorts of waiting processes and blocked
threads for others. What is intelligent? Queues make sense when processes
will behave according to a good queue discipline, (they will not
asynchronously defect too often, etc.) But when the blocked process may do
all sorts of different things before the thing it is ostensibly blocked
for, queueing may be a loss.

Note that a not good enough queue can easily become a loss just by slowing
down to the point where nobody wants to wait long enough to get served.



\
 
 \ /
  Last update: 2005-03-22 13:39    [W:0.067 / U:1.096 seconds]
©2003-2014 Jasper Spaans. Advertise on this site