簡單說,同一台 VM,只是換個 Mode 其餘不變,效能差三倍
使用 unixbench 測試
PV Mode
System Benchmarks Index Values | BASELINE | RESULT | INDEX |
---|---|---|---|
Dhrystone 2 using register variables | 116700.0 | 93713883.8 | 8030.3 |
Double-Precision Whetstone | 55.0 | 15201.5 | 2763.9 |
Execl Throughput | 43.0 | 1863.6 | 433.4 |
File Copy 1024 bufsize 2000 maxblocks | 3960.0 | 326645.9 | 824.9 |
File Copy 256 bufsize 500 maxblocks | 1655.0 | 88218.5 | 533.0 |
File Copy 4096 bufsize 8000 maxblocks | 5800.0 | 1070607.8 | 1845.9 |
Pipe Throughput | 12440.0 | 442183.4 | 355.5 |
Pipe-based Context Switching | 4000.0 | 87722.8 | 219.3 |
Process Creation | 126.0 | 2510.3 | 199.2 |
Shell Scripts (1 concurrent) | 42.4 | 5205.8 | 1227.8 |
Shell Scripts (8 concurrent) | 6.0 | 527.4 | 879.0 |
System Call Overhead | 15000.0 | 232973.8 | 155.3 |
System Benchmarks Index Score | 722.8 |
HVM Mode
System Benchmarks Index Values | BASELINE | RESULT | INDEX |
---|---|---|---|
Dhrystone 2 using register variables | 116700.0 | 98181600.3 | 8413.2 |
Double-Precision Whetstone | 55.0 | 15017.7 | 2730.5 |
Execl Throughput | 43.0 | 10649.2 | 2476.6 |
File Copy 1024 bufsize 2000 maxblocks | 3960.0 | 616466.9 | 1556.7 |
File Copy 256 bufsize 500 maxblocks | 1655.0 | 174158.9 | 1052.3 |
File Copy 4096 bufsize 8000 maxblocks | 5800.0 | 1833339.8 | 3160.9 |
Pipe Throughput | 12440.0 | 2909352.7 | 2338.7 |
Pipe-based Context Switching | 4000.0 | 499221.7 | 1248.1 |
Process Creation | 126.0 | 11382.2 | 903.3 |
Shell Scripts (1 concurrent) | 42.4 | 15033.6 | 3545.7 |
Shell Scripts (8 concurrent) | 6.0 | 2849.8 | 4749.6 |
System Call Overhead | 15000.0 | 1874689.8 | 1249.8 |
System Benchmarks Index Score | 2244.5 |