Benchmarking CPUs with xz
Test file: http://mattmahoney.net/dc/enwik9.zip enwik9.zip
xz for Windows: https://tukaani.org/xz/ xz-5.2.4-windows.zip
Procedure:
- Extract above file
- Single-threaded test:
- *nix/WSL:
time xz -k -T1 enwik9
- Windows:
Measure-Command { .\xz.exe -k -T1 .\enwik9 }
- All threads test: (rm enwiki9.xz first!)
- *nix/WSL:
time xz -k -T0 enwik9
- Windows:
Measure-Command { .\xz.exe -k -T0 .\enwik9 }
Multi-testing:
time xz -k enwik9 -T0 ; rm enwik9.xz ; time xz -k enwik9 -T 12 ; rm enwik9.xz ; time xz -k enwik9 -T1 ; rm enwik9.xz
Results
Machine | CPU | OS | Notes | -T1 | -T0 (specify # threads) |
---|---|---|---|---|---|
Precision 5510 | i7-6820HQ | Windows 10 Enterprise 1903 | 5.2.4 native from tukaani | 676 | 129 (8 threads HT) |
Precision 5510 | i7-6820HQ | Windows 10 Enterprise 1903 | 5.2.3 on Cygwin | 696 | 128 (8 threads HT) |
Precision Tower 3620 | E3-1270 v6 | Windows 10 Pro 1903 | 5.2.4 native from tukaani | 477 | |
Precision Tower 3620 | E3-1270 v6 | Ubuntu 19.10 LiveUSB | 5.2.4 | 431 | 97 (8 threads HT) |
HP Z640 | E5-1650 v3 | ||||
HP Proliant DL380 G9 | E5-2620 v3 | Arch LiveISO 2020.02 | 5.2.4 | (24 threads) | |
Dell Optiplex 5050 | i7-7700 | Ubuntu 19.10 LiveUSB | 5.2.4 | 429 | 118 (8 threads HT) |