Hi,
I'm not aware of any more granular approach. Until a few years ago we
used a deep-scrub script via cronjob to configure a ratio we wanted to
deep-scrub during a specific time window. During weekends the amount
of deep-scrubs was higher than on work days. Back then we had a HDD
cluster with a cache-tier on SSD and we needed the performance during
working hours.
This thread contains some form of it, I think there are several
versions of it online:
https://forum.proxmox.com/threads/ceph-schedule-deep-scrubs-to-prevent-service-degradation.38499/
We upgraded to (almost) all flash in the meantime so we're not that
sensitive anymore to the deep-scrub workload.
Regards,
Eugen
Zitat von Alex via ceph-users <[email protected]>:
Hello everyone.
We've been having issues with Deep Scrubs interfering with Ceph-backed VM
performance.
Hardware upgrade is unfortunately out of the question for now.
After much experimenting, asking and searching we've settled on cutting the
scrubs during the weekday hours which is when the deploys happen to a
couple of hours a night and letting the scrubs run for almost the entire
day during the weekend to catch up. There are still missed scrubs by the
EOW but i manually trigger them. It's not great but it works.
The way we do this is a cron job which changes the schedule on Friday night
and sets it back on Sunday.
For example
Mon-Fri deep scrub 1am-4am
Sat-Sun deep scrub 1am-11pm
The first question is there's nothing else i assume we can tweak? The
consecutive scrubs are already set to one, we can't upgrade the hardware,
we tried various scrub windows and just can't fit them in during the
weekdays without the cron job hack. Is there something obvious we missed?
The second question is, is there really no more granular schedule then
hours during which the deep scrub can run? The cron feels like a dirty hack.
There's the "osd_scrub_begin/end_week_day" setting but that doesn't do what
we need.
We want to do some scrubs during the week and the rest during the weekend.
Thanks.
_______________________________________________
ceph-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
_______________________________________________
ceph-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]