[NILFS users] NILFS space usage

Fernando Jiménez Solano fernandojs at alumnos.upm.es
Sat Oct 3 01:59:07 JST 2009


On Fri, Oct 02, 2009 at 06:20:41PM +0200, Barham, David wrote:
> I just used the default options on the mkfs and haven't changed any
> setting (other than debug) in nilfs_cleanerd.conf.

There's a parameter on nilfs_cleanerd.conf called protection_period.
It means checkpoints are kept intact at least that many seconds. You
may want to lower that. In addition, you can lower cleaning_interval
to make nilfs_cleanerd act more often, and raise nsegments_per_clean
to perform a more aggressive (and in my experience, CPU intensive)
cleaning.

Unless I'm doing insanely heavy writes or I have very little space
left, I find the defaults to work just fine, but yes, some kind of
autotuning feature in nilfs_cleanerd would be great.





More information about the users mailing list