On Sat, Jan 03, 2004 at 06:27:42PM +0000, Alex Buell wrote: > On Sat, 3 Jan 2004, John Lash wrote: > > A couple of solutions come to mind. The one I like best would be to > > adjust the above code to make it conscious of the total memory in the > > system and keep nr_unused to a reasonable percentage. Another is to > > allow unused_ratio to be less than 1, Possibly some/proc entry to lower > > it (.5, .25, whatever), or to avoid the float, provide another parameter > > to do an integer divisor for unused_ratio. Something like: > > > > nr_unused - nr_used * unused_ratio / ratio_fraction > > That solution does seem be the best answer. Be sure to run your changes by roger luetger. He's working with the problems with lowmem machines and 2.6. - 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/
References:
- 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 PCsAlex Buell
- Prev by Date: Re: udev and devfs - The final word
- Next by Date: Kernel 2.6 USB-Mouse
- 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]