public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Artem Bityutskiy <dedekind@infradead.org>
To: Nancy <nancydreaming@gmail.com>
Cc: linux-mtd@lists.infradead.org
Subject: Re: Is there possible to integrate mtd ubi ubifs latest version in one git tree?
Date: Wed, 16 Apr 2008 09:11:09 +0300	[thread overview]
Message-ID: <1208326269.5965.253.camel@sauron> (raw)
In-Reply-To: <bae050c10804150504v6b07ac06m62459278f2b375d@mail.gmail.com>

On Tue, 2008-04-15 at 08:04 -0400, Nancy wrote:
> >  Then first of all you cannot use the default 4096 UBI WL threshold. Make
> >  it 256 for example. 4K is almost lifetime of your eraseblock!
>        Why 4K is almost lifetime of my eraseblock? the specs says 10K,
> how you result that number 4?
I meant they are close and you should use something an order of
magnitude less then 4K.

>        How to set the WL threshold? any equation?
No equation. I'd suggest 256 for you. There is a configuration option
for this.

>        When eraseblock counter exceed 2*WL threshold, it will be less
> used, move its data to seldom used eraseblock?
>        Why WL can't just simply pick up the min used PEB to be the
> next block to use?

Consider a situation when you have static data, which never changes, and
it sits a a subset of eraseblock N, while the rest of the flash is
intensively used. In this case UBI moves data from N to more worn-out
eraseblocks, and start using N. And the threshold says which should be
the difference between erase-counter of eraseblocks N and the other
ones, roughly speaking.

-- 
Best regards,
Artem Bityutskiy (Битюцкий Артём)

      reply	other threads:[~2008-04-16  6:14 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-11  6:48 Is there possible to integrate mtd ubi ubifs latest version in one git tree? Nancy
2008-04-12  9:57 ` Artem Bityutskiy
2008-04-12  9:59   ` Artem Bityutskiy
2008-04-12 10:10   ` Artem Bityutskiy
2008-04-14  4:46     ` Nancy
2008-04-14  9:05       ` Artem Bityutskiy
2008-04-15 11:41         ` Jamie Lokier
2008-04-15 11:44           ` Artem Bityutskiy
2008-04-15 15:21             ` Jamie Lokier
2008-04-15 15:41               ` Artem Bityutskiy
     [not found]         ` <bae050c10804140435v5141dec6qd61b325a4a1ff6ad@mail.gmail.com>
     [not found]           ` <1208173090.5965.187.camel@sauron>
2008-04-15 12:04             ` Nancy
2008-04-16  6:11               ` Artem Bityutskiy [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=1208326269.5965.253.camel@sauron \
    --to=dedekind@infradead.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=nancydreaming@gmail.com \
    /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