Messages in this thread | | | From | BROWN Nick <> | Subject | RE: Test program: DU good Linux bad | Date | Thu, 6 May 1999 19:39:29 +0200 |
| |
> 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/
| |