public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Artem Bityutskiy <dedekind@infradead.org>
To: Jason Liu <liu.h.jason@gmail.com>
Cc: Linux mtd <linux-mtd@lists.infradead.org>,
	Adrian Hunter <adrian.hunter@nokia.com>
Subject: Re: ubifs error when do bonnie++ test
Date: Wed, 15 Apr 2009 11:50:05 +0300	[thread overview]
Message-ID: <1239785405.3390.173.camel@localhost.localdomain> (raw)
In-Reply-To: <e8775dd00904150144w54bb1c31j1c50648190ede7f2@mail.gmail.com>

On Wed, 2009-04-15 at 16:44 +0800, Jason Liu wrote:
> We use 2 MLC nand flash to simulate this virtual device. Each NAND
> chip is 4K page size with 218 OOB size.
> We can parallel program each NAND chip in order to improve the write
> performance.

I see. Then you want to teach your setup understand sub-pages.
In your case the sub-page will be 2K. Then you'll waste much
less space in UBI. See here:
http://www.linux-mtd.infradead.org/doc/ubi.html#L_subpage

Note, with this all I/O will be in page size units (8K), only
UBI headers I/O will be in sub-page size units. So with this
you will preserve I/O speed, but lessen flash space wastage.

And just in case, please, make sure you have read this:
http://www.linux-mtd.infradead.org/faq/ubifs.html#L_ubifs_mlc

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

  reply	other threads:[~2009-04-15  8:50 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-02  5:44 ubifs error when do bonnie++ test Jason Liu
2009-04-02  8:07 ` Adrian Hunter
2009-04-02  9:49   ` Jason Liu
2009-04-02 12:12     ` Adrian Hunter
2009-04-02 12:25     ` Artem Bityutskiy
2009-04-10 12:27     ` Artem Bityutskiy
2009-04-13  6:50       ` Jason Liu
2009-04-14  6:17         ` Artem Bityutskiy
2009-04-15  8:44           ` Jason Liu
2009-04-15  8:50             ` Artem Bityutskiy [this message]
2009-04-15  8:51               ` Artem Bityutskiy
2009-04-15  8:55         ` Artem Bityutskiy

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=1239785405.3390.173.camel@localhost.localdomain \
    --to=dedekind@infradead.org \
    --cc=adrian.hunter@nokia.com \
    --cc=linux-mtd@lists.infradead.org \
    --cc=liu.h.jason@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