From: "Jörn Engel" <joern@logfs.org>
To: Jamie Lokier <jamie@shareable.org>
Cc: linux-mtd@lists.infradead.org
Subject: Re: big flash disks?
Date: Wed, 4 Jun 2008 08:25:57 +0200 [thread overview]
Message-ID: <20080604062557.GB6492@logfs.org> (raw)
In-Reply-To: <20080603184428.GA6899@shareable.org>
On Tue, 3 June 2008 19:44:29 +0100, Jamie Lokier wrote:
>
> But he quites a high write IOP rate, which is sometimes taken to mean
> a high rate of database commits (e.g. fsync). That can't be done with
> eraseblock-sized writes.
I don't remember reading the words 'commit' or 'sync' in any of his
posts. ;)
> If it's not high commit rate, then the quoted IOP rate is misleading
> because you can do the same reordering thing with hard disks to get a
> high write rate. (Albeit hard disks suffer from random reads more if
> ordering writes disorders reads).
>
> If you think it's just reordering, not committing each 4k write one
> after the other quickly, I'll ask him about it.
At least on some of the cheaper SSDs I believe the only way to commit a
write is by writing the whole eraseblock. And if you don't explicitly
request that, the SSD will do it for you. Either way you take the
performance hit.
Alternatively he could walk up the tree for commits and store all higher
layers in the same eraseblock. 16k would be enough for a commit on
disks up to 512G in size, 20k up to 256T. On real flash that simply
won't fly, as GC will cause a deadlock sooner or later. With an SSD you
can still get away with it, as 4k writes without erases are slow, but at
least possible.
Jörn
--
Sometimes, asking the right question is already the answer.
-- Unknown
next prev parent reply other threads:[~2008-06-04 6:26 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-01 18:42 big flash disks? Jamie Lokier
2008-06-01 20:41 ` Josh Boyer
2008-06-02 5:59 ` Artem Bityutskiy
2008-06-02 8:23 ` Jörn Engel
2008-06-02 10:43 ` Jamie Lokier
2008-06-02 11:55 ` Jörn Engel
2008-06-02 12:32 ` Jamie Lokier
2008-06-03 18:09 ` Jörn Engel
2008-06-03 18:44 ` Jamie Lokier
2008-06-04 6:25 ` Jörn Engel [this message]
2008-06-02 7:28 ` Jörn Engel
2008-06-02 10:41 ` Jamie Lokier
2008-06-02 11:43 ` Jörn Engel
2008-06-02 12:48 ` Jamie Lokier
2008-06-03 18:12 ` Jörn Engel
2008-06-03 18:56 ` Jamie Lokier
2008-06-04 6:18 ` Jörn Engel
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=20080604062557.GB6492@logfs.org \
--to=joern@logfs.org \
--cc=jamie@shareable.org \
--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