PDA

View Full Version : New "Killer" Features For Phoronix Test Suite


Michael
04-26-2008, 06:31 PM
There's been a flurry of activity today with the git tree... Many changes and new additions.

Biggest ones:

- For NVIDIA cards, now the forced antialiasing and anisostropic filtering levels can be read by PTS. If a test runs (individually or part of a suite) that is of type "Graphics", it will report the AA and AF levels in the test notes section if the user had forced a level from the nvidia-settings area. Though as I know of no clean way to read the levels for ATI cards, that isn't implemented there.

- - PTS now has the infrastructure in place for polling the GPU temperature (another NVIDIA-only feature until AMD gets the needed information out to LM_Sensors project). In addition, if "MONITOR=gpu.temp" is set before running PTS, it will monitor the GPU temperature and once all tests are completed it will report the low, average, and high GPU temperatures at the end of the script. Since writing a threaded app in PHP isn't the best, for right now it's just recording the temperature in between each benchmark run. Below is a sample output showing this:

$ MONITOR=gpu.temp ./phoronix-test-suite benchmark norsetto-shadow
Norsetto-shadow is already installed, skipping installation routine...
Would you like to save these benchmark results (Y/n)? n

====================================
Norsetto Shadow (Run 1 of 2)
====================================

Average FPS: 59.8

====================================
Norsetto Shadow (Run 2 of 2)
====================================

Average FPS: 59.6

====================================
Norsetto Shadow:

59.8 Average FPS
59.6 Average FPS

Average: 59.70 Average FPS
====================================


====================================
GPU Thermal Statistics:

Low: 62°C
High: 64°C

Average: 63°C
====================================


I could build in the support to graph the GPU temperatures too, but I don't think that would be too useful.I'll be adding in monitoring support through LM_Sensors to do this also for the GPU fan speed as well as the system fan speeds, voltages, and other temperatures.

Michael
04-26-2008, 07:43 PM
If you have LM_Sensors installed, cpu.temp and sys.temp are also valid options now:

michael@trondheim:~/Desktop/phoronix-test-suite$ MONITOR=cpu.temp,sys.temp ./phoronix-test-suite benchmark encode-flac
Encode-flac is already installed, skipping installation routine...
Would you like to save these benchmark results (Y/n)? n

====================================
FLAC Audio Encoding (Run 1 of 3)
====================================

WAV To FLAC Encode Time: 13.97 Seconds

====================================
FLAC Audio Encoding (Run 2 of 3)
====================================

WAV To FLAC Encode Time: 13.95 Seconds

====================================
FLAC Audio Encoding (Run 3 of 3)
====================================

WAV To FLAC Encode Time: 13.97 Seconds

====================================
FLAC Audio Encoding:

13.97 Seconds
13.95 Seconds
13.97 Seconds

Average: 13.96 Seconds
====================================


====================================
CPU Thermal Statistics:

Low: 44.50°C
High: 45.50°C

Average: 45.10°C

System Thermal Statistics:

Low: 41.00°C
High: 41.00°C

Average: 41.00°C
====================================