Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!menudo.uh.edu!karazm.math.uh.edu!mahmoud From: mahmoud@karazm.math.uh.edu (Ahmed Mahmoud) Newsgroups: comp.arch Subject: Re: Small Benchmark Message-ID: <1991May18.161800.6657@menudo.uh.edu> Date: 18 May 91 16:18:00 GMT References: <1991May17.181628.19207@linus.mitre.org> <1991May18.155143.5741@menudo.uh.edu> Sender: usenet@menudo.uh.edu (USENET News System) Organization: University of Houston -- Department of Mathematics Lines: 45 Nntp-Posting-Host: karazm.math.uh.edu In article <1991May18.155143.5741@menudo.uh.edu> mahmoud@karazm.math.uh.edu (Ahmed Mahmoud) writes: >In article <1991May17.181628.19207@linus.mitre.org> bs@gauss.mitre.org (Robert D. Silverman) writes: >>I would like to present the following (small) benchmark code for Unix >>systems. A co-worker has dubbed this 'bobstones'. >> >>This program very seriously tests memory and data cacheing effects. It is >>quite simple. >> >>I would like to ask that people out there try this out and report the results >>back to this forum. It only takes a few seconds to run. >> >I ran this benchmark on a NeXTstation 25mhz 68040 8 megs of ram. I had a few >things running at the time...( kermit,edit and a terminal emulator) here >are the results >localhost> cc -o bench bench.c >localhost> bench >Total time (sys+user) : 11.98 (bobstones) >Page faults (min/maj) : 0/0 >Blocks in input/output : 2459/0 >Context switches (vol/invol): 2533/348 >localhost> > >ahmed > sorry for the above results here is a better compiling localhost> cc -o bench -O bench.c localhost> bench Total time (sys+user) : 4.95 (bobstones) Page faults (min/maj) : 0/0 Blocks in input/output : 1/0 Context switches (vol/invol): 1/123 localhost> bench Total time (sys+user) : 4.86 (bobstones) Page faults (min/maj) : 0/0 Blocks in input/output : 7/0 Context switches (vol/invol): 7/112 localhost> bench Total time (sys+user) : 4.84 (bobstones) Page faults (min/maj) : 0/0 Blocks in input/output : 0/0 Context switches (vol/invol): 0/114 localhost> ahmed