Re: TRIM / DISCARD run at low priority by the OSDs?

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

 



Hi,

I'm not sure for krbd, but with librbd, using trim/discard on the client,

don't do trim/discard on the osd physical disk.

It's simply write zeroes in the rbd image.

zeores write can be skipped since this commit (librbd related)
https://github.com/xiaoxichen/ceph/commit/e7812b8416012141cf8faef577e7b27e1b29d5e3
+OPTION(rbd_skip_partial_discard, OPT_BOOL, false)


Then you can still manage fstrim manually on the osd servers

----- Mail original -----
De: "Chad William Seys" <cwseys@xxxxxxxxxxxxxxxx>
À: "ceph-users" <ceph-users@xxxxxxxx>
Envoyé: Samedi 22 Août 2015 04:26:38
Objet:  TRIM / DISCARD run at low priority by the OSDs?

Hi All, 

Is it possible to give TRIM / DISCARD initiated by krbd low priority on the 
OSDs? 

I know it is possible to run fstrim at Idle priority on the rbd mount point, 
e.g. ionice -c Idle fstrim -v $MOUNT . 

But this Idle priority (it appears) only is within the context of the node 
executing fstrim . If the node executing fstrim is Idle then the OSDs are 
very busy and performance suffers. 

Is it possible to tell the OSD daemons (or whatever) to perform the TRIMs at 
low priority also? 

Thanks! 
Chad. 
_______________________________________________ 
ceph-users mailing list 
ceph-users@xxxxxxxxxxxxxx 
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com 
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com




[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