diff options
author | n-peugnet <n.peugnet@free.fr> | 2021-09-15 19:20:33 +0200 |
---|---|---|
committer | n-peugnet <n.peugnet@free.fr> | 2021-09-15 19:20:33 +0200 |
commit | 9a7f82c57d23b532c16ffdc446c248364a8b70e0 (patch) | |
tree | 2006f770c249d869faaf27d43e4f455d8935a091 /docs/note-2021-09-14.md | |
parent | 2f20511f442cecc764c817709c4358a149984766 (diff) | |
download | dna-backup-9a7f82c57d23b532c16ffdc446c248364a8b70e0.tar.gz dna-backup-9a7f82c57d23b532c16ffdc446c248364a8b70e0.zip |
add perf output
Diffstat (limited to 'docs/note-2021-09-14.md')
-rw-r--r-- | docs/note-2021-09-14.md | 43 |
1 files changed, 37 insertions, 6 deletions
diff --git a/docs/note-2021-09-14.md b/docs/note-2021-09-14.md index 14fb973..9e399da 100644 --- a/docs/note-2021-09-14.md +++ b/docs/note-2021-09-14.md @@ -1,17 +1,48 @@ -Perf improvements with concurent hash calculation +Perf improvements with concurrent hash calculation ================================================= -Using the source code dataset here are the new times: +Using the source code dataset here are the new perfs: + +``` + 254 541,85 msec task-clock # 1,333 CPUs utilized + 489 390 context-switches # 0,002 M/sec + 14 491 cpu-migrations # 0,057 K/sec + 109 170 page-faults # 0,429 K/sec + 702 598 342 141 cycles # 2,760 GHz + 1 191 229 091 705 instructions # 1,70 insn per cycle + 172 579 644 365 branches # 678,001 M/sec + 2 502 920 412 branch-misses # 1,45% of all branches + + 191,024430360 seconds time elapsed + + 247,992304000 seconds user + 15,759037000 seconds sys +``` -`19:38:46.745` -> `19:41:56.652` = `00:03:09,907` But this time I also had the good idea to close all my processes and to use a tmp directory for writing. +------------------------------------------------------------------------------- + With the same setup, the previous perf was: -`19:26:05.954` -> `19:29:20.805` = `00:03:14,851` +``` + 277 665,78 msec task-clock # 1,411 CPUs utilized + 853 639 context-switches # 0,003 M/sec + 27 276 cpu-migrations # 0,098 K/sec + 110 187 page-faults # 0,397 K/sec + 764 443 227 093 cycles # 2,753 GHz + 1 221 696 199 089 instructions # 1,60 insn per cycle + 178 891 873 274 branches # 644,271 M/sec + 2 578 200 052 branch-misses # 1,44% of all branches + + 196,744991354 seconds time elapsed + + 270,030535000 seconds user + 18,285378000 seconds sys +``` -So not that big of an improvement but it seems that at the same time CPU usage -has decreased a bit. Maybe because less synchronisation calls were made ? +So not that big of an improvement, but it seems that at the same time CPU usage +has decreased a bit. Maybe because less synchronization calls were made ? |