On 27/11/2021 07.42, Andrei Borzenkov wrote:
On 27.11.2021 01:23, Carlos E. R. wrote:
Hi,
I was running a backup job, and I timed it. The output is weird:
(here some other times out of the screen, about 3 minute total)
real 161m35.208s user 216m2.220s sys 36m30.599s
real 10m27.555s user 14m33.090s sys 2m37.550s
real 11m7.647s user 14m39.255s sys 1m55.313s
total
real 184m27.589s user 247m7.060s sys 41m20.225s
Now, how can be the "real" time less than the user time?
Your program is multi-threaded or multi-tasked and runs on multiple CPU concurrently.
dd if=/dev/$1 status=progress bs=16M | tee mdpipe | pigz > $3.gz &
At least pigz is multithreaded as far as I remember.
Yes, it is. Ok, so the time of two threads. I see. Thanks. -- Cheers / Saludos, Carlos E. R. (from 15.2 x86_64 at Telcontar)