linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andi Kleen <andi@firstfloor.org>
To: Andreas Dilger <adilger@sun.com>
Cc: Andi Kleen <andi@firstfloor.org>,
	device-mapper development <dm-devel@redhat.com>,
	Neil Brown <neilb@suse.de>,
	linux-fsdevel@vger.kernel.org, linux-raid@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: How to handle >16TB devices on 32 bit hosts ??
Date: Sat, 18 Jul 2009 09:48:11 +0200	[thread overview]
Message-ID: <20090718074811.GA2682@basil.fritz.box> (raw)
In-Reply-To: <20090718065213.GK4231@webber.adilger.int>

On Sat, Jul 18, 2009 at 02:52:13AM -0400, Andreas Dilger wrote:
> If you aren't running a 32-bit system with this config, you shouldn't
> really care.  For those systems that need to run in this mode they
> would rather have it work a few percent slower instead of not at all.

Well, it doesn't work at all anyways due to the fsck problem.

> The last test numbers I saw were 5GB of RAM for a 20TB filesystem,
> but since the bitmaps used are fully-allocated arrays that isn't
> surprising.  We are planning to replace this with a tree, since the
> majority of bitmaps used by e2fsck have large contiguous ranges of
> set or unset bits and can be represented much more efficiently.

You would need to get <~2.5GB for 32bit. In practice that's
the limit you have there.

> Also, for filesystems like btrfs or ZFS the checking can be done
> online and incrementally without storing a full representation of
> the state in memory.

You could, but I suspect it would be cheaper to just use a
64bit system than to rewrite fsck. 64bit is available
for a lot of embedded setups these days too.

-Andi

-- 
ak@linux.intel.com -- Speaking for myself only.

  reply	other threads:[~2009-07-18  7:48 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-18  0:08 How to handle >16TB devices on 32 bit hosts ?? Neil Brown
2009-07-18  4:31 ` Andreas Dilger
2009-07-18  6:16   ` Andi Kleen
2009-07-18  6:52     ` Andreas Dilger
2009-07-18  7:48       ` Andi Kleen [this message]
2009-07-18 13:49         ` Theodore Tso
2009-07-18 14:21           ` Andi Kleen
2009-07-18 14:32             ` Andreas Dilger
2009-07-18 18:19             ` Christoph Hellwig
2009-07-29 15:07           ` Pavel Machek
2009-07-19  3:44         ` Tapani Tarvainen
2009-07-18  6:09 ` Andi Kleen
2009-07-22  6:59 ` Andrew Morton
2009-07-22 18:32   ` Andreas Dilger
2009-07-22 18:51     ` Andrew Morton

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=20090718074811.GA2682@basil.fritz.box \
    --to=andi@firstfloor.org \
    --cc=adilger@sun.com \
    --cc=dm-devel@redhat.com \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-raid@vger.kernel.org \
    --cc=neilb@suse.de \
    /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;
as well as URLs for NNTP newsgroup(s).