performance improvements #342
No reviewers
Labels
No labels
action
check-aws
action
discussion-needed
action
for-external-contributors
action
for-newcomers
action
more-info-needed
action
need-funding
action
triage-required
kind
correctness
kind
ideas
kind
improvement
kind
performance
kind
testing
kind
usability
kind
wrong-behavior
prio
critical
prio
low
scope
admin-api
scope
background-healing
scope
build
scope
documentation
scope
k8s
scope
layout
scope
metadata
scope
ops
scope
rpc
scope
s3-api
scope
security
scope
telemetry
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Deuxfleurs/garage#342
Loading…
Reference in a new issue
No description provided.
Delete branch "lx-perf-improvements"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Performance improvements included in this PR:
Bytes
at a few places where appropriate, instead ofVec<u8>
, to reduce the number of copiesVec<Bytes>
instead of aVecDeque<u8>
. Replaces calls to.extend()
and.drain()
that were quite costly by a simpleconcat()
on a vec of slices which is much more optimizedspawn_blocking
NoSync
andNoMetaSync
to avoidfsync
at each transaction (extremely slow). Also increased number of LMDB readers to accomodate more intensive workloadsOther changes included in this PR:
tracing_subscriber
for logs, which allows to have timing of each event1b3df6017d
toebc20a8798
WIP: performance improvementsto performance improvements