From: bugzilla-daemon@bugzilla.kernel.org
To: linux-ext4@vger.kernel.org
Subject: [Bug 20902] High IO wait when writing to ext4
Date: Thu, 25 Nov 2010 15:30:46 GMT [thread overview]
Message-ID: <201011251530.oAPFUkxi019525@demeter1.kernel.org> (raw)
In-Reply-To: <bug-20902-13602@https.bugzilla.kernel.org/>
https://bugzilla.kernel.org/show_bug.cgi?id=20902
--- Comment #20 from Theodore Tso <tytso@mit.edu> 2010-11-25 15:30:45 ---
Curtw's patch (at commit id: 8a57d9d61) also fixes the problem in the steady
state, once all of the block bitmap's statistics are loaded into memory. So
one thing we could do is to simply force the block bitmap scan at mount time.
It doesn't so much solve the problem as it moves it to a time when it might be
less objectionable. For 8TB file systems if it really does take 10 minutes
then we would have to mitigate this by (a) having mke2fs use a larger flex_bg
size automatically, and/or (b) loading up the block bitmap statistics in
parallel (which will help on RAID systems, but not when we have 8TB on a single
spindle; given that 3 and 4 TB disks are within the horizon in the next couple
of years, 8TB/spindle aren't that far out of reach).
Storing the largest contiguous free extent in a block group in the block group
might be another way of solving this problem. The reason why I don't like this
approach, though, is that it forces the implementation details of the buddy
bitmap implementation into the file system format. It's possible that we might
have N blocks free, where N might be say (for the sake of argument) 256 blocks.
But if those N blocks aren't aligned on a buddy bitmap allocation boundary,
mballoc won't find that free extent. It might see it as a free regions that
are 31 blocks, 32 blocks, 128 blocks, 64 blocks, and 1 block free.
--
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
next prev parent reply other threads:[~2010-11-25 15:30 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-22 8:56 [Bug 20902] New: High bugzilla-daemon
2010-10-22 8:56 ` [Bug 20902] High bugzilla-daemon
2010-10-22 8:57 ` bugzilla-daemon
2010-10-22 8:57 ` bugzilla-daemon
2010-10-22 8:58 ` bugzilla-daemon
2010-10-22 8:59 ` bugzilla-daemon
2010-10-22 9:08 ` bugzilla-daemon
2010-10-22 9:18 ` [Bug 20902] High IO wait when writing to ext4 bugzilla-daemon
2010-10-22 21:52 ` bugzilla-daemon
2010-10-22 21:54 ` bugzilla-daemon
2010-10-22 21:55 ` bugzilla-daemon
2010-10-29 16:11 ` bugzilla-daemon
2010-10-29 16:23 ` bugzilla-daemon
2010-10-29 18:08 ` bugzilla-daemon
2010-10-29 21:13 ` bugzilla-daemon
2010-10-29 21:46 ` bugzilla-daemon
2010-11-04 17:59 ` bugzilla-daemon
2010-11-04 18:46 ` bugzilla-daemon
2010-11-04 18:52 ` bugzilla-daemon
2010-11-24 3:14 ` bugzilla-daemon
2010-11-24 5:13 ` bugzilla-daemon
2010-11-24 18:41 ` bugzilla-daemon
2010-11-25 9:17 ` bugzilla-daemon
2010-11-25 15:30 ` bugzilla-daemon [this message]
2013-12-10 22:21 ` 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=201011251530.oAPFUkxi019525@demeter1.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.