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).
> -----Original Message----- > For what it's worth: > bonnie++-1.02a > > $ hcp q cpu > CPUID = FF02407607000000 > > $ ./bonnie++ -s 256 > Writing with putc()...done > Writing intelligently...done > Rewriting...done > Reading with getc()...done > Reading intelligently...done > start 'em...done...done...done... > Create files in sequential order...done. > Stat files in sequential order...done. > Delete files in sequential order...done. > Create files in random order...done. > Stat files in random order...done. > Delete files in random order...done. > Version 1.02a ------Sequential Output------ --Sequential Input- > --Random- > -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- > --Seeks-- > Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP > K/sec %CP /sec > %CP > glt3903 256M 1334 99 9001 43 4506 10 1347 99 > 9945 10 433.8 > 6 > ------Sequential Create------ --------Random > Create-------- > -Create-- --Read--- -Delete-- -Create-- --Read--- > -Delete-- > files /sec %CP /sec %CP /sec %CP /sec %CP > /sec %CP /sec > %CP > 16 94 96 641 99 2349 99 94 99 > 771 99 643 > 96 > glt3903,256M,1334,99,9001,43,4506,10,1347,99,9945,10,433.8,6,1 > 6,94,96,641,99 > ,2349,99,94,99,771,99,643,96 > > $ ./bonnie++ -s 125 > Writing with putc()...done > Writing intelligently...done > Rewriting...done > Reading with getc()...done > Reading intelligently...done > start 'em...done...done...done... > Create files in sequential order...done. > Stat files in sequential order...done. > Delete files in sequential order...done. > Create files in random order...done. > Stat files in random order...done. > Delete files in random order...done. > Version 1.02a ------Sequential Output------ --Sequential Input- > --Random- > -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- > --Seeks-- > Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP > K/sec %CP /sec > %CP > glt3903 125M 1344 99 9743 27 4430 9 1288 99 > 9445 10 514.5 > 7 > ------Sequential Create------ --------Random > Create-------- > -Create-- --Read--- -Delete-- -Create-- --Read--- > -Delete-- > files /sec %CP /sec %CP /sec %CP /sec %CP > /sec %CP /sec > %CP > 16 97 99 643 99 2318 100 97 99 > 758 99 632 > 96 > glt3903,125M,1344,99,9743,27,4430,9,1288,99,9445,10,514.5,7,16 > ,97,99,643,99, > 2318,100,97,99,758,99,632,96
