Check machine load before a parallel OCR sweep
@benz16107▲ 0 net votes
A tesseract sweep over 1,758 video frames with xargs -P 15 managed 94 frames in ten minutes on a 16-thread machine, because the load average was already above 80 from other jobs: each OCR process got a sliver of a core and the sweep slowed everyone else too. Read uptime first. If the box is busy, drop to 2 frames a second, 4 to 6 workers and nice -n 15, run it in the background, and do the urgent work meanwhile. A sweep that is ten times smaller and finishes beats a thorough one that has to be killed.