From: mel@skynet.ie (Mel Gorman)
To: Alexey Dobriyan <adobriyan@gmail.com>
Cc: akpm@osdl.org, torvalds@osdl.org, linux-kernel@vger.kernel.org,
linux-mm@vger.kernel.org, apw@shadowen.org
Subject: Re: Major mke2fs slowdown (reproducable, bisected)
Date: Wed, 14 Nov 2007 11:17:42 +0000 [thread overview]
Message-ID: <20071114111742.GB9566@skynet.ie> (raw)
In-Reply-To: <20071113165405.GA12837@skynet.ie>
On (13/11/07 16:54), Mel Gorman didst pronounce:
> fixes your problem.... As I write this, it occurs to me that it might be
> because your compile-job has created very long free-lists and searching them
> is causing problems.
This indeed did appear to be the problem. When a basic compile-job was
run first, the mke2fs times on a vanilla kernel were
119.96 real, 0.08 user, 19.85 sys
194.91 real, 0.11 user, 24.71 sys
102.24 real, 0.08 user, 10.47 sys
104.66 real, 0.08 user, 10.45 sys
100.77 real, 0.13 user, 10.54 sys
and with the patch reverted was
121.83 real, 0.15 user, 11.16 sys
126.68 real, 0.10 user, 10.78 sys
104.47 real, 0.09 user, 10.48 sys
104.75 real, 0.10 user, 10.66 sys
106.06 real, 0.09 user, 10.55 sys
The high sys times initially are due to the number of fallbacks that
take place as creating a filesystem creates an unusually large number of
pinned pages for a short-period of time. The search times usually
unmeasurably then show up in the profiles.
Reverting the patch is still the right solution. We will find an alternative
way of biasing the placement of pages without the expensive search.
--
Mel Gorman
Part-time Phd Student Linux Technology Center
University of Limerick IBM Dublin Software Lab
prev parent reply other threads:[~2007-11-14 11:17 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-12 18:25 Alexey Dobriyan
2007-11-12 18:39 ` Linus Torvalds
2007-11-12 21:34 ` Alexey Dobriyan
2007-11-12 22:15 ` Linus Torvalds
2007-11-13 16:25 ` Andi Kleen
2007-11-14 11:25 ` Mel Gorman
2007-11-13 16:54 ` Mel Gorman
2007-11-14 11:17 ` Mel Gorman [this message]
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=20071114111742.GB9566@skynet.ie \
--to=mel@skynet.ie \
--cc=adobriyan@gmail.com \
--cc=akpm@osdl.org \
--cc=apw@shadowen.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@vger.kernel.org \
--cc=torvalds@osdl.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
all inboxes | Powered by JetHome®