Warum ist denn der Test "Pipe-based Context Switching" kaputt?
So wie es aussieht, habe ich tatsächlich eine fehlerhafte Version erwischt und aufgrund deiner Frage die Messung auf meiner Test-VM (OpenVZ 7) noch mal mit einer gepatchten Version wiederholt. Siehe folgendes Ergebnis.
Code
BYTE UNIX Benchmarks (Version 5.1.3)Benchmark Run: So Sep 25 2016 11:53:02 - 12:21:004 CPUs in system; running 1 parallel copy of testsDhrystone 2 using register variables 29983985.1 lps (10.0 s, 7 samples)Double-Precision Whetstone 4694.4 MWIPS (9.0 s, 7 samples)Execl Throughput 1187.2 lps (29.6 s, 2 samples)File Copy 1024 bufsize 2000 maxblocks 815369.7 KBps (30.0 s, 2 samples)File Copy 256 bufsize 500 maxblocks 222323.7 KBps (30.0 s, 2 samples)File Copy 4096 bufsize 8000 maxblocks 1960080.2 KBps (30.0 s, 2 samples)Pipe Throughput 1567203.5 lps (10.0 s, 7 samples)Pipe-based Context Switching 217319.3 lps (10.0 s, 7 samples)Process Creation 3488.5 lps (30.0 s, 2 samples)Shell Scripts (1 concurrent) 3058.0 lpm (60.0 s, 2 samples)Shell Scripts (8 concurrent) 1334.5 lpm (60.0 s, 2 samples)System Call Overhead 3150621.6 lps (10.0 s, 7 samples)System Benchmarks Index Values BASELINE RESULT INDEXDhrystone 2 using register variables 116700.0 29983985.1 2569.3Double-Precision Whetstone 55.0 4694.4 853.5Execl Throughput 43.0 1187.2 276.1File Copy 1024 bufsize 2000 maxblocks 3960.0 815369.7 2059.0File Copy 256 bufsize 500 maxblocks 1655.0 222323.7 1343.3File Copy 4096 bufsize 8000 maxblocks 5800.0 1960080.2 3379.4Pipe Throughput 12440.0 1567203.5 1259.8Pipe-based Context Switching 4000.0 217319.3 543.3Process Creation 126.0 3488.5 276.9Shell Scripts (1 concurrent) 42.4 3058.0 721.2Shell Scripts (8 concurrent) 6.0 1334.5 2224.2System Call Overhead 15000.0 3150621.6 2100.4 ========System Benchmarks Index Score 1113.0------------------------------------------------------------------------BYTE UNIX Benchmarks (Version 5.1.3)Benchmark Run: So Sep 25 2016 12:21:00 - 12:49:084 CPUs in system; running 4 parallel copies of testsDhrystone 2 using register variables 115108972.5 lps (10.0 s, 7 samples)Double-Precision Whetstone 18653.4 MWIPS (9.1 s, 7 samples)Execl Throughput 9989.6 lps (30.0 s, 2 samples)File Copy 1024 bufsize 2000 maxblocks 700350.6 KBps (30.0 s, 2 samples)File Copy 256 bufsize 500 maxblocks 191846.2 KBps (30.0 s, 2 samples)File Copy 4096 bufsize 8000 maxblocks 1997244.1 KBps (30.0 s, 2 samples)Pipe Throughput 6033281.2 lps (10.0 s, 7 samples)Pipe-based Context Switching 916289.6 lps (10.0 s, 7 samples)Process Creation 24114.5 lps (30.0 s, 2 samples)Shell Scripts (1 concurrent) 16137.4 lpm (60.0 s, 2 samples)Shell Scripts (8 concurrent) 2348.8 lpm (60.0 s, 2 samples)System Call Overhead 5924319.7 lps (10.0 s, 7 samples)System Benchmarks Index Values BASELINE RESULT INDEXDhrystone 2 using register variables 116700.0 115108972.5 9863.7Double-Precision Whetstone 55.0 18653.4 3391.5Execl Throughput 43.0 9989.6 2323.2File Copy 1024 bufsize 2000 maxblocks 3960.0 700350.6 1768.6File Copy 256 bufsize 500 maxblocks 1655.0 191846.2 1159.2File Copy 4096 bufsize 8000 maxblocks 5800.0 1997244.1 3443.5Pipe Throughput 12440.0 6033281.2 4849.9Pipe-based Context Switching 4000.0 916289.6 2290.7Process Creation 126.0 24114.5 1913.8Shell Scripts (1 concurrent) 42.4 16137.4 3806.0Shell Scripts (8 concurrent) 6.0 2348.8 3914.7System Call Overhead 15000.0 5924319.7 3949.5 ========System Benchmarks Index Score 3064.7
Gegenüberstellung der Werte von vorher und nachher:
System Benchmarks Index Score bei einem vCore: 879.1 (ohne Patch)
System Benchmarks Index Score bei einem vCore: 1113.0 (mit Patch)
System Benchmarks Index Score bei vier vCores: 1946.2 (ohne Patch)
System Benchmarks Index Score bei vier vCores: 3064.7 (mit Patch)
Wer seinen Test noch mal mit der gepatchten Version wiederholen möchte, findet sie hier.