Re: Scheduling deep-scrub operations

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

 



Have you tried adjusting osd_scrub_sleep? This together with
increasing the time for deep scrubs is usually the solution for
performance problems during scrubbing.
(Only increase time between scrubs if using Bluestore)

Paul

-- 
Paul Emmerich

Looking for help with your Ceph cluster? Contact us at https://croit.io

croit GmbH
Freseniusstr. 31h
81247 München
www.croit.io
Tel: +49 89 1896585 90

Am Fr., 14. Dez. 2018 um 14:22 Uhr schrieb Caspar Smit <casparsmit@xxxxxxxxxxx>:
>
> Thanks Dan!
>
> This seems to be added by the following commit:
>
> https://github.com/ceph/ceph/commit/87be7c70a17492c9e5f06e01722690acec7a2c51
>
> It contains a brief instruction on how to use it.
>
> PS. I agree with the other comments that the cluster needs to be able to handle deep-scrub during normal operation, expansion is on the way but until then this is a nice 'workaround'.
>
> Kind regards,
> Caspar
>
> Op vr 14 dec. 2018 om 13:58 schreef Dan van der Ster <dan@xxxxxxxxxxxxxx>:
>>
>> Luminous has:
>>
>> osd_scrub_begin_week_day
>> osd_scrub_end_week_day
>>
>> Maybe these aren't documented. I usually check here for available option:
>>
>> https://github.com/ceph/ceph/blob/luminous/src/common/options.cc#L2533
>>
>> -- Dan
>>
>>
>> On Fri, Dec 14, 2018 at 12:25 PM Caspar Smit <casparsmit@xxxxxxxxxxx> wrote:
>> >
>> > Hi all,
>> >
>> > We have operating hours from 4 pm until 7 am each weekday and 24 hour days in the weekend.
>> >
>> > I was wondering if it's possible to allow deep-scrubbing from 7 am until 15 pm only on weekdays and prevent any deep-scrubbing in the weekend.
>> >
>> > I've seen the osd scrub begin/end hour settings but that doesn't allow for preventing deep-scrubs in the weekend.
>> >
>> > Kind regards,
>> > Caspar
>> > _______________________________________________
>> > 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
_______________________________________________
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