Sometime there is the need to determine if a computer is "fast" and thus capable to run specific operations.
Is not easy to set up, run and interpret results of tests.
There are many way to do tests on machines, this one is open source, covers Linux, MacOs and Windows, is based on PHP so is highly portable and is quite complex to master just because is HUGE !
I collected in this article some of the direct experience learning and using this system to "assign a number" to a machine to understand if is decent or not.
What is it ?
Every operating system has some tools that allow to determine and measure some characteristics, like CPU speed, Networking, Memory management, etc.
In order to have some numbers related to the performance I decided to install on the machine the Phoronix Test Suite.
This test suite can run on Linux, MacOS and Windows.
These notes are mostly about Linux systems since is what I mainly use, especially on the DreamQuest machine.
The plan is to install the same tests suite on :
- DreamQuest machine
- Dell Precision T3600 machine
- MacOs machine
Installation
To start, go to the Pts github and clone it on the machine.
Open a terminal and digit :
git clone https://github.com/phoronix-test-suite/phoronix-test-suite.git
Be sure to have installed PHP with some extensions, in my case no PHP was installed so :
sudo apt install php
sudo apt install php-xml
In case of MacOs install PHP using brew :
brew install php
On Linux, once cloned and PHP installed, go in the cloned project and :
sudo ./install-sh
Usage
To use it, simply run :
phoronix-test-suite
command and if everything is OK (no errors or missing PHP extensions) will be possible to install some tests and execute them.
Note that for MacOs you must use the entire path indicating after the installation.
Tests
$ phoronix-test-suite interactive
Phoronix Test Suite v10.8.5
Interactive Benchmarking
PROCESSOR: Intel Xeon E5-2670 0 @ 3.30GHz
Core Count: 8
Thread Count: 16
Extensions: SSE 4.2 + AVX
Cache Size: 20 MB
Microcode: 0x621
Core Family: Sandy Bridge
Scaling Driver: intel_cpufreq schedutil
GRAPHICS: ASUS NVIDIA GeForce GT 710 2GB
Frequency: 954/2505MHz
BAR1 / Visible vRAM: N/A
OpenGL: 4.6.0
Display Driver: NVIDIA 470.256.02
Monitor: HP 22xi
Screen: 5760x1186
MOTHERBOARD: Dell Precision T3600 08HPGT
BIOS Version: A14
Chipset: Intel Xeon E5/Core
Audio: Realtek ALC269VB
Network: Intel 82579LM + D-Link RTL8139
MEMORY: 4 x 4GB DDR3-1333MT/s M393B5170EH1-CH9
DISK: 2000GB CT2000BX500SSD1
+ 2000GB Western Digital WD20EZAZ-00L
+ 3001GB My Book 1230
File-System: ext4
Mount Options: errors=remount-ro relatime rw
Disk Scheduler: MQ-DEADLINE
Disk Details: Block Size: 4096
OPERATING SYSTEM: Linuxmint 22.1
Kernel: 6.8.0-64-generic (x86_64)
Desktop: Cinnamon 6.4.8
Display Server: X Server 1.21.1.11
Compiler: GCC 13.3.0
Security: gather_data_sampling: Not affected
+ itlb_multihit: KVM: Mitigation of Split huge pages
+ l1tf: Mitigation of PTE Inversion; VMX: conditional cache flushes SMT vulnerable
+ mds: Mitigation of Clear buffers; SMT vulnerable
+ meltdown: Mitigation of PTI
+ mmio_stale_data: Unknown: No mitigations
+ reg_file_data_sampling: Not affected
+ retbleed: Not affected
+ spec_rstack_overflow: Not affected
+ spec_store_bypass: Mitigation of SSB disabled via prctl
+ spectre_v1: Mitigation of usercopy/swapgs barriers and __user pointer sanitization
+ spectre_v2: Mitigation of Retpolines; IBPB: conditional; IBRS_FW; STIBP: conditional; RSB filling; PBRSB-eIBRS: Not affected; BHI: Not affected
+ srbds: Not affected
+ tsx_async_abort: Not affected
1: Run A Test / Benchmark
2: Run A Suite [A Collection Of Tests]
3: Run A Stress Test [Concurrent Benchmarks For Heavy System Load]
4: Show System Hardware / Software Information
5: Show Available System Sensors
6: List Available Tests
7: List Recommended Tests
8: Search Tests / Suites / Results
9: Backup Results To Media Storage
10: Exit
Select Task:
- suite n. 9 - pts/cpu
- it requires the installation of 16 tests
- it takes about 5-6 hours to be completed
- suite n. 40 - pts/programmer
- it requires the installation of
- it takes about
16 on Linux, 10 on MacOs.
Purpose
Conclusion
- install the Phoronix Test Suite on all the systems to compare
- pick up the right set of tests based on the test purpose
- execute the tests on all the machine
- store the results (possibly on the OpenBenchmarking.org server)
- finally compare the results
No comments:
Post a Comment