lkml.org 
[lkml]   [1999]   [May]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: Test program: DU good Linux bad
Date
>    The program creates a pipe and forks off a number of children.  Each of
>these children tries to read an int from the pipe, decrement it and write
it
>back into the pipe. When the int goes to zero the program stops and prints
>its results. The times I get for 5000000 iterations are:

This is reproducible (which I guess makes it science !). I tried two
different kernel versions on my Pentium II/233MHz, 48 MB RAM (there's free
RAM in all cases):

#procs -2.0.36- -2.2.2-
2 33.385 22.516
25 57.702 50.944
50 115.616 119.622

This is just a sample... a couple of other tests also showed that 2.0.36 is
slower for (#procs < ~30) but faster thereafter.

Nick Brown, Strasbourg, France (Nick(dot)Brown(at)coe(dot)int)








__________________________________________________________

email address updates : @coe.int replaces @coe.fr
for more information, http://dct.coe.int/info/emfci001.htm
__________________________________________________________


-
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.048 / U:0.544 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site