Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Mar 2021 17:34:47 +0200
From:      Andriy Gapon <avg@FreeBSD.org>
To:        Matt Churchyard <matt.churchyard@userve.net>, Mathieu Chouquet-Stringer <me+freebsd@mathieu.digital>
Cc:        "freebsd-fs@freebsd.org" <freebsd-fs@freebsd.org>
Subject:   Re: Scrub incredibly slow with 13.0-RC3 (as well as RC1 & 2)
Message-ID:  <13825648-7965-8a95-67a2-262cb50c2d71@FreeBSD.org>
In-Reply-To: <33eb78e2de404a77b271880dbee4c22e@SERVER.ad.usd-group.com>
References:  <YFhuxr0qRzchA7x8@weirdfishes> <202103221515.12MFFHRK015188@higson.cam.lispworks.com> <YFi6Lwh3ISn8UMvS@weirdfishes> <YFk11A/j7URClN/l@weirdfishes> <YFm3BTK/J9XY/mCN@weirdfishes> <202103241230.12OCUqur030001@higson.cam.lispworks.com> <YFs3jFT7sEaGeQCe@weirdfishes> <33eb78e2de404a77b271880dbee4c22e@SERVER.ad.usd-group.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 25/03/2021 10:55, Matt Churchyard wrote:
> Just an a aside, I did post a message a few weeks ago with a similar problem
> on 13 (as well as snapshot issues). Scrub seemed ok for a short while, but
> then ground to a halt. It would take 10+ minutes to go 0.01%, with everything
> appearing fairly idle. I finally gave up and stopped it after about 20 hours.
> Moving to 12.2 and
> rebuilding the pool,

This could make a huge difference, though.
Scrub performance significantly depends on the data layout.
The more sequential it is the better.
So, older (and more fragmented) pools are at disadvantage.

> the system scrubbed the same data in
> an hour, and I've just scrubbed the same system after a month of use with
> about 4 times the data in 3 hours 20. As far as I'm aware, both should be
> using effectively the same "new" scrub code.
> 
> Will be interesting if you find a cause as I didn't get any response to what
> for me was a complete showstopper for moving to 13.


-- 
Andriy Gapon

-- 
Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?13825648-7965-8a95-67a2-262cb50c2d71>