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-15.md | |
parent | 2f20511f442cecc764c817709c4358a149984766 (diff) | |
download | dna-backup-9a7f82c57d23b532c16ffdc446c248364a8b70e0.tar.gz dna-backup-9a7f82c57d23b532c16ffdc446c248364a8b70e0.zip |
add perf output
Diffstat (limited to 'docs/note-2021-09-15.md')
-rw-r--r-- | docs/note-2021-09-15.md | 25 |
1 files changed, 23 insertions, 2 deletions
diff --git a/docs/note-2021-09-15.md b/docs/note-2021-09-15.md index 8caf1cc..4b9dc9c 100644 --- a/docs/note-2021-09-15.md +++ b/docs/note-2021-09-15.md @@ -1,6 +1,27 @@ Added storage worker ==================== -## Time +This worker is charged to make IO calls when storing chunk data. This way writes +are asynchronous and `matchChunks` can continue without being interrupted. -`14:49:00.221` -> `14:51:34.009` = `00:02:33.788` +perf output +----------- + +``` + 238 109,33 msec task-clock # 1,597 CPUs utilized + 683 140 context-switches # 0,003 M/sec + 13 181 cpu-migrations # 0,055 K/sec + 65 129 page-faults # 0,274 K/sec + 657 925 115 947 cycles # 2,763 GHz + 1 007 554 842 920 instructions # 1,53 insn per cycle + 135 946 178 728 branches # 570,940 M/sec + 2 360 293 394 branch-misses # 1,74% of all branches + + 149,118546976 seconds time elapsed + + 226,961825000 seconds user + 18,354254000 seconds sys +``` + +This is not a huge improvement, but at the same time, hashes are stored which +makes them a lot faster to recover (no need for rehashing every existing chunk). |