lkml.org 
[lkml]   [1999]   [Apr]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Linus on Linux, Apache and Threads

On Mon, 26 Apr 1999, Stephen C. Tweedie wrote:

> > That isnt the performance issue. The scaling issue tends to be the
> > "wake all / wake one" stuff - which is hard to do well for wake one.
>
> SysV semaphores do wake-one for simple up/down counted use. The 2.2.6
> implementation does have a couple of problems right now: it will _only_
> wake one at a time even if you up() more than once, and it will do so in
> strict FIFO, which is not necessarily going to direct the wakeup to the
> best thread (ie. the one last scheduled on a CPU which is now idle).

i dont think this is a RL issue, most SysV semaphores (in SAP and Oracle)
are mutexes.

-- mingo


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