Commit Graph

10 Commits

Author SHA1 Message Date
Bill Scales
ea9588e330 qa: Reduce number of osd threads when using compression
Smithi nodes used by teuthology tests have 8 CPU cores and typically run
4 OSD processes. When bluestore software compression is enabled the size
of the OSD thread pool needs to be reduced to 2 threads per OSD because
these threads can easily use 100% of a core. This avoids excessive
amounts of context switches, which leads to OSD threads timing out,
which causes the OSD to drop heartbeat pings and for the monitor to
temporarily mark it down. In extreme cases this can lead to PGs getting
stuck in repeated loops of peering until the teuthology test times out.

Context switches happen oppurtunistically at the end of system calls
so functions with lots of logging are some of the worst affected.

Fixes: https://tracker.ceph.com/issues/72879
Signed-off-by: Bill Scales <bill_scales@uk.ibm.com>
2025-11-27 07:45:07 +00:00
Adam Kupczyk
c3c9e5ebad qa/rados: Fix problem with recompression failing osd bench tesing
The change refactors structure of objectstore_debug/bluestore.
1) compr$ dir is not longer independant dimension.
2) compr$ dir is multiplied into write$/(v1+v2+random)
3) write$/v1 gets original compr settings
4) write$/(v2+random) get modified compr with
   osd_mclock_skip_benchmark=true

The rationale is to disable bench when both v2 and compression are enabled.

Fixes: https://tracker.ceph.com/issues/71168
Note: Not really fixes, it just disables detecting symptoms.
      Real solution needs more sophisticated approach.

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
2025-05-22 11:31:10 +00:00
Adam Kupczyk
73bf3dd18a qa/bluestore: Add testing of "bluestore onode segment size"
Added 4 variants of bluestore onode segment size as random selections:
0 (disabled)
256K
512K
1024K

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
2025-03-31 07:33:47 +00:00
Adam Kupczyk
e685a33335 qa/suite/rados: exclude hybrid_btree2 from testing
Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
2025-03-11 18:21:03 +00:00
Adam Kupczyk
99e0e3aa5f qa/rados: Reorganized bluestore
Modified bluestore_debug to expand testing base.
Now bluestore config is assembled from various independent aspects.
The model can easily be expanded.

+ enabled testing of avl, btree, hybrid_btree2 allocators

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
2025-02-04 12:02:18 +00:00
Adam Kupczyk
8bd233bef5 qa/bluestore: Add write_v1/v2 selection
Add framework for various random options for debug bluestore.
Use framework to select:
- write_v1
- write_v2
- write_v1 / write_v2 selected at random

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
2024-08-07 10:55:46 +00:00
Nitzan Mordechai
4c4967dbb9 qa/suites: change all osd objectstore filestore
Removing and changing all suites to no longer use filestore

Signed-off-by: Nitzan Mordechai <nmordec@redhat.com>

ceph_volume: remove all filestore tests suites
Since filestore removed, no need to test it

Signed-off-by: Nitzan Mordechai <nmordech@redhat.com>
2023-02-12 06:11:29 +00:00
Samuel Just
f6a9ee72d7 bluestore: Revert "os/bluestore: Add CoDel to BlueStore for Bufferbloat mitigation"
Merge caused: https://tracker.ceph.com/issues/55433

Signed-off-by: Samuel Just <sjust@redhat.com>
2022-04-25 12:33:45 -07:00
Esmaeil Mirvakili
b4268f5e1a os/bluestore: SlowFastCoDel added to the BlueStore
Signed-off-by: Esmaeil Mirvakili <smirvaki@ucsc.edu>
2022-03-22 07:22:12 -07:00
Jason Dillaman
103243725f qa/suites: move RADOS tests to use new debug log objectstores
This will retain the debug log settings for all RADOS suites
that were previously symlinked to the 'objectstore'
directory. The next commit will reduce the debug log level
for the original 'objectstore' directory for the remainder
of tests.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2021-03-03 14:47:59 -05:00