Bug 2223388

Summary: [RFE][Bluestore] add perf counters for bluefs allocation size strategy change
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Tomas Petr <tpetr>
Component: RADOSAssignee: Radoslaw Zarzynski <rzarzyns>
Status: NEW --- QA Contact: Pawan <pdhiran>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.1CC: akupczyk, bhubbard, ceph-eng-bugs, cephqe-warriors, nojha, sostapov, vumrao
Target Milestone: ---Keywords: FutureFeature
Target Release: 6.1z2Flags: akupczyk: needinfo? (tpetr)
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tomas Petr 2023-07-17 14:49:18 UTC
Description of problem:
BlueFS can automatically change allocation size from 64K to 4K 
due to possible performance impact or in general for being able to check without increased debug logging enabled, we would like to have easy option to see what BlueFS allocation strategy is being used by the OSD at this moment, or if it has been used in the past

The way to achieve it could be to add OSD perf counters with values like:
 - counter how many times allocation strategy changed
 - current allocation strategy (or something like 4K_alloc_size_strategy = true/false or 1/0 for current strategy)
 - last timestamp of the strategy change 
 

Version-Release number of selected component (if applicable):
RHCS 6.1+

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Scott Ostapovicz 2023-07-17 14:51:51 UTC
incorrectly targeted at 6.1 z1, retargeting to 6.1 z2.