Do not install this benchmark when running as root. The automated postgres database setup will silently error out, as it insists on being a non-root user. You can install Phoronix as root, but switch to another user to run the "/usr/bin/phoronix-test-suite install pts/pgbench" command. You can't use the benchmark after it's "installed" as root, because the "installation" is local to the user, in ~/.phoronix-test-suite/ directory, and setup will have failed if you do it as root.
Secondly, the benchmark will fail unless you create the following file:
..and put in it the following line(s) (where /home/YOURUSER is the home directory of the user that you are about to run the install as:
-Craig @ Halcyon Canada
Post by craighalcyon on 02 December 2011, 11.35.
If you'd like to isolate your I/O devices for this test, a quick way to do so is to create a new user with home directory on the FS you'd like to bench. Then su to that user and install/run the test. Postgres will be installed in ~/.phoronix-test-suite. You may even `usermod -d /tmp test` if you want to run from tmpfs and skip disk I/O altogether. Just beware that if your /tmp is tmpfs (RAM) you will lose all contents after a reboot.
This is a great test. Thanks to the developers. I use it often.
Post by boeroboy on 21 January 2014, 14.26.