From: Carlos Carvalho <carlos@fisica.ufpr.br>
To: linux-raid@vger.kernel.org
Subject: Re: problem with recovered array
Date: Fri, 3 Nov 2023 11:16:57 -0300 [thread overview]
Message-ID: <ZUUA2U88VsGqGDmj@fisica.ufpr.br> (raw)
In-Reply-To: <ZUNfK1jqBNsm97Q-@vault.lan>
Johannes Truschnigg (johannes@truschnigg.info) wrote on Thu, Nov 02, 2023 at 05:34:51AM -03:
> for the record, I do not think that any of the observations the OP made can be
> explained by non-pathological phenomena/patterns of behavior. Something is
> very clearly wrong with how this system behaves (the reported figures do not
> at all match the expected performance of even a degraded RAID6 array in my
> experience) and how data written to the filesystem apparently fails to make it
> into the backing devices in acceptable time.
>
> The whole affair reeks either of "subtle kernel bug", or maybe "subtle
> hardware failure", I think.
Exactly. That's what I've been saying for months...
I found a clear comparison: expanding the kernel tarball in the SAME MACHINE
with 6.1.61 and 6.5.10. The raid6 array is working normally in both cases. With
6.1.61 the expansion works fine, finishes with ~100MB of dirty pages and these
are quickly sent to permanent storage. With 6.5.* it finishes with ~1.5GB of
dirty pages that are never sent to disk (I waited ~3h). The disks are idle, as
shown by sar, and the kworker/flushd runs with 100% cpu usage forever.
Limiting the dirty*bytes in /proc/sys/vm the dirty pages stay low BUT tar is
blocked in D state and the tarball expansion proceeds so slowly that it'd take
days to complete (checked with quota).
So 6.5 (and 6.4) are unusable in this case. In another machine, which does
hundreds of rsync downloads every day, the same problem exists and I also get
frequent random rsync timeouts.
This is all with raid6 and ext4. One of the machines has a journal disk in the
raid and the filesystem is mounted with nobarriers. Both show the same
behavior. It'd be interesting to try a different filesystem but these are
production machines with many disks and I cannot create another big array to
transfer the contents.
next prev parent reply other threads:[~2023-11-03 14:17 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-30 13:35 problem with recovered array eyal
2023-10-30 16:14 ` Roger Heflin
2023-10-31 2:35 ` eyal
2023-10-31 2:50 ` eyal
2023-10-31 3:21 ` Carlos Carvalho
2023-10-31 6:25 ` eyal
2023-10-31 9:29 ` eyal
2023-10-31 10:24 ` Roger Heflin
2023-10-31 21:40 ` eyal
2023-11-01 10:30 ` Roger Heflin
2023-11-01 13:08 ` eyal
2023-11-01 14:29 ` Roger Heflin
2023-11-02 8:34 ` Johannes Truschnigg
2023-11-02 11:27 ` eyal
2023-11-02 11:57 ` Roger Heflin
2023-11-02 13:05 ` eyal
2023-11-02 17:05 ` Roger Heflin
2023-11-02 23:23 ` eyal
2023-11-03 12:08 ` Roger Heflin
2023-11-02 12:29 ` eyal
2023-11-02 12:46 ` Reindl Harald
2023-11-03 14:16 ` Carlos Carvalho [this message]
2023-11-03 14:32 ` Dirty page flushing regression in 6.5.x vs 6.1.x Roman Mamedov
2023-11-03 15:57 ` problem with recovered array Roger Heflin
2023-11-03 22:38 ` eyal
2023-11-04 0:48 ` eyal
2023-11-04 1:01 ` Roger Heflin
2023-11-04 10:04 ` eyal
2023-10-31 12:39 ` Carlos Carvalho
2023-10-31 14:19 ` Roger Heflin
2023-10-31 19:20 ` Carlos Carvalho
2023-10-31 21:44 ` problem with recovered array [more details] eyal
2023-10-31 22:00 ` eyal
2023-11-01 4:31 ` [now urgent] problem with recovered array eyal
2023-11-01 6:44 ` eyal
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZUUA2U88VsGqGDmj@fisica.ufpr.br \
--to=carlos@fisica.ufpr.br \
--cc=linux-raid@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox