All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@bugzilla.kernel.org
To: linux-ext4@vger.kernel.org
Subject: [Bug 86471] drastic reduction of write performance after the termination of mysqld
Date: Fri, 17 Oct 2014 16:10:37 +0000	[thread overview]
Message-ID: <bug-86471-13602-j8BGLrBaa5@https.bugzilla.kernel.org/> (raw)
In-Reply-To: <bug-86471-13602@https.bugzilla.kernel.org/>

https://bugzilla.kernel.org/show_bug.cgi?id=86471

Theodore Tso <tytso@mit.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tytso@mit.edu

--- Comment #1 from Theodore Tso <tytso@mit.edu> ---
The mballoc_debug is only debugging the block allocator, which I suspect is not
the source of the slow down.   It might be better to use blktrace so we can see
what sort of I/O requests are being sent when mysql is shut down.

Does the performance go back to an acceptable level some time after the mysql
daemon is shut down?  It might be that mysql is simply writing out a lot of
things at shutdown, and this is causing the eMMC device to be slowed down due
to competing I/O traffic sent to it.

Another tool that is useful for monitoring write performance is to use "iostat
-x 1".  This will show you how much I/O is being done by the whole system, as
well as seeing if there is any backlog on the I/O request queues.

Your using dd to measure write performance is much like complaining that a
single car that is trying to get from point A to point B during rush hour is
taking a long time.   That does not necessarily mean that the highway is
defective!  It could be that there is simply a lot of competing traffic (i.e.,
other cars, aka other write requests from other processes on the system) which
is slowing down the traffic on the system.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

  reply	other threads:[~2014-10-17 16:10 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-17 13:14 [Bug 86471] New: drastic reduction of write performance after the termination of mysqld bugzilla-daemon
2014-10-17 16:10 ` bugzilla-daemon [this message]
2014-10-17 16:29 ` [Bug 86471] " bugzilla-daemon
2014-10-22 16:00 ` bugzilla-daemon
2014-10-22 20:22 ` bugzilla-daemon
2014-10-23 10:34 ` bugzilla-daemon
2014-10-23 16:36 ` bugzilla-daemon
2014-10-24 15:14 ` bugzilla-daemon
2014-10-24 15:34 ` bugzilla-daemon
2014-11-13 14:24 ` bugzilla-daemon
2014-11-13 14:33 ` bugzilla-daemon
2014-11-13 14:41 ` bugzilla-daemon

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=bug-86471-13602-j8BGLrBaa5@https.bugzilla.kernel.org/ \
    --to=bugzilla-daemon@bugzilla.kernel.org \
    --cc=linux-ext4@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.