Hello Roger,

You wrote:

> It's been that way since the beginning of time (since 1994 at least).
> I'm guessing that no one ever thought about it and were focused
> on maximizing concurrency in any case.
> 
> I found these words  in the latest POSIX spec:
>  ...
> I would appreciate it if some people out there would run this test
> on other systems (Red Hat Linux, NETBSD, Apple OS X, HP-UX, IRIX)
> and post the results.
> 
> Thanks,
> Roger Faulkner
> 

Some results:

os:             Apple MacOS 10.4 (Darwin 8)
ncpus:          1
cpu_speed:      slow
nthreads:       *max*
result:         pass

os:             Apple MacOS 10.5 (Darwin 9)
ncpus:          2
cpu_speed:      medium
nthreads:       *max*
result:         fail

os:             Solaris 8
ncpus:          2
cpu_speed:      slow
nthreads:       *max*
result:         pass

os:             Solaris 8
ncpus:          4
cpu_speed:      medium
nthreads:       *max*
result:         fail

os:             Solaris 9
ncpus:          8
cpu_speed:      medium
nthreads:       *max*
result:         fail


Of course, the cases that passed above are likely only due to the fact
that a) the number of CPUs is low, and b) the CPU execution speed itself
is quite slow.

Thanks to David Korn and yourself for finding and isolating this behavior!

----
David Morano
mor...@computer.org

_______________________________________________
ksh93-integration-discuss mailing list
ksh93-integration-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/ksh93-integration-discuss

Reply via email to