Re: osd_scrub_chunk_min/max scrub_sleep?

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

 



Hi,

On Thu, Jun 18, 2015 at 3:09 AM, Tu Holmes <tu.holmes@xxxxxxxxx> wrote:
> Hey gang,
>
> Some options are just not documented well…
>
> What’s up with:
> osd_scrub_chunk_min
> osd_scrub_chunk_max

Those chunk sizes set how many to objects to scrub per execution of
the scrubber.

> osd_scrub_sleep

This sets how long to sleep between chunks.

I've never understood why you'd want osd_scrub_chunk_max !=
osd_scrub_chunk_min; I set them to the same value.

As an example, if you wanted to throttle the deep scrubs as much as
possible, this might do it:

osd_scrub_chunk_min = 1
osd_scrub_chunk_max = 1
osd_scrub_sleep = 0.1

But deep scrubs will take a (much) longer time to finish.

Cheers, Dan


>
>
>
> ===============================
> Tu Holmes
> Tu.Holmes@xxxxxxxxx
>
> _______________________________________________
> 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