From: Dave Chinner <david@fromorbit.com>
To: mikhail <mikhail.v.gavrilov@gmail.com>
Cc: "linux-xfs@vger.kernel.org" <linux-xfs@vger.kernel.org>,
"linux-mm@kvack.org" <linux-mm@kvack.org>
Subject: Re: freezing system for several second on high I/O [kernel 4.15]
Date: Thu, 15 Feb 2018 16:44:36 +1100 [thread overview]
Message-ID: <20180215054436.GN7000@dastard> (raw)
In-Reply-To: <1518666178.6070.25.camel@gmail.com>
On Thu, Feb 15, 2018 at 08:42:58AM +0500, mikhail wrote:
> On Thu, 2018-02-15 at 08:52 +1100, Dave Chinner wrote:
> > On Thu, Feb 15, 2018 at 02:27:49AM +0500, mikhail wrote:
> > > On Mon, 2018-02-12 at 09:56 +1100, Dave Chinner wrote:
> > > > IOWs, this is not an XFS problem. It's exactly what I'd
> > > > expect to see when you try to run a very IO intensive
> > > > workload on a cheap SATA drive that can't keep up with what
> > > > is being asked of it....
> > > >
> > >
> > > I am understand that XFS is not culprit here. But I am worried
> > > about of interface freezing and various kernel messages with
> > > traces which leads to XFS. This is my only clue, and I do not
> > > know where to dig yet.
> >
> > I've already told you the problem: sustained storage subsystem
> > overload. You can't "tune" you way around that. i.e. You need a
> > faster disk subsystem to maintian the load you are putting on
> > your system - either add more disks (e.g. RAID 0/5/6) or to move
> > to SSDs.
>
>
> I know that you are bored already, but: - But it not a reason send
> false positive messages in log, because next time when a real
> problems will occurs I would ignore all messages.
I've already explained that we can't annotate these memory
allocations to turn off the false positives because that will also
turning off all detection of real deadlock conditions. Lockdep has
many, many limitations, and this happens to be one of them.
FWIW, is there any specific reason you running lockdep on your
desktop system?
> - I am not believe that for mouse pointer moving needed disk
> throughput. Very wildly that mouse pointer freeze I never seen
> this on Windows even I then I create such workload. So it look
> like on real blocking vital processes for GUI.
I think I've already explained that, too. The graphics subsystem -
which is responsible for updating the cursor - requires memory
allocation. The machine is running low on memory, so it runs memory
reclaim, which recurses back into the filesystem and blocks waiting
for IO to be completed (either writing dirty data pages or flushing
dirty metadata) so it can free memory.
IOWs, your problems all stem from long IO latencies caused by the
overloaded storage subsystem - they are propagate to all
aspects of the OS via direct memory reclaim blocking on IO....
Cheers,
Dave.
--
Dave Chinner
david@fromorbit.com
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next prev parent reply other threads:[~2018-02-15 5:44 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-30 18:40 freezing system for several second on high I/O [kernel 4.15] mikhail
2018-01-31 2:22 ` Dave Chinner
2018-02-05 3:25 ` mikhail
2018-02-06 3:47 ` mikhail
2018-02-06 6:08 ` Dave Chinner
2018-02-06 7:12 ` Mikhail Gavrilov
2018-02-07 3:40 ` mikhail
2018-02-07 6:55 ` Dave Chinner
2018-02-10 9:34 ` mikhail
2018-02-10 9:35 ` mikhail
2018-02-11 22:56 ` Dave Chinner
2018-02-14 21:27 ` mikhail
2018-02-14 21:52 ` Dave Chinner
2018-02-15 3:40 ` mikhail
2018-02-15 3:42 ` mikhail
2018-02-15 3:46 ` Matthew Wilcox
2018-02-15 5:44 ` Dave Chinner [this message]
2018-02-15 19:02 ` Mikhail Gavrilov
2018-02-15 21:48 ` Dave Chinner
2018-02-18 14:02 ` Mikhail Gavrilov
2018-02-19 5:02 ` Dave Chinner
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=20180215054436.GN7000@dastard \
--to=david@fromorbit.com \
--cc=linux-mm@kvack.org \
--cc=linux-xfs@vger.kernel.org \
--cc=mikhail.v.gavrilov@gmail.com \
/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;
as well as URLs for NNTP newsgroup(s).