October 30, 2014
 
 
RSSRSS feed

Benchmarking Linux With the Phoronix Test Suite - page 3

Worth Taking a Look

  • April 24, 2008
  • By Carla Schroder
Let's go ahead and run the Universe test suite. When you run a test or test suite for the first time, use the benchmark option because this installs or updates the tests, so running Universe should install everything you need:
$ ./phoronix-test-suite benchmark universe

This is going to take a long time, because it will download and compile many megabytes of files, so you might as well wander over to the Phoronix Test Suite Forums for the latest news and fixits. There isn't much in the way of documentation yet--Phoronix Test Suite Released is helpful. You'll also get useful information from running the list-tests and list-suites commands, and reading the scripts in phoronix-test-suite/pts/. For example, phoronix-test-suite/pts/benchmark-suites/universe.xml, once you wade through the XML tags, shows you which tests it runs.

After you have installed a new test or suite you can use the run option:
$ ./phoronix-test-suite run render-bench
Use the benchmark or install options to get updates. benchmark is equivalent to running install and then run.

When you run a test you can save the results with a name and a unique ID, which are anything you want, and at the end of the test display the results in a Web browser. The results are saved in ~/pts-test-results/, and you can see your saved tests with ./phoronix-test-suite list-results.

At the end of a test you will be asked if you want to upload your results to PTS Global Database for the world to see. You'll get a unique global ID, like mine: http://global.phoronix-test-suite.com/index.php?k=profile&u=carla-15991-4099-28839. This is a valuable comparison and collaboration tool, and you can run a comparison with existing profiles like this:

$ ./phoronix-test-suite merge-results [your saved test name] [global ID] [new name for merged results]

or

$ ./phoronix-test-suite merge-results ramspeed2 carla-15991-4099-28839 merged-ramspeed
You can also run a new test that duplicates an existing profile like this:
$ ./phoronix-test-suite benchmark carla-15991-4099-28839
If you run into problems, and you probably will, visit the Phoronix Test Suite Forums for help.

The plan is to release PTS 1.0 (the current version is 0.3.1) later this year, with a nice graphical interface and polished features. Contributors are welcome; see Phoronix Test Suite Released, p.5 for details.

Carla Schroder is the author of the Linux Cookbook and the newly-released Linux Networking Cookbook, and is a regular contributor to LinuxPlanet.

Sitemap | Contact Us