diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2021-08-24 17:15:25 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2021-08-24 21:30:32 -0700 |
commit | b4a6a215f5a0a044b56081ee9e4632e40a6ed4d4 (patch) | |
tree | 9c1108e72abfc30f38795bd99d42378bf2601e4d /src/humane.c | |
parent | 5dc0dff11ab1ff9ec0fc1edf22458942462fe5e3 (diff) |
verify-hashed-object: threaded offload via iou_async()
When a hashed object > 16KiB is encountered, give it to a worker
thread via the newly added iou_async(). The idea here is to not
hold up the serialized iou_run() machinery while grinding on a
large object.
16KiB was pulled out of thin air, I haven't done any profiling to
tune this threshold... just slapped this all together last night.
Will have to get some journals with larger objects for testing,
maybe some coredump.conf::Storage=journal situations, and do some
tuning and timing vs. journalctl --verify.
Diffstat (limited to 'src/humane.c')
0 files changed, 0 insertions, 0 deletions