Benchmarks - 1.3.11 + patch

Carlo Emilio Prelz (fluido@telepac.pt)
Thu, 20 Jul 1995 09:04:26 +0200 (MET DST)


Hi. I applied Linus's patch and rerun the benchmarks. Yes, the
pipe-based context switching test is up by a surprising 231.50%
compared with 1.3.10!! I only got the patch last night - I get the
list via news, and I could not get my news two nights ago.

I found out why I had problems running the filesystem tests. It seems
that the timer set by the alarm() call is automatically reloaded when
it expires... I don't know whether this is how things should be, but I
had to add an alarm(0); line in stop_count(), in file fstime.c, in the
benchmark sources. I found out that the file that is written is
2.048.000 bytes, so the disk space never had anything to do with the
problems I had. I should have checked before :-/

In the comparisons that follow, 1.3.12 is actually 1.3.11 + patch, and
1.3.11 is 1.3.11 before patch. 1.3.11 results LACK fs results - I only
rerun those tests for the newer kernel. Hope nobody suffers too much
for this.

As far as the WWW pages are concerned: I sent some software to Mike
Shaver (shaver@ingenia.com) last Monday, but I did not receive any
more echo from him. Mike: since I was offered space by other kind
souls, if you have any problems in setting up the pages, let me know!

--8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<--

From:
* Linux pimpinel.fluido.org 1.3.11 #22 Tue Jul 18 22:26:10 MET DST 1995 i486
* Wed Jul 19 09:50:58 MET DST 1995

To:
* Linux pimpinel.fluido.org 1.3.12 #23 Wed Jul 19 21:55:21 MET DST 1995 i486
* Wed Jul 19 22:00:21 MET DST 1995

*******
Results
*******

Pipe-based Context Switching Test || 4804.9 -> 9969.6 +107.49%
Dc: sqrt(2) to 99 decimal places || 5538.2 -> 5677.4 +2.51%
Execl Throughput Test || 61.4 -> 62.8 +2.28%
System Call Overhead Test || 30439.9 -> 30865.7 +1.40%
Dhrystone 2 without register variables || 49611.7 -> 50300.9 +1.39%
C Compiler Test || 45.0 -> 45.5 +1.11%
Recursion Test--Tower of Hanoi || 719.5 -> 726.4 +0.96%
Arithmetic Test (type = long) || 8354.6 -> 8363.7 +0.11%
Arithmetic Test (type = double) || 5060.7 -> 5062.7 +0.04%
Arithmetic Test (type = float) || 5060.5 -> 5062.4 +0.04%
Arithmetic Test (type = arithoh) || 127034.2 -> 127078.2 +0.03%
Arithmetic Test (type = register) || 8361.1 -> 8363.9 +0.03%
Arithmetic Test (type = int) || 8360.6 -> 8363.3 +0.03%
Shell scripts (8 concurrent) || 11.0 -> 11.0 +0.00%
Arithmetic Test (type = short) || 7503.5 -> 7503.2 -0.00%
Dhrystone 2 using register variables || 50068.8 -> 49969.4 -0.20%
Shell scripts (2 concurrent) || 44.3 -> 44.1 -0.45%
Shell scripts (1 concurrent) || 84.7 -> 83.6 -1.30%
Process Creation Test || 128.1 -> 126.3 -1.41%
Pipe Throughput Test || 18774.0 -> 18485.1 -1.54%
Shell scripts (4 concurrent) || 22.0 -> 21.2 -3.64%

--8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<--

From:
* Linux pimpinel.fluido.org 1.3.10 #20 Thu Jul 13 20:58:09 MET DST 1995 i486
* Thu Jul 13 23:00:34 MET DST 1995

To:
* Linux pimpinel.fluido.org 1.3.12 #23 Wed Jul 19 21:55:21 MET DST 1995 i486
* Wed Jul 19 22:00:21 MET DST 1995

*******
Results
*******

