Benchmark That Serial Port On Linux!
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.
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.
22 Comments