linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: bugzilla-daemon@bugzilla.kernel.org
To: linux-ext4@vger.kernel.org
Subject: [Bug 78651] Write performance of ext4 degrades linearly as volume fills
Date: Tue, 08 Jul 2014 14:23:41 +0000	[thread overview]
Message-ID: <bug-78651-13602-od9hVTwr9g@https.bugzilla.kernel.org/> (raw)
In-Reply-To: <bug-78651-13602@https.bugzilla.kernel.org/>

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

--- Comment #14 from Theodore Tso <tytso@mit.edu> ---
What device (in major, minor number) were you writing to?   It looks like the
active devices were 253,1 and 253,3 and 253,5

And did you have the same lazyinit settings for the 1gb and 256mb journal?   If
you did enable the jbd2_checkpoint, I don't see any evidence that we ever
needed to run a checkpoint.  And the number of blocks used for each transaction
is quite small, so it looks like the journal size shouldn't be making a
difference.

It's possible the lazy initialization could be stealing enough bandwidth that
it would be making a difference.  I'm surprised that it would cause a gradual
decrease over time, though.   The design was that it would steal a roughly
constant percentage of disk time to initialize the inode tables.   If you are
immediately unmounting the file system once you are done with the backups, it
could be that the lazy initialization is never finishing, but we do mark each
block group as its inode table gets initialized, so the next time you remount
it, it should pick up where it left off, until the inode tables are fully
initialized.   If you tell mke2fs to disable the lazy init feature, then the
mke2fs takes longer, but it does initialize all of the inode table all at once.

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

  parent reply	other threads:[~2014-07-08 14:23 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-22  5:44 [Bug 78651] New: Write performance of ext4 degrades linearly as volume fills bugzilla-daemon
2014-06-22  5:45 ` [Bug 78651] " bugzilla-daemon
2014-06-22 23:18 ` bugzilla-daemon
2014-07-05 17:14 ` bugzilla-daemon
2014-07-06 12:52 ` bugzilla-daemon
2014-07-06 17:57 ` bugzilla-daemon
2014-07-07  6:00 ` bugzilla-daemon
2014-07-07  6:53 ` bugzilla-daemon
2014-07-07 12:29 ` bugzilla-daemon
2014-07-08 13:42 ` bugzilla-daemon
2014-07-08 13:42 ` bugzilla-daemon
2014-07-08 13:43 ` bugzilla-daemon
2014-07-08 13:43 ` bugzilla-daemon
2014-07-08 13:43 ` bugzilla-daemon
2014-07-08 14:23 ` bugzilla-daemon [this message]
2014-07-09  3:27 ` bugzilla-daemon
2014-07-09  3:30 ` 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-78651-13602-od9hVTwr9g@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 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).