Benchmark That Serial Port On Linux!

Written by Michael Larabel in Hardware on 5 October 2015 at 02:29 PM EDT. 22 Comments
HARDWARE
While it's 2015, a serial port benchmark was just added to the Phoronix Test Suite and OpenBenchmarking.org.


It's still being refined, but if you are interested, with the Phoronix Test Suite you can now run phoronix-test-suite benchmark serial-loopback if you want to verify your serial port is working correctly, assuming you have a loopback adapter installed or have wired the correct pins.


It comes down to this test profile for doing some writes to each detected serial port on Linux and verifying the read matches. Feedback is welcome if anyone else has any other ideas for stressing the serial port in a test.


Why add such a serial port test after so many years? In some industries, serial ports are still used and is all a matter of taking care of Phoronix Test Suite commercial customer needs. Now they can test their serial ports in a fully-automated and open-source manner while making use of Phoromatic, etc. If you're in need of commercial support or custom engineering services around the Phoronix Test Suite / Phoromatic / OpenBenchmarking.org, be sure to contact us.


The serial-loopback test also works as a nice example of a test profile for something that's not particularly performance-related but pass/fail.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week