Pipe-based Context Switching Test || 3007.4 -> 9969.6 +231.50%
Execl Throughput Test || 60.9 -> 62.8 +3.12%
Dhrystone 2 without register variables || 49789.8 -> 50300.9 +1.03%
File Read (30 seconds) || 96174.0 -> 97056.0 +0.92%
Dhrystone 2 using register variables || 49723.4 -> 49969.4 +0.49%
Recursion Test--Tower of Hanoi || 723.1 -> 726.4 +0.46%
Arithmetic Test (type = long) || 8340.3 -> 8363.7 +0.28%
Arithmetic Test (type = register) || 8347.6 -> 8363.9 +0.20%
System Call Overhead Test || 30830.2 -> 30865.7 +0.12%
Arithmetic Test (type = arithoh) || 126997.8 -> 127078.2 +0.06%
Arithmetic Test (type = double) || 5059.8 -> 5062.7 +0.06%
Arithmetic Test (type = float) || 5059.6 -> 5062.4 +0.06%
Arithmetic Test (type = int) || 8359.1 -> 8363.3 +0.05%
Arithmetic Test (type = short) || 7500.9 -> 7503.2 +0.03%
C Compiler Test || 45.5 -> 45.5 +0.00%
Shell scripts (8 concurrent) || 11.0 -> 11.0 +0.00%
Pipe Throughput Test || 18574.4 -> 18485.1 -0.48%
Shell scripts (2 concurrent) || 44.6 -> 44.1 -1.12%
File Read (10 seconds) || 93791.0 -> 92613.0 -1.26%
Shell scripts (1 concurrent) || 84.8 -> 83.6 -1.42%
File Write (10 seconds) || 9440.0 -> 9240.0 -2.12%
File Copy (30 seconds) || 1126.0 -> 1099.0 -2.40%
File Copy (10 seconds) || 1228.0 -> 1196.0 -2.61%
Dc: sqrt(2) to 99 decimal places || 5841.2 -> 5677.4 -2.80%
File Write (30 seconds) || 9453.0 -> 9136.0 -3.35%
Shell scripts (4 concurrent) || 22.2 -> 21.2 -4.50%
Process Creation Test || 139.0 -> 126.3 -9.14%

--8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<--

From:
* Linux pimpinel.fluido.org 1.2.10 #59 Tue Jun 13 09:46:17 MET DST 1995 i486
* Tue Jun 27 10:18:13 MET DST 1995

To:
* Linux pimpinel.fluido.org 1.3.12 #23 Wed Jul 19 21:55:21 MET DST 1995 i486
* Wed Jul 19 22:00:21 MET DST 1995

*******
Results
*******

Pipe-based Context Switching Test || 3446.9 -> 9969.6 +189.23%
Execl Throughput Test || 51.6 -> 62.8 +21.71%
File Write (10 seconds) || 8100.0 -> 9240.0 +14.07%
Shell scripts (8 concurrent) || 10.0 -> 11.0 +10.00%
Dhrystone 2 without register variables || 46284.2 -> 50300.9 +8.68%
C Compiler Test || 42.2 -> 45.5 +7.82%
Shell scripts (2 concurrent) || 41.0 -> 44.1 +7.56%
Shell scripts (1 concurrent) || 78.3 -> 83.6 +6.77%
System Call Overhead Test || 29238.2 -> 30865.7 +5.57%
Process Creation Test || 119.9 -> 126.3 +5.34%
File Copy (30 seconds) || 1054.0 -> 1099.0 +4.27%
File Read (30 seconds) || 93460.0 -> 97056.0 +3.85%
File Write (30 seconds) || 8911.0 -> 9136.0 +2.52%
Recursion Test--Tower of Hanoi || 709.2 -> 726.4 +2.43%
File Copy (10 seconds) || 1180.0 -> 1196.0 +1.36%
Shell scripts (4 concurrent) || 21.0 -> 21.2 +0.95%
Dhrystone 2 using register variables || 49802.4 -> 49969.4 +0.34%
Arithmetic Test (type = float) || 5055.6 -> 5062.4 +0.13%
Arithmetic Test (type = arithoh) || 126914.4 -> 127078.2 +0.13%
Arithmetic Test (type = register) || 8353.2 -> 8363.9 +0.13%
Arithmetic Test (type = long) || 8353.5 -> 8363.7 +0.12%
Arithmetic Test (type = int) || 8353.4 -> 8363.3 +0.12%
Arithmetic Test (type = double) || 5056.8 -> 5062.7 +0.12%
Arithmetic Test (type = short) || 7496.0 -> 7503.2 +0.10%
File Read (10 seconds) || 92743.0 -> 92613.0 -0.14%
Pipe Throughput Test || 18512.0 -> 18485.1 -0.15%
Dc: sqrt(2) to 99 decimal places || 5906.2 -> 5677.4 -3.87%

--8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<--

Enjoy!
Carlo

--
  *                                          ...Ma appena fuori tutto e' gomma,
* K * Carlo E. Prelz - fluido@telepac.pt      tutto e' cicca impiastricciata...
  *                                     (Marco Zappa-Niente cicca nella scuola)