On Sat, Jan 03, 2004 at 07:05:43PM -0800, Andrew Morton wrote: > Alex Buell <alex.buell _at_ munted.org.uk> wrote: > > > > On Sat, 3 Jan 2004, Andrew Morton wrote: > > > > > John Lash <jlash _at_ speakeasy.net> wrote: > > > > > > > > As it stands, it will maintain as many unused entries as there are used entries. > > > > If this low memory system las a large, stable, number of inuse dentry objects, > > > > the unused entries will match it thereby holding double the memory and possibly > > > > causing the problem you see. > > > > > > Yup. There is a fix in 2.6.1-rc1 for this. > > > > Which change would that be? It would be nice to back-port that to 2.4.x if > > that's possible? > > It is not backportable. > > You could try increasing `count' in shrink_dcache_memory() and > shrink_icache_memory(). Also you should be using 2.4.23 or later because > it does have improvements in the memory reclaim area. Also, if there are any improvements considered for the 2.4 VM, it should be on top of the -aa series. That's where the latest updates are, and it doesn't make sence to work from a base that already has seperate improvements available. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo _at_ vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Follow-Ups:
- Re: inode_cache / dentry_cache not being reclaimed aggressivelyenough on low-memory PCsMarcelo Tosatti
- inode_cache / dentry_cache not being reclaimed aggressively enoughon low-memory PCsAlex Buell
- Re: inode_cache / dentry_cache not being reclaimed aggressivelyenough on low-memory PCsJohn Lash
- Re: inode_cache / dentry_cache not being reclaimed aggressivelyenough on low-memory PCsAndrew Morton
- Re: inode_cache / dentry_cache not being reclaimed aggressivelyenough on low-memory PCsAlex Buell
- Re: inode_cache / dentry_cache not being reclaimed aggressivelyenough on low-memory PCsAndrew Morton
- Prev by Date: Re: Should struct inode be made available to userspace?
- Next by Date: Re: 2.6.1-rc1-tiny1 tree for small systems
- Previous by thread: Re: inode_cache / dentry_cache not being reclaimed aggressivelyenough on low-memory PCs
- Next by thread: Re: inode_cache / dentry_cache not being reclaimed aggressivelyenough on low-memory PCs
- Indexes:[Main][Thread]