On Sun, Apr 30, 2017 at 09:34:58PM +0200, Christian Weisgerber wrote: > benchmarks/bytebench BYTE magazine benchmark suite > > The timestamps in the distfile are from February 1992. > (BYTE magazine folded in 1998.) > > I was going to add some fixes to make this compile with clang, but > there's no point. This long forgotten cruft can just be removed, > ok? > > -- > Christian "naddy" Weisgerber na...@mips.inka.de
Curiosity got the best of me :-) I've no interest in bytebench or keeping it (and its already gone, great!) but in trying to learn more info about it i came across 'unixbench'; a version of bytebench 'updated and revised by many people over the years'. https://github.com/meteorfox/byte-unixbench/ I checked out the git repo, and after s/make/gmake/ in the "Run" perl script, and ignoring a couple errors I saw with regards to command flags, I get this [1]. If there is any sort of interest I can whip it into a port and submit. Cheers! -ryan [1]: 15:24 ryan@bofh:..UnixBench$ ./Run gmake all gmake[1]: Entering directory '/home/ryan/git/byte-unixbench/UnixBench' gmake distr gmake[2]: Entering directory '/home/ryan/git/byte-unixbench/UnixBench' Checking distribution of files ./pgms exists ./src exists ./testdir exists ./tmp exists ./results exists gmake[2]: Leaving directory '/home/ryan/git/byte-unixbench/UnixBench' gmake programs gmake[2]: Entering directory '/home/ryan/git/byte-unixbench/UnixBench' gmake[2]: Nothing to be done for 'programs'. gmake[2]: Leaving directory '/home/ryan/git/byte-unixbench/UnixBench' gmake[1]: Leaving directory '/home/ryan/git/byte-unixbench/UnixBench' locale: unknown option -- k usage: locale [-a | -m] locale: unknown option -- k usage: locale [-a | -m] sh: 3dinfo: not found who: unknown option -- r usage: who [-HmqTu] [file] who am i # # # # # # # ##### ###### # # #### # # # # ## # # # # # # # ## # # # # # # # # # # # ## ##### ##### # # # # ###### # # # # # # ## # # # # # # # # # # # # ## # # # # # # # ## # # # # #### # # # # # ##### ###### # # #### # # Version 5.1.3 Based on the Byte Magazine Unix Benchmark Multi-CPU version Version 5 revisions by Ian Smith, Sunnyvale, CA, USA January 13, 2011 johantheghost at yahoo period com 1 x Dhrystone 2 using register variables 1 2 3 4 5 6 7 8 9 10 1 x Double-Precision Whetstone 1 2 3 4 5 6 7 8 9 10 1 x Execl Throughput 1 2 3 1 x File Copy 1024 bufsize 2000 maxblocks 1 2 3 1 x File Copy 256 bufsize 500 maxblocks 1 2 3 1 x File Copy 4096 bufsize 8000 maxblocks 1 2 3 1 x Pipe Throughput 1 2 3 4 5 6 7 8 9 10 1 x Pipe-based Context Switching 1 2 3 4 5 6 7 8 9 10 1 x Process Creation 1 2 3 1 x System Call Overhead 1 2 3 4 5 6 7 8 9 10 1 x Shell Scripts (1 concurrent) 1 2 3 1 x Shell Scripts (8 concurrent) 1 2 3 4 x Dhrystone 2 using register variables 1 2 3 4 5 6 7 8 9 10 4 x Double-Precision Whetstone 1 2 3 4 5 6 7 8 9 10 4 x Execl Throughput 1 2 3 4 x File Copy 1024 bufsize 2000 maxblocks 1 2 3 4 x File Copy 256 bufsize 500 maxblocks 1 2 3 4 x File Copy 4096 bufsize 8000 maxblocks 1 2 3 4 x Pipe Throughput 1 2 3 4 5 6 7 8 9 10 4 x Pipe-based Context Switching 1 2 3 4 5 6 7 8 9 10 4 x Process Creation 1 2 3 4 x System Call Overhead 1 2 3 4 5 6 7 8 9 10 4 x Shell Scripts (1 concurrent) 1 2 3 4 x Shell Scripts (8 concurrent) 1 2 3 ======================================================================== BYTE UNIX Benchmarks (Version 5.1.3) System: bofh.ca.kci.co: OpenBSD OS: OpenBSD -- 6.1 -- GENERIC.MP#1 Machine: amd64 (unknown) Language: en_US.utf8 (charmap=, collate=) CPU: no details available 3:24PM up 3 days, 3:24, 32 users, load averages: 2.67, 2.54, 2.42; runlevel ------------------------------------------------------------------------ Benchmark Run: Mon May 01 2017 15:24:47 - 15:53:13 4 CPUs in system; running 1 parallel copy of tests Dhrystone 2 using register variables 19247307.2 lps (10.0 s, 7 samples) Double-Precision Whetstone 3279.6 MWIPS (10.1 s, 7 samples) Execl Throughput 1786.7 lps (29.8 s, 2 samples) File Copy 1024 bufsize 2000 maxblocks 32880.8 KBps (30.1 s, 2 samples) File Copy 256 bufsize 500 maxblocks 44185.3 KBps (30.1 s, 2 samples) File Copy 4096 bufsize 8000 maxblocks 59238.5 KBps (30.0 s, 2 samples) Pipe Throughput 2280915.9 lps (10.0 s, 7 samples) Pipe-based Context Switching 121789.6 lps (10.0 s, 7 samples) Process Creation 4138.9 lps (30.0 s, 2 samples) Shell Scripts (1 concurrent) 3253.7 lpm (60.0 s, 2 samples) Shell Scripts (8 concurrent) 515.7 lpm (60.1 s, 2 samples) System Call Overhead 1580488.8 lps (10.0 s, 7 samples) System Benchmarks Index Values BASELINE RESULT INDEX Dhrystone 2 using register variables 116700.0 19247307.2 1649.3 Double-Precision Whetstone 55.0 3279.6 596.3 Execl Throughput 43.0 1786.7 415.5 File Copy 1024 bufsize 2000 maxblocks 3960.0 32880.8 83.0 File Copy 256 bufsize 500 maxblocks 1655.0 44185.3 267.0 File Copy 4096 bufsize 8000 maxblocks 5800.0 59238.5 102.1 Pipe Throughput 12440.0 2280915.9 1833.5 Pipe-based Context Switching 4000.0 121789.6 304.5 Process Creation 126.0 4138.9 328.5 Shell Scripts (1 concurrent) 42.4 3253.7 767.4 Shell Scripts (8 concurrent) 6.0 515.7 859.6 System Call Overhead 15000.0 1580488.8 1053.7 ======== System Benchmarks Index Score 470.6 ------------------------------------------------------------------------ Benchmark Run: Mon May 01 2017 15:53:13 - 16:21:57 4 CPUs in system; running 4 parallel copies of tests Dhrystone 2 using register variables 75809952.5 lps (10.0 s, 7 samples) Double-Precision Whetstone 13002.1 MWIPS (10.1 s, 7 samples) Execl Throughput 1883.9 lps (29.9 s, 2 samples) File Copy 1024 bufsize 2000 maxblocks 42260.9 KBps (30.0 s, 2 samples) File Copy 256 bufsize 500 maxblocks 50872.2 KBps (30.0 s, 2 samples) File Copy 4096 bufsize 8000 maxblocks 39027.0 KBps (30.0 s, 2 samples) Pipe Throughput 2501947.3 lps (10.0 s, 7 samples) Pipe-based Context Switching 273857.8 lps (10.0 s, 7 samples) Process Creation 4933.7 lps (30.0 s, 2 samples) Shell Scripts (1 concurrent) 4861.9 lpm (60.1 s, 2 samples) Shell Scripts (8 concurrent) 604.9 lpm (60.2 s, 2 samples) System Call Overhead 1787032.8 lps (10.0 s, 7 samples) System Benchmarks Index Values BASELINE RESULT INDEX Dhrystone 2 using register variables 116700.0 75809952.5 6496.1 Double-Precision Whetstone 55.0 13002.1 2364.0 Execl Throughput 43.0 1883.9 438.1 File Copy 1024 bufsize 2000 maxblocks 3960.0 42260.9 106.7 File Copy 256 bufsize 500 maxblocks 1655.0 50872.2 307.4 File Copy 4096 bufsize 8000 maxblocks 5800.0 39027.0 67.3 Pipe Throughput 12440.0 2501947.3 2011.2 Pipe-based Context Switching 4000.0 273857.8 684.6 Process Creation 126.0 4933.7 391.6 Shell Scripts (1 concurrent) 42.4 4861.9 1146.7 Shell Scripts (8 concurrent) 6.0 604.9 1008.1 System Call Overhead 15000.0 1787032.8 1191.4 ======== System Benchmarks Index Score 686.9 16:21 ryan@bofh:..UnixBench$