Overclock.net banner

1 - 3 of 3 Posts

·
Registered
Joined
·
296 Posts
Discussion Starter #1
Table of Contents
  1. Introduction
  2. Files Needed
  3. Install
  4. Test Hints
  5. Final Notes
  6. Change Log
  7. References
1) Introduction

Phoronix test suite is a very useful benchmarking tool for Linux. It allows users to run many different benchmarks to test all aspects of their system. This how-to is written for Ubuntu based systems and should work for any system that has Ubuntu as its base. A standard install of Phoronix is command line only and can be confusing for new users. This how-to will show you how to activate the gui available in the newest version available directly from the Phoronix website.

2) Files Needed

Here is what you will need. Download the the files for your system from the following list:

  1. Base package for 32 or 64bit systems
    http://www.phoronix-test-suite.com/r..._2.2.0_all.deb
  2. php5-gtk2 package
    64bit:http://www.phoronix-test-suite.com/m....1-0_amd64.deb
    32bit:http://deb.orangearchive.net/pool/di...0.1-1_i386.deb

3) Install


Once you have downloaded these packages open your favorite file manager go to the directory you downloaded them to and run the base package. This will open the package installer and allow you to install the first package. You now have the latest stable version of phoronix installed. Now run the second package you downloaded.

Next open a terminal so we can edit the php.ini file. You can use whatever text editor you prefer I am using gedit in this guide.

Code:

Code:
sudo gedit /etc/php5/cli/php.ini
Once you have opened the file look for the following section. You will need to add the text that I have highlighted in red.

Quote:
;;;;;;;;;;;;;;;;;;;;;;
; Dynamic Extensions ;
;;;;;;;;;;;;;;;;;;;;;;
;
; If you wish to have an extension loaded automatically, use the following
; syntax:
;
; extension=modulename.extension
;
; For example, on Windows:
;
; extension=msql.dll
;
; ... or under UNIX:
;
; extension=msql.so
;
; Note that it should be the name of the module only; no directory information
; needs to go here. Specify the location of the extension with the
; extension_dir directive above.

extension=php_gtk2.so
;;;;;;;;;;;;;;;;;;;
; Module Settings ;
;;;;;;;;;;;;;;;;;;;
Now save and exit.

type this in your terminal to run phoronix in gui mode:

Code:

Code:
phoronix-test-suite gui
4) Test Hints

There are many tests available and it is not always clear what they do. This post by Melcar from another thread gives some good suggestions for which tests to use for what.

Quote:

Originally Posted by Melcar View Post
On other news, this thread has given me an idea to put together a small, but comprehensive, benchmark profile (using PTS) specially for us OCNers
. CPU, RAM, HDD, GPU, will be the main categories, and each one will have a few tests; I want to keep the whole profile small (since you will be downloading all the tests before) so I think I will limit each section to 3 tests at most, maybe more if the tests are really small. Let me know what tests you think should be on there. These are my suggestions:

CPU
- c-ray (ray tracing test)
- ffmpeg or mencoder (video/audio encoding)
- timed mplayer or imagemagick compilation (kernel compile would take too long)
- super-pi
- 7zip or gzip compression

GPU
- glmark
- unigine tropics or sanctuary
- lightsmark
- gtkperf/qgears2
* games are way too big, but if you want to include one I suggest nexuiz

RAM
- ramspeed
- stream

Disk
- iozone

Suggestions welcomed
5) Final Notes


Since the gui is still "beta" for all intents and purposes, not all functionality is available. There are many options like profile creation that can only be done in the terminal. Typing

Code:

Code:
phoronix-test-suite
in the terminal will give you all available options. If you plan on running the gui from a menu such as Gnome or KDE it is advisable for you to edit your menu to run the gui from a terminal. This will allow the user to have more feed back from errors and give you the ability to monitor the progress of the test currently running. Just launch your menu editor, navigate to the PTS entry, and make it run on a terminal.

Finally, you may want to make your own PTS account. That way you can easily track all your results in the future. You can do this by logging into their website from the link in the reference section.

I hope you will find this how-to useful. I welcome any suggestions to improve it. If you find any mistakes please let me know.

6) Change Log

  1. Edited 9:54pm Dec 9th, 2009
    Made changes in reference to suggestions from Melcar's post.
7) References

  1. Special thanks to Melcar for is input in this and other threads.
  2. http://www.phoronix-test-suite.com/
  3. http://www.phoronix.com/forums/showt...t=16326&page=2
  4. http://en.wikipedia.org/wiki/Phoronix_Test_Suite
  5. http://deb.orangearchive.net/apt.php
  6. http://www.overclock.net/linux-unix/...enchmarks.html
 
  • Rep+
Reactions: Melcar

·
Premium Member
Joined
·
8,376 Posts
Nice. Users might want to change the gui to launch from a terminal if you choose to use menu entries; I've encountered several bugs from launching the gui alone in KDE. Just launch your menu editor, navigate to the PTS entry, and make it run on a terminal. This also allows you to get more feedback through the terminal so you can better see any errors or the progress of a test.
Also, since the gui is still "beta" for all intents and purposes, not all functionality is available. There are many options like profile creation that can only be done in the terminal. Doing a phoronix-test-suite in the terminal will give you all available options.
Finally, you may want to make your own PTS account. That way you can easily track all your results in the future.
 

·
Registered
Joined
·
296 Posts
Discussion Starter #3
Thanks for your suggestions Melcar. Edited How-to to reflect.
 
1 - 3 of 3 Posts
Top