Project

General

Profile

Support #904

Updated by Daniel Curtis over 7 years ago

I recently wanted to benchmark one of my machines that had Windows on it, so rather than installing Arch onto a new hard drive, I installed Antergos onto a USB drive with XFCE and Phoronix Test Suite. This seemed like a more up to date alternative to the Phoronix Test Suite Desktop Live distro that seems to be dead in the water. 

 This is a simple guide for installing and using Phoronix on Arch Linux. 

 h2. Prepare the Environment 

 * Make sure they system is up to date: 
 <pre> 
 pacman -Syu 
 </pre> 

 h2. Install Phoronix Test Suite 

 * Install PTS: 
 <pre> 
 pacman -S phoronix-test-suite 
 </pre> 

 * Install a few php extensions and test dependencies: 
 <pre> 
 pacman -S php-{gd, sqlite} sdl sdl_net sdl_gfx sdl_image sdl_ttf yasm boost numactl gcc-fortran openmpi 
 </pre> 

 * Edit the php.ini file: 
 <pre> 
 nano /etc/php/php.ini 
 </pre> 
 #* And uncomment the following extensions to enable them: 
 <pre> 
 extension=bz2.so 
 extension=gd.so 
 extension=sockets.so 
 extension=sqlite3.so 
 </pre> 

 * List the available suites: 
 <pre> 
 phoronix-test-suite list-available-suites 
 </pre> 

 * List the available tests: 
 <pre> 
 phoronix-test-suite list-available-tests 
 </pre> 

 * Run the pts/cpu suite: 
 <pre> 
 phoronix-test-suite benchmark pts/cpu 
 </pre> 

 * Start the GUI: 
 <pre> 
 phoronix-test-suite gui 
 </pre> 

 * Check the php config for any problems: 
 <pre> 
 phoronix-test-suite php-conf 
 </pre> 

 * Run phoronix from the command line interactively: 
 <pre> 
 phoronix-test-suite interactive 
 </pre> 

 h2. Resources 

 * https://wiki.archlinux.org/index.php/benchmarking#Phoronix_Test_Suite 
 * https://www.phoronix-test-suite.com/documentation/phoronix-test-suite.html 
 * https://github.com/phoronix-test-suite/phoronix-test-suite 
 * https://wiki.ubuntu.com/PhoronixTestSuite 
 * https://smartystreets.com/blog/2015/10/performance-testing-with-phoronix 
 * http://dustymabe.com/2012/12/30/running-benchmarks-with-the-phoronix-test-suite/

Back