Re: 2.4.25 - large inode_cache

From: Marcelo Tosatti
Date: Thu Feb 26 2004 - 07:26:15 EST




On Thu, 26 Feb 2004, Christian Leber wrote:

> On Thu, Feb 26, 2004 at 02:33:14AM +0100, Jakob Oestergaard wrote:
> > Besides, after a few days of running, the machine will use about 100MB
> > of memory for cache, 100MB for buffers, about 100MB for userspace, and
> > the remaining 600-700 MB of memory for inode_cache and dentry_cache.
>
> I have the same problem (it's an dual PIII NFS fileserver with promise sx6000
> raid, 320 GB ext3 filesystem and only 512 MB Ram).
>
> After only 2 days running the bloatmeter output looks like:
> inode_cache: 336585KB 357234KB 94.21
> dentry_cache: 50305KB 56523KB 88.99
> size-32: 1516KB 1695KB 89.46
>
> free output is this:
> total used free shared buffers cached
> Mem: 515980 506464 9516 0 2272 19204
> -/+ buffers/cache: 484988 30992
> Swap: 1951856 7992 1943864

This should be normal behaviour -- the i/d caches grew because of file
system activitity. This memory will be reclaimed in case theres pressure.

Is the behaviour different from previous 2.4 or 2.6 kernels?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/