From: "Takashi Sato" <sho@tnes.nec.co.jp>
To: "'Andrew Morton'" <akpm@osdl.org>,
"'Andreas Dilger'" <adilger@clusterfs.com>,
<trond.myklebust@fys.uio.no>
Cc: <torvalds@osdl.org>, <viro@zeniv.linux.org.uk>,
<linux-kernel@vger.kernel.org>, <linux-fsdevel@vger.kernel.org>
Subject: RE: [PATCH 2/3] Fix problems on multi-TB filesystem and file
Date: Wed, 18 Jan 2006 21:54:36 +0900 [thread overview]
Message-ID: <000101c61c2e$59230b20$4168010a@bsd.tnes.nec.co.jp> (raw)
In-Reply-To: <20060113131947.05ee9ffc.akpm@osdl.org>
Hi,
> > > On the other hand, for a fairly fat .config which has 17 filesystems in
> > > .vmlinux:
> > >
> > > text data bss dec hex filename
> > > 4633032 1011304 248288 5892624 59ea10 vmlinux CONFIG_LSF=y
> > > 4633680 1011304 248288 5893272 59ec98 vmlinux CONFIG_LSF=n
> > >
> > > It's probably less 0.5 kbytes for usual embedded .config.
> > > I just don't think the benefit of CONFIG_LSF outweighs its costs.
I looked into the number of struct inode on slab of x86
in cases i_blocks is both 4 bytes and 8 bytes.
As the following tables, the number of inodes per slab is the same
in both cases. So at least on x86, there seems to be no influence for
the memory usage by extending inode->i_blocks.
In default configuration (CONFIG_QUOTA=ON, CONFIG_INOTIFY=ON):
-------------------------------------------------------------
In case inode->i_blocks is unsigned long
size of inode(byte) the number per slab
ext2_inode_info 588 6
ext3_inode_info 612 6
In case inode->i_blocks is unsigned long long
size of inode(byte) the number per slab
ext2_inode_info 592 6
ext3_inode_info 616 6
--------------------------------------------------------------
CONFIG_QUOTA=OFF, CONFIG_INOTIFY=OFF:
-------------------------------------------------------------
In case inode->i_blocks is unsigned long
size of inode(byte) the number per slab
ext2_inode_info 540 7
ext3_inode_info 564 7
In case inode->i_blocks is unsigned long long
size of inode(byte) the number per slab
ext2_inode_info 544 7
ext3_inode_info 568 7
--------------------------------------------------------------
> > Two options exist IMHO:
> > - remove the new CONFIG_* parameters and stick with CONFIG_LBD (this could
> > still use a separate type from sector_t if desired) to reduce the amount
> > of testing combinations needed
> > - make the new CONFIG_* default to on and allow it to be disabled with
> > CONFIG_BASE_SMALL
>
> Well yes, but we still have the printk problem.
>
> CONFIG_LFS would become a specialised option for embedded systems and
> for the minority of people who self-compile kernels. I just don't
> think that's worth the maintainability hassle.
I added CONFIG_LSF to use large filesystem over network with >2TB file
even on a small system as CONFIG_LBD disable. And I heard that some
people dislike network filesystems depending on block device.
Trond, do you have comments about integrating CONFIG_LFS and
CONFIG_LBD?
-- Takashi Sato
next prev parent reply other threads:[~2006-01-18 12:55 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-05 10:04 Takashi Sato
2006-01-13 2:33 ` Andrew Morton
2006-01-13 13:50 ` Takashi Sato
2006-01-13 20:28 ` Andrew Morton
2006-01-13 20:51 ` Andreas Dilger
2006-01-13 21:19 ` Andrew Morton
2006-01-18 12:54 ` Takashi Sato [this message]
2006-01-18 21:22 ` Trond Myklebust
-- strict thread matches above, loose matches on Subject: below --
2005-12-16 13:10 Takashi Sato
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='000101c61c2e$59230b20$4168010a@bsd.tnes.nec.co.jp' \
--to=sho@tnes.nec.co.jp \
--cc=adilger@clusterfs.com \
--cc=akpm@osdl.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@osdl.org \
--cc=trond.myklebust@fys.uio.no \
--cc=viro@zeniv.linux.org.uk \
/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
all inboxes | Powered by JetHome®