Parallel Processing
noun
say it: “PAIR-uh-lel PRAH-ses-ing” /ˈpɛrəˌlɛl ˈprɑsɛsɪŋ/
Doing several jobs at the same time on different parts of the processor, so the whole set finishes sooner.
What is parallel processing?
Parallel processing means running several jobs side by side instead of in a line. A bakery with four ovens bakes four trays at once; a computer with several processor cores can resize several photos at once. Twelve one-second jobs take twelve seconds one after another, and about three seconds four at a time.
find photos -name '*.jpg' -print0 | xargs -0 -n 1 -P 4 ./resize.sh
In a sentence
- “With parallel processing, twelve one-second resizes took three seconds instead of twelve.”
- “xargs -P 4 is parallel processing four jobs at a time.”
Level: Journeyman · More Operating System terms at this level
Updated