Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Aug 2020 13:28:50 -0400
From:      Karl Denninger <karl@denninger.net>
To:        freebsd-fs@freebsd.org
Subject:   Re: zfs scrub enable by default
Message-ID:  <5b5b179b-f478-3561-a3ea-3b2022cd9215@denninger.net>
In-Reply-To: <CANCZdfq2PneFvB4rnz2iGu5srFFFjs8N=7FwRO3DYjosESWXtQ@mail.gmail.com>
References:  <cca34d1a-1892-41ec-ce45-84865100c6e1@FreeBSD.org> <CAJjvXiEXEdAFXpXkGvt4fymA17kNdp6XkZV5taGKLoP2GvMHbw@mail.gmail.com> <d1b580da-1539-5fc9-f7a3-3f013bba4ef3@FreeBSD.org> <CANCZdfq2PneFvB4rnz2iGu5srFFFjs8N=7FwRO3DYjosESWXtQ@mail.gmail.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]

On 8/4/2020 13:25, Warner Losh wrote:
> On Tue, Aug 4, 2020 at 10:55 AM Steve Wills <swills@freebsd.org> wrote:
>
>> Hi,
>>
>> On 8/4/20 11:54 AM, Matthew Ahrens wrote:
>>> This question was raised elsewhere, and I agree with this reply from
>>> George Wilson, my colleague and an expert in the i/o subsystems of ZFS
>>> as well as having lots of experience with customers:
>>>
>>>      Having scrubs enabled by default is a great idea but at Sun (and
>>>      Delphix too) we found that the impact was often too much for some
>>>      workloads/customers. This is the challenge we faced and why there
>>>      was never a policy to enable it everywhere. We did explore ideas to
>>>      make the impact less and to be able to always scrub. Some of those
>>>      ideas included periodic or continuous scrubs where the impact could
>>>      be reduced by only scrubbing portions of the pool at a time, at a
>>>      reduced i/o rate. At Delphix, we have investigated similar concepts
>>>      and one of our interns prototyped one of the ideas.Much has changed
>>>      since the early scrub days and revisiting some of the earlier ideas
>>>      and investigating new ones is probably a good topic for the
>>>      community. I do think that just enabling scrub by default without
>>>      further enhancements would still be too impactful for some customers
>>>      but the concept definitely has merit.
>>>
>> Thanks for that! Very informative. I thought the Fishworks storage
>> appliances had it on by default, but maybe I'm mistaken or maybe it
>> changed over time.
>>
>> I wonder what "some" means, that is, is it 80% of people? 50%? 20? And
>> what percent would mean "too many" to have it on and expect them to tune
>> it if needed. I suppose there's no way to know.
>>
>> There are definitely some interesting ideas for how to limit the impact
>> of scrub, but those would definitely have to be built and proven, of
>> course.
>>
> Yea, without numbers, it's unclear what to do with this advice since it
> says both "do it" and "don't do it" depending on how you read it. Like
> Steve said, if "some" is 80% it's a clear case for not enabling by default.
> If it is 5% or 10%, then the case is clear to enable it by default...
>
> I'm in the 'enable by default' camp *NOW* and keep a close eye out for the
> next six months. If there's only a couple of issues, leave it for the
> release. If there's all kinds of issues, then turn it back off.
>
> Better scrubbing is always possible, depending on the workload. We have a
> much better scrubber than before, and I think we should at least try it by
> default absent data indicating a big issue.
>
> Warner
> _______________________________________________

It hammers the living daylights out of performance on a RaidZx 
filesystem. On a mirror set not nearly so much.

If you have an actual workload on that RaidZ system while it's running 
you are very likely to see material and objectionable performance 
impact.  If you can start it when there's no material load and it 
finishes before there is some you won't notice it, but if not, well.....

-- 
Karl Denninger
karl@denninger.net <mailto:karl@denninger.net>
/The Market Ticker/
/[S/MIME encrypted email preferred]/

[-- Attachment #2 --]
0	*H
010
	`He0	*H

00H^Ōc!5
H0
	*H
010	UUS10UFlorida10U	Niceville10U
Cuda Systems LLC10UCuda Systems CA1!0UCuda Systems LLC 2017 CA0
170817164217Z
270815164217Z0{10	UUS10UFlorida10U
Cuda Systems LLC10UCuda Systems CA1%0#UCuda Systems LLC 2017 Int CA0"0
	*H
0
h-5B>[;olӴ0~͎O9}9Ye*$g!ukvʶLzN`jL>MD'7U45CB+kY`bd~b*c3Ny-78ju]9HeuέsӬDؽmgwER?&UURj'}9nWD i`XcbGz\gG=u%\Oi13ߝ4
K44pYQr]Ie/r0+eEޝݖ0C15Mݚ@JSZ(zȏNTa(25DD5.l<g[[ZarQQ%Buȴ~~`IohRbʳڟu2MS8EdFUClCMaѳ!}ș+2k/bųE,n当ꖛ\(8WV8	d]b	yXw	܊:I39
00U]^§Q\ӎ0U#0T039N0b010	UUS10UFlorida10U	Niceville10U
Cuda Systems LLC10UCuda Systems CA1!0UCuda Systems LLC 2017 CA	@Ui0U00U0
	*H
