]> Sergey Matveev's repositories - public-inbox.git/commit
grok-pull.post_update_hook: favor --sequential-shard for HDD
authorEric Wong <e@yhbt.net>
Thu, 13 Aug 2020 08:04:04 +0000 (08:04 +0000)
committerEric Wong <e@yhbt.net>
Fri, 14 Aug 2020 09:56:17 +0000 (09:56 +0000)
commit064811ca0fa11586159d0049476e64b70f7e34d1
tree0cd2f62d70a68e01dc82fd25cc336c05e138066b
parented04e9e16999b4624f884d0ab0b66ba16ae57691
grok-pull.post_update_hook: favor --sequential-shard for HDD

--sequential-shard offers better performance on HDD than -j0
since the on-disk active set can be kept small (with -j $HIGH_NUM).
--batch-size can also be helpful for systems with much RAM.
examples/grok-pull.post_update_hook.sh