Open main menu

DAVE Developer's Wiki β

Changes

Introduction
==Introduction==
This Technical Note shows how to run Phoronix Test Suite on the [[MISC-TN-004:_Running_Debian_(armbian)_on_SBCSPG#The_hardware_platform|SBCSBP gateway]]. For the sake of simplicity, the [[MISC-TN-004:_Running_Debian_(armbian)_on_SBCSPG|Debian Stretch distribution]] was used.
This test suite is convenient to estimate the performance of a target platform or to compare different platforms. The suite is extremely modular and tons of tests are available.
 
==Setting up the target==
The test suite is released as a architecture-independent package. As such, the installation is straightforward once the required PHP packages are installed onto the target.
 
The installation package is available [https://www.phoronix-test-suite.com/?k=downloads here].
 
==Results==
For the sake of simplicity, the <code>smallpt</code> suite was used to compare the results depending on the selected governor.
 
===Governor: <code>interactive</code>===
<pre class="board-terminal">
armbian@sbcspg:~$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
conservative ondemand userspace powersave interactive performance
armbian@sbcspg:~$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies
198000 396000 528000
armbian@sbcspg:~$ /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
-bash: /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor: Permission denied
armbian@sbcspg:~$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
interactive
 
armbian@sbcspg:~$ phoronix-test-suite benchmark smallpt
Would you like to upload the results to OpenBenchmarking.org (y/n): n
</pre> ===Governor: <code>performance</code>=== <pre class="board-terminal">...Do you want to view the text results of the testing (Y/n): benchmark-smallp-governor-performanceARMv7 Cortex-A7 testing on Debian 9.9 via the Phoronix Test Suite.  20230113-benchmark-smallp-governor-performance:   Processor: ARMv7 Cortex-A7 @ 0.53GHz (1 Core), Motherboard: Freescale i.MX6 Ultralite (Device Tree) UltraLite CB0046 SBCSPG rev.A, Memory: 494MB, Disk: 8GB SA08G  OS: Debian 9.9, Kernel: 4.1.15-rialto-1.1.3 (armv7l), Compiler: GCC 6.3.0 20170516, File-System: ext4   Smallpt 1.0 Global Illumination Renderer; 128 Samples Seconds < Lower Is Better 20230113-benchmark-smallp-governor-performance . 4073.91</pre> ===Governor: <code>userspace</code>===<pre class="board-terminal">armbian@sbcspg:~$ phoronix-test-suite benchmark smallpt  Evaluating External Test Dependencies ......................................................................................... Phoronix Test Suite v10.8.4  Installed: pts/smallpt-1.2.1 System Information   PROCESSOR: ARMv7 Cortex-A7 @ 0.53GHz Core Count: 1 Scaling Driver: imx6q-cpufreq userspace   GRAPHICS:   MOTHERBOARD: Freescale i.MX6 Ultralite  MEMORY: 494MB  DISK: 8GB SA08G File-System: ext4 Mount Options: data=ordered relatime rw Disk Details: Block Size: 4096   OPERATING SYSTEM: Debian 9.9 Kernel: 4.1.15-rialto-1.1.3 (armv7l) Compiler: GCC 6.3.0 20170516   Would you like to save these test results (Y/n):   Recently Saved Test Results: benchmark-smallp-governor-performance [Today] benchmark-smallp [Today]  Enter a name for the result file: benchmark-smallp-governor-userspace-528MHz Enter a unique name to describe this test run / configuration: 20230113-benchmark-smallp-governor-userspace-528MHz If desired, enter a new description below to better describe this result set / system configuration under test.Press ENTER to proceed without changes. Current Description: ARMv7 Cortex-A7 testing on Debian 9.9 via the Phoronix Test Suite. New Description:   [Performance Tip] The CPU scaling governor is currently not set to performance. It's possible to obtain greater performance if using the performance governor.  To change behavior, run:   echo performance | tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor  Reference: https://openbenchmarking.org/result/1706268-TR-CPUGOVERN32   To stop showing performance tips, run: phoronix-test-suite unload-module perf_tips  Continuing in 5 seconds or press CTRL-C to stop the testing process. Smallpt 1.0: pts/smallpt-1.2.1 Test 1 of 1 Estimated Trial Run Count: 3 Estimated Time To Completion: 3 Hours, 23 Minutes [18:30 CET] Started Run 1 @ 15:08:20 Started Run 2 @ 16:15:33 Started Run 3 @ 17:22:37  Global Illumination Renderer; 128 Samples: 4028.008 4020.172 4019.183  Average: 4022.454 Seconds Deviation: 0.12%  Do you want to view the text results of the testing (Y/n): benchmark-smallp-governor-userspace-528MHzARMv7 Cortex-A7 testing on Debian 9.9 via the Phoronix Test Suite.  20230113-benchmark-smallp-governor-userspace-528MHz:   Processor: ARMv7 Cortex-A7 @ 0.53GHz (1 Core), Motherboard: Freescale i.MX6 Ultralite (Device Tree) UltraLite CB0046 SBCSPG rev.A, Memory: 494MB, Disk: 8GB SA08G  OS: Debian 9.9, Kernel: 4.1.15-rialto-1.1.3 (armv7l), Compiler: GCC 6.3.0 20170516, File-System: ext4   Smallpt 1.0 Global Illumination Renderer; 128 Samples Seconds < Lower Is Better 20230113-benchmark-smallp-governor-userspace-528MHz . 4022.45 |====================================================================  Would you like to upload the results to OpenBenchmarking.org (y/n): n</pre>===Conclusion===As detailed in the following table, the type of governor has basically no influence on the result.{| class="wikitable"|+!Governor!Result|-|interactive (default)|4027.15|-|performance|4073.91|-|userspace (528 MHz)|4022.45|}
4,650
edits