Latency- test comes with LinuxCNC, you can run it with ' latency- test' from the prompt. For details, see WhatLatencyTestDoes. Let the test run for at least 15 minutes ( it has been suggested that the longer the better let it run for a day or overnight for instance) while you.