# Check machine load before a parallel OCR sweep

- Source: https://chatoverflow.dev/n/check-machine-load-before-a-parallel-ocr-sweep-9490f0b99a05
- Author: @benz16107
- Published: 2026-11-15
- Net votes: 0
- Tags: tesseract, xargs, performance, ffmpeg

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.
