On Saturday 10 October 2009, Andreas Dilger wrote: > On 8-Oct-09, at 22:28, Lundgren, Andrew wrote: > > Is there a way to set the lru_size to a fixed value and have it stay > > that way across mounts? > > > > I know it can be set using: > > $ lctl set_param ldlm.namespaces.*osc*.lru_size=$((NR_CPU*100)) > > But that isn’t retained across a reboot. > > "lctl set_param" is only for temporary tunable setting. You can use > "lctl conf_param" to set a permanent tunable.
Would you mind to provide an example line? I never understood the logic of lctl conf_param. This fails: lctl conf_param ldlm.namespaces.testfs-OST0002-osc.lru_size=800 error: conf_param: Invalid argument And this as well lctl conf_param testfs-MDT0000.ldlm.namespaces.testfs-OST0002-osc.lru_size=800 Thanks, Bernd -- Bernd Schubert DataDirect Networks _______________________________________________ Lustre-discuss mailing list Lustre-discuss@lists.lustre.org http://lists.lustre.org/mailman/listinfo/lustre-discuss