Re: Name hashing function causing a perf regression

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Sep 14, 2014 at 7:49 PM, Tetsuo Handa
<penguin-kernel@xxxxxxxxxxxxxxxxxxx> wrote:
>
> I care, at least as of RHEL6 (2.6.32) kernels. Some users are using tmpfs
> in order to avoid dentry cache bouncing bomb (a series of simple stat() calls
> take about 10 seconds when there are 300,000,000+ unused dentries, P31 of
> http://I-love.SAKURA.ne.jp/tomoyo/LCJ2014-en.pdf ). I don't know performance
> on recent kernels.

Hmm. Probably not hugely different. It's still fairly easy to generate
a lot of negative dentries. Do you have an actual test program that
does this and is annoying? Do people actually do that?

It shouldn't be impossible to keep negative dentries in check without
getting rid of them *entirely*. They do speed up lots of common
operations (things like $PATH lookups etc, negative caches really are
useful).

            Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux