[EMAIL PROTECTED] said:
> Please note that the use of putc in a multithreaded environment under
> any Linux yields horrible results due to locking/mutexes. Replace with
> _IO_putc_unlocked() and see the difference. I'm not sure if Bonnie
> uses pthreads (I ran it some months ago but can't recall).


Don't confuse bonnie and bonnie++ - they're two different programs and yield
incomparable results.

>From the bonnie++ changelog:
  * Reverted zcav to the 1.00a version and then added the code for -u, -g, and
    the fix for large numbers of data points.  The multi-threaded zcav code
    will go into 1.90 (the pre-2.00 tree).
    Bonnie++ versions < 1.90 will never again have threading code.

and from earlier in its life:
  * Version 1.[0-8]0 will use fork().  Version 1.90 and above will use POSIX
    threads and include the concurrant bonnie++ functionality I've been
    promising for so long.


--
Cheers
John Summerfield

Microsoft's most solid OS: http://www.geocities.com/rcwoolley/

Note: mail delivered to me is deemed to be intended for me, for my disposition.

==============================
If you don't like being told you're wrong,
        be right!

Reply via email to