Re: [PATCH] sysctl: vfs_cache_divisor

From: Randy Dunlap
Date: Wed Mar 21 2007 - 19:03:03 EST


On Mon, 19 Mar 2007 21:22:33 -0700 H. Peter Anvin wrote:

> Randy Dunlap wrote:
> >>
> >> The we duplicate all the relevant /proc knobs:
> >>
> >> cat /proc/sys/vm/dirty_ratio
> >> 30
> >> cat /proc/sys/vm/hires-dirty_ratio/
> >> 300000
> >>
> >> Or we do something else ;)
> >
> > Sounds better. I wasn't very keen on the userspace interface that this
> > exposed. Will look at those.
> >
>
> Okay... may be I could throw a spanner in the machinery, and suggest
> another option: perhaps we should add a way to do sysctl which can
> handle fractional (fixed-point) values... more coherent/detailed message
> tomorrow.

I prefer the fixed-point values for pressure and dirty* to having
duplicated entries for each of them. I'll proceed with that idea.


---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
-
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/