:P U!>vJnio-#ן]WyujǑR̀Q
nƇ!GѦFg\yLxgw=OPycehf[}ܷ['4ڝ\[p6\o.B&JF"ZC{;*o*mcCcLY߾`
t*S!񫶭(`]DHP5A~/NPp6=mhk밣'doA$86hm5ӚS@jެEgl
)0JG`%k35PaC?σ
׳HEt}!P㏏%*BxbQwaKG$6h¦Mve;[o-Iی&
I,Tcߎ#t wPA@l0P+KXBպT	zGv;NcI3&JĬUPNa?/%W6G۟N000k#Xd\=0
	*H
0{10	UUS10UFlorida10U
Cuda Systems LLC10UCuda Systems CA1%0#UCuda Systems LLC 2017 Int CA0
170817212120Z
220816212120Z0W10	UUS10UFlorida10U
Cuda Systems LLC10Ukarl@denninger.net0"0
	*H
0
T[I-ΆϏdn;Å@שy.us~_ZG%<MYd\gvfnsa1'6Egyjs"C [{~_KPn+<*pv#Q+H/7[-vqDV^U>f%GX)H.|l`M(Cr>е͇6#odc"YljҦln8@5SA0&ۖ"OGj?UDWZ5	dDB7k-)9Izs-JAv
J6L$Ն1SmY.Lqw*SH;EF'DĦH]MOgQQ|Mٙג2Z9y@y]}6ٽeY9Y2xˆ$T=eCǺǵbn֛{j|@LLt1[Dk5:$=	`	M00<+00.0,+0 http://ocsp.cudasystems.net:88880	U00	`HB0U0U%0++03	`HB
&$OpenSSL Generated Client Certificate0U%՞V=؁;bzQ0U#0]^§Q\ӎϡ010	UUS10UFlorida10U	Niceville10U
Cuda Systems LLC10UCuda Systems CA1!0UCuda Systems LLC 2017 CAH^Ōc!5
H0U0karl@denninger.net0
	*H
۠A0-j%--$%g2#ޡ1^>{K+uGEv1ş7Af&b&O;.;A5*U)ND2bF|\=]<sˋL!wrw٧>YMÄ3\mWR hSv!_zvl? 3_ xU%\^#O*Gk̍YI_&Fꊛ@&1n”} ͬ:{hTP3B.;bU8:Z=^Gw8!k-@xE@i,+'Iᐚ:fhztX7/(hY` O.1}a`%RW^akǂpCAufgDixUTЩ/7}%=jnVZvcF<M=
2^GKH5魉
_O4ެByʈySkw=5@h.0z>
W1000{10	UUS10UFlorida10U
Cuda Systems LLC10UCuda Systems CA1%0#UCuda Systems LLC 2017 Int CAk#Xd\=0
	`HeE0	*H
	1	*H
0	*H
	1
200804172850Z0O	*H
	1B@2zJn>@} Q'"&nߠ4ApyrA֤a0l	*H
	1_0]0	`He*0	`He0
*H
0*H
0
*H
@0+0
*H
(0	+7100{10	UUS10UFlorida10U
Cuda Systems LLC10UCuda Systems CA1%0#UCuda Systems LLC 2017 Int CAk#Xd\=0*H
	10{10	UUS10UFlorida10U
Cuda Systems LLC10UCuda Systems CA1%0#UCuda Systems LLC 2017 Int CAk#Xd\=0
	*H
<fOZ##BG[k=G("U:.ByF̈́)H
'q=&bx(j[“Q<)8_K`sćuTʙ0B4%,dԻ
UR=Ȩ
mF֙.e!b~ٮ/aC kSsCC(l _lp~}1lN:£I'|o
_/9[`C-.~ܝMxu:1xx_VO
AXlo,R@l.DH;yˡf"Yr%
YRMgU Z_
H*
b^#@[=U"^;ysJW-k+ThzM]k</?I­M>Tɞ,kuZޞm
U=@aFB/L퐕?YY(z46GBzJe&u)D+8 ㄟO
@
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5b5b179b-f478-3561-a3ea-3b2022cd9215>