Project

General

Profile

Support #904

Updated by Daniel Curtis almost 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: 
 pacman -S php-{gd, sqlite} 

 * Edit the php.ini file: 
 <pre> 
 nano /etc/php/php.ini 
 </pre> 
 #* And uncomment the following extensions socket extension to enable them: it: 
 <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/sample-pass-fail benchmark test: 
 <pre> 
 phoronix-test-suite benchmark pts/sample-pass-fail 
 </pre> 

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

 * Start the web server: 
 <pre> 
 phoronix-test-suite start-ws-server 
 </pre> 
 #* Navigate to http://localhost 

 * 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://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