* Andrew Morton <[EMAIL PROTECTED]> wrote: > > > > ( we _do_ want to baloon the dentry cache otherwise - for things like > > > > "find" - having a fast VFS is important. But known-use-once things > > > > like the daily updatedb job can clearly be annotated properly. ) > > > > > > Mutter. /proc/sys/vm/vfs_cache_pressure has been there for what, > > > three years? Are any distros raising it during the updatedb run yet? > > > > but ... that's system-wide, and the 'dont baloon the dcache' is only a > > property of updatedb. > > Sure, but it's practical, isn't it? Who runs (and cares about) > vfs-intensive workloads during their wee-small-hours updatedb run?
there's another side-effect: it likely results in the zapping of thousands of dentries that were cached nicely before. So we might exchange 'all my apps are swapped out' experience with 'all file access is slow'. The latter is _probably_ still an improvement over the balooning, but i'm not sure. What we _really_ want is an updatedb that does not disturb the dcache. Ingo - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/