From: Benjamin LaHaise <bcrl@redhat.com>
To: Linus Torvalds <torvalds@transmeta.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Horrible L2 cache effects from kernel compile
Date: Mon, 3 Mar 2003 14:03:56 -0500 [thread overview]
Message-ID: <20030303140356.G15363@redhat.com> (raw)
In-Reply-To: <b3gq31$2h8$1@penguin.transmeta.com>; from torvalds@transmeta.com on Tue, Feb 25, 2003 at 10:18:09PM +0000
On Tue, Feb 25, 2003 at 10:18:09PM +0000, Linus Torvalds wrote:
> Right now the "child" list is just a simple linked list, and changing
> that to something more complex might make it possible to get rid of the
> hash entirely. But increasing the size of individual dentries is a bad
> idea, so it would have to be something fairly smart.
Part of it is that some of the dentry is simply just too bloated. At
160 bytes, there must be something we can prune:
qstr.len - if anyone cares about 4GB long dentries, they
probably have other problems. could be a short
d_lock - 1 bit out of 4 bytes
d_vfs_flags - 2 bits out of 4 bytes
d_flags - 3 bits out of 4 bytes
d_move_count - rcu -- is it ever used on UP?
d_time - only used by network filesystems
*d_sb - rarely used, accessible via inode
*d_fsdata - mostly used by exotic/network filesystems
*d_cookie - only used when o_profile is active
In short, almost a third can be configured out of existence for some
setups, and others are candidates for being moved into filesystem specific
data.
-ben
--
Junk email? <a href=mailto:"aart@kvack.org">aart@kvack.org</a>
next prev parent reply other threads:[~2003-03-03 18:53 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-25 18:37 Horrible L2 cache effects from kernel compile Manfred Spraul
2003-02-25 18:41 ` Dave Hansen
2003-02-25 18:42 ` Andi Kleen
2003-02-25 19:29 ` Martin J. Bligh
2003-02-25 22:18 ` Linus Torvalds
2003-03-03 19:03 ` Benjamin LaHaise [this message]
2003-03-03 19:13 ` Linus Torvalds
2003-03-03 23:58 ` Alan Cox
2003-03-03 22:57 ` Andrew Morton
2003-03-03 23:01 ` Benjamin LaHaise
2003-03-03 23:09 ` Linus Torvalds
2003-03-05 20:19 ` dean gaudet
[not found] <3E5ABBC1.8050203@us.ibm.com.suse.lists.linux.kernel>
2003-02-25 16:16 ` Andi Kleen
2003-02-27 3:24 ` Dave Hansen
2003-02-27 16:36 ` Jan Harkes
[not found] ` <b3ekil$1cp$1@penguin.transmeta.com.suse.lists.linux.kernel>
[not found] ` <20030225170546.GA23772@morningstar.nowhere.lie.suse.lists.linux.kernel>
2003-02-25 17:20 ` Andi Kleen
2003-02-26 18:22 ` Jamie Lokier
-- strict thread matches above, loose matches on Subject: below --
2003-02-25 0:41 Dave Hansen
2003-02-25 0:59 ` William Lee Irwin III
2003-02-25 1:01 ` Dave Hansen
2003-02-25 3:15 ` John Levon
2003-02-25 3:15 ` William Lee Irwin III
2003-02-25 3:35 ` Andrew Morton
2003-02-25 4:13 ` Martin J. Bligh
2003-02-25 11:57 ` John Levon
2003-02-25 2:31 ` Linus Torvalds
2003-02-25 17:05 ` John W. M. Stevens
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=20030303140356.G15363@redhat.com \
--to=bcrl@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@transmeta.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