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

Andreas Dilger adilger at sun.com
Fri Oct 9 16:07:57 PDT 2009


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.

Cheers, Andreas
--
Andreas Dilger
Sr. Staff Engineer, Lustre Group
Sun Microsystems of Canada, Inc.




More information about the lustre-discuss mailing list