From: MikeW <mw_phil@yahoo.co.uk>
To: linux-mtd@lists.infradead.org
Subject: Re: Strange automatic GC threshold ?
Date: Mon, 19 Mar 2007 19:04:56 +0000 (UTC) [thread overview]
Message-ID: <loom.20070319T200056-695@post.gmane.org> (raw)
In-Reply-To: 1174330410.30079.53.camel@zod.rchland.ibm.com
Josh Boyer <jwboyer <at> linux.vnet.ibm.com> writes:
>
> On Mon, 2007-03-19 at 19:17 +0100, Joakim Tjernlund wrote:
> > > I'd be interested to see how the behavior of GC differs with the
> > > proposed change. Theoretically, it seems to make sense to allow GC to
> > > make progress and it could help the "oh crap we're out of space" grind
> > > that seems to occur. My biggest concern would be if it actually made GC
> > > harder to do in the long run as the obsolete nodes could potentially get
> > > more scattered among the eraseblocks.
> >
> > Can't be worse than current behavior as now the system becomes painfully
> > slow long before it starts GC. Perhaps one need one threshold to start
> > GC due to dirtiness and another one when to stop?
>
> Well, it can though. If the obsolete nodes are scattered throughout the
> blocks and moving them doesn't actually make any single eraseblock
> totally obsolete then you've eliminated the effectiveness of GC
> completely. That problem exists today of course, but I'm concerned it
> could happen with more frequency if we're GCing sooner. Maybe I'm just
> paranoid.
>
> The often suggested idea of GCing into a completely separate block than
> the one you're writing into normally might help here. But I'm not sure
> how feasible that is at this moment.
>
> josh
Unfortunately, subjects like GC are notoriously easy to "improve" - only
to discover that the "improvement" either doesn't help, or makes things worse
or very bad in some situations.
For this, some kind of algorithm test by simulation would be a good idea.
In this way, many different scenarios can be "left to run" over many different
cases to compare performances and any delinquent behaviour.
Regards,
MikeW
next prev parent reply other threads:[~2007-03-19 19:05 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-19 16:16 Strange automatic GC threshold ? Joakim Tjernlund
2007-03-19 16:49 ` MikeW
2007-03-19 17:03 ` Josh Boyer
2007-03-19 17:21 ` Joakim Tjernlund
2007-03-19 17:35 ` Josh Boyer
2007-03-19 18:17 ` Joakim Tjernlund
2007-03-19 18:53 ` Josh Boyer
2007-03-19 19:04 ` MikeW [this message]
2007-03-22 12:42 ` Joakim Tjernlund
2007-03-19 18:23 ` MikeW
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=loom.20070319T200056-695@post.gmane.org \
--to=mw_phil@yahoo.co.uk \
--cc=linux-mtd@lists.infradead.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