For the grep example 60+60+42=162 which is 2m42s. But user+sys (20+5) is 0m25s. What do i miss?
The wait time is not computed in the time output. This demonstration is IO bound. Basically, CPUs idle when waiting for IO.
In reply to Re^4: Threads From Hell #2: How To Parse A Very Huge File
by marioroy
in thread Threads From Hell #2: How To Search A Very Huge File [SOLVED]
by karlgoethebier
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |