Re: How to trim/discard ceph osds ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,


On 11/26/21 12:47 PM, Christoph Adomeit wrote:
Hi,

I am just wondering if it is recommended to regularly fstrim or discard ceph bluestore osds on flash memory
(ssds and nvmes) and how it is done and configured ?


fstrim and discard are filesystem level operations, since a filesystem has to keep track of unused space.

Bluestore OSDs do not use a traditional filesystem, but manage the raw device on their own. So there's no way to trigger a trimming run AFAIK.


But: there are configuration options to allow the OSD itself to trim free spaces:


- bdev enable discard

- bdev async discard


I haven't used them yet, so I cannot comment on how well they work, how much they impact performance etc.


Regards,

Burkhard


_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux