[ceph-users] Re: Ceph Bluestore tweaks for Bcache

2023-03-21 Thread Matthias Ferdinand
e correct settings > > > *permanently* across restarts: > > > > > > 1) Prepare OSD on fresh HDD with ceph-volume lvm batch --prepare ... > > > 2) Assign dm_cache to logical OSD volume created in step 1 > > > 3) Start OSD, restart OSDs, boot server ...

[ceph-users] Re: Ceph Bluestore tweaks for Bcache

2023-02-06 Thread Richard Bade
he to logical OSD volume created in step 1 > > > 3) Start OSD, restart OSDs, boot server ... > > > > > > I would assume that the HDD settings are burned into the OSD in step 1 > > > and will be used in all future (re-)starts without the need to do > > > an

[ceph-users] Re: Ceph Bluestore tweaks for Bcache

2023-02-01 Thread Matthias Ferdinand
re-)starts without the need to do anything > > despite the device being detected as non-rotational after step 2. Is this > > assumption correct? > > > > Thanks and best regards, > > = > > Frank Schilder > > AIT Risø Campus > > Byg

[ceph-users] Re: Ceph Bluestore tweaks for Bcache

2022-04-10 Thread Richard Bade
Ok, further testing and thinking... Frank, you mentioned about creating the osd without cache so that it'd be picked up as HDD not SSD. Also back in this thread Aleksandr mentioned that the parameter rotational in sysfs is used for this. So I checked what this parameter is being set to with bcache

[ceph-users] Re: Ceph Bluestore tweaks for Bcache

2022-04-10 Thread Richard Bade
logging. The "config show" commands > > will show what is in the config DB and not what is burned onto disk (and > > actually used). > > > > Best regards, > > ========= > > Frank Schilder > > AIT Risø Campus > > Bygning 109, rum S14 >

[ceph-users] Re: Ceph Bluestore tweaks for Bcache

2022-04-10 Thread Richard Bade
ly used). > > Best regards, > = > Frank Schilder > AIT Risø Campus > Bygning 109, rum S14 > > > From: Richard Bade > Sent: 08 April 2022 00:08 > To: Frank Schilder > Cc: Igor Fedotov; Ceph Users > Subject

[ceph-users] Re: Ceph Bluestore tweaks for Bcache

2022-04-05 Thread Richard Bade
Just for completeness for anyone that is following this thread. Igor added that setting in Octopus, so unfortunately I am unable to use it as I am still on Nautilus. Thanks, Rich On Wed, 6 Apr 2022 at 10:01, Richard Bade wrote: > > Thanks Igor for the tip. I'll see if I can use this to reduce th

[ceph-users] Re: Ceph Bluestore tweaks for Bcache

2022-04-05 Thread Richard Bade
Thanks, this should help me with some debugging around the setting Igor suggested. Rich On Tue, 5 Apr 2022 at 21:20, Rudenko Aleksandr wrote: > > OSD uses sysfs device parameter "rotational" for detecting device type > (HDD/SSD). > > You can see it: > > ceph osd metadata {osd_id} > > On 05.04.

[ceph-users] Re: Ceph Bluestore tweaks for Bcache

2022-04-05 Thread Richard Bade
Thanks Igor for the tip. I'll see if I can use this to reduce the number of tweaks I need. Rich On Tue, 5 Apr 2022 at 21:26, Igor Fedotov wrote: > > Hi Richard, > > just FYI: one can use "bluestore debug enforce settings=hdd" config > parameter to manually enforce HDD-related settings for a Blu

[ceph-users] Re: Ceph Bluestore tweaks for Bcache

2022-04-05 Thread Igor Fedotov
Hi Richard, just FYI: one can use "bluestore debug enforce settings=hdd" config parameter to manually enforce HDD-related  settings for a BlueStore Thanks, Igor On 4/5/2022 1:07 AM, Richard Bade wrote: Hi Everyone, I just wanted to share a discovery I made about running bluestore on top of

[ceph-users] Re: Ceph Bluestore tweaks for Bcache

2022-04-05 Thread Rudenko Aleksandr
OSD uses sysfs device parameter "rotational" for detecting device type (HDD/SSD). You can see it: ceph osd metadata {osd_id} On 05.04.2022, 11:49, "Richard Bade" wrote: Hi Frank, yes I changed the device class to HDD but there seems to be some smarts in the background that apply the

[ceph-users] Re: Ceph Bluestore tweaks for Bcache

2022-04-05 Thread Richard Bade
Hi Frank, yes I changed the device class to HDD but there seems to be some smarts in the background that apply the different settings that are not based on the class but some other internal mechanism. However, I did apply the class after creating the osd, rather than during. If someone knows how to