Re: [PATCH] add some drop_caches documentation and info messsge

From: Mika BostrÃm
Date: Fri Oct 26 2012 - 03:55:53 EST


On Wed, Oct 24, 2012 at 01:48:36PM -0700, Andrew Morton wrote:
> Dave Hansen <dave@xxxxxxxxxxxxxxxxxx> wrote:
> > What kind of interface _is_ it in the first place? Is it really a
> > production-level thing that we expect users to be poking at? Or, is it
> > a rarely-used debugging and benchmarking knob which is fair game for us
> > to tweak like this?
>
> It was a rarely-used mainly-developer-only thing which, apparently, real
> people found useful at some point in the past. Perhaps we should never
> have offered it.

I've found it useful on occasion when generating large public keys.
When key generation hangs due to not-enough-entropy, dropping all
caches (followed by an intensive read) has allowed the system to
collect enough entropy to let the key generation finish.

Usefulness of the trick is probably going the way of the dodo, thanks to
SSD's becoming more common.

--
Mika BostrÃm Individualisti, eksistentialisti,
www.iki.fi/bostik rationalisti ja mulkvisti
GPG: 0x2AED22CC; 6FC9 8375 31B7 3BA2 B5DC 484E F19F 8AD6 2AED 22CC
--
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/