public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: "Jörn Engel" <joern@wohnheim.fh-wedel.de>
To: "Artem B. Bityuckiy" <dedekind@yandex.ru>
Cc: linux-mtd@lists.infradead.org
Subject: Re: JFFS3 superblock search
Date: Mon, 6 Jun 2005 16:00:10 +0200	[thread overview]
Message-ID: <20050606140010.GE31739@wohnheim.fh-wedel.de> (raw)
In-Reply-To: <42A45382.5080301@yandex.ru>

On Mon, 6 June 2005 17:45:38 +0400, Artem B. Bityuckiy wrote:
> 
> providing the key is 16 bytes and the pointer is 8 bytes, the 4-level 
> B-tree is enough for (4096/24)^4 = 170^4 ~1E8. If this isn't enough we 
> may use more levels as well.

There are valid reasons to use 512 byte blocks instead.  Most likely I
will do just that for logfs, just as a hint.  Therefore, even with 8
byte keys, you'd be down to 32^4 or about a million.  Prepare for more
levels.

Jörn

-- 
I don't understand it. Nobody does.
-- Richard P. Feynman

  reply	other threads:[~2005-06-06 14:00 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-06 12:59 JFFS3 superblock search Artem B. Bityuckiy
2005-06-06 13:06 ` Artem B. Bityuckiy
2005-06-06 13:15 ` Jörn Engel
2005-06-06 13:45   ` Artem B. Bityuckiy
2005-06-06 14:00     ` Jörn Engel [this message]
2005-06-06 14:10       ` Artem B. Bityuckiy
2005-06-06 14:16         ` Jörn Engel
2005-06-06 14:22           ` Artem B. Bityuckiy
2005-06-06 14:39             ` Jörn Engel
2005-06-07 22:26               ` Jared Hulbert
2005-06-08  7:05                 ` Artem B. Bityuckiy
2005-06-06 14:17       ` Artem B. Bityuckiy
2005-06-06 14:19         ` 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=20050606140010.GE31739@wohnheim.fh-wedel.de \
    --to=joern@wohnheim.fh-wedel.de \
    --cc=dedekind@yandex.ru \
    --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