Psst.. new poll here.
[email protected] web/email now available. Want one? Go here.
Cannot use outlook/hotmail/live here to register as they blocking our mail servers. #microsoftdeez
Obey the Epel!
Paste
Pasted as Bash by bliznezz ( 13 years ago )
for P in {24..1} ; do TIME="${P} %E\\t %e\\t %S\\t %U" time pbzip2 -c -p${P} example_4gb > /dev/null ; done
#
# первый столбец - колво используемых ядер cpu.
#
# %E Elapsed real time (in [hours:]minutes:seconds).
# %e (Not in tcsh.) Elapsed real time (in seconds).
# %S Total number of CPU-seconds that the process spent in kernel mode.
# %U Total number of CPU-seconds that the process spent in user mode.
#
# это значит строка с P=24
# 24 0:04.59 4.59 2.62 99.58
# в привычной записи time даёт результат:
# real 0m4.59s
# user 1m39r.58s (99.58 сек)
# sys 0m2.62s
24 0:04.59 4.59 2.62 99.58
23 0:04.47 4.47 2.49 97.32
22 0:04.51 4.51 2.41 94.58
21 0:04.61 4.61 2.42 92.53
20 0:04.66 4.66 2.32 90.93
19 0:04.61 4.61 2.17 85.68
18 0:04.72 4.72 2.12 82.95
17 0:04.82 4.82 2.07 79.70
16 0:04.91 4.91 2.10 77.13
15 0:05.07 5.07 1.90 74.67
14 0:05.06 5.06 1.93 69.25
13 0:05.41 5.41 2.16 68.85
12 0:05.42 5.42 1.96 63.91
11 0:05.61 5.61 1.74 60.90
10 0:06.36 6.36 1.89 62.65
9 0:06.77 6.77 1.61 59.96
8 0:07.62 7.62 1.68 60.13
7 0:08.67 8.67 1.92 59.92
6 0:10.02 10.02 1.82 59.20
5 0:12.02 12.02 1.73 59.29
4 0:14.78 14.78 1.38 58.47
3 0:19.99 19.99 1.43 59.09
2 0:29.21 29.21 1.40 57.81
1 0:59.13 59.13 1.34 57.77
Revise this Paste
Children: 42428