[Lustre-discuss] Is there a way to set lru_size and have it stick?

Bernd Schubert bernd.schubert at fastmail.fm
Mon Oct 12 10:01:29 PDT 2009


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



Thanks,
Bernd



More information about the lustre-discuss mailing list