Repository navigation
Conversation
|
FYI, the mclock queue size isn't working properly right now, but wpq does work. |
d59f966 to
748ba46
Compare
Signed-off-by: Mark Nelson <[email protected]>
Signed-off-by: Mark Nelson <[email protected]>
748ba46 to
98efbe9
Compare
|
mclock now appears to work properly. |
Same test failures in the parent commit from main, so I think they are unrelated to this PR. |
|
retest this please |
1 similar comment
|
retest this please |
Signed-off-by: Mark Nelson <[email protected]>
7680b33 to
d6789d4
Compare
|
Setting this back to DNM for the moment. I'm evaluating whether or not it's worth it to let threads spin for a short time before going to sleep for low-load clusters. |
7036270 to
7de1da1
Compare
Signed-off-by: Mark Nelson <[email protected]>
156a328 to
11e967e
Compare
|
This pull request has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs for another 30 days. |
|
This pull request has been automatically closed because there has been no activity for 90 days. Please feel free to reopen this pull request (or open a new one) if the proposed change is still appropriate. Thank you for your contribution! |
More details to come. Basic idea: We only wake up threads when the scheduler (or now double buffer) queue grows large. We only let them go to sleep when the queue gets small (governed by the per-shard thread id) We try to avoid contention on the shard lock and wait lock. We try to avoid notify spam by having per-thread condition variables and wait locks. In single OSD tests this has shown only minor improvement, however in multi-OSD tests with lots of per-node resource contention (8 NVMe, 3X rep, 1 Officinalis node) the results are fairly dramatic. These tests are with 3 shards, 8 threads each, 1 msgr thread vs main defaults:
Most of the focus now is on async messenger threading behavior and OSD interaction. We still want multiple messenger threads in some cases but we need to change their behavior to achieve good cycles/op numbers going forward. That, combined with on-going work inside bluestore to approve effiency should yield some nice gains.
Checklist
Show available Jenkins commands
jenkins retest this pleasejenkins test classic perfjenkins test crimson perfjenkins test signedjenkins test make checkjenkins test make check arm64jenkins test submodulesjenkins test dashboardjenkins test dashboard cephadmjenkins test apijenkins test docsjenkins render docsjenkins test ceph-volume alljenkins test ceph-volume toxjenkins test windows