Details
-
Improvement
-
Resolution: Fixed
-
Minor
-
None
-
9223372036854775807
Description
lu_site_init() will allocate a hash table during the setup of both client and osd,
which use the same default formula: we assume the lu_site cache can take up to 20% of total memory.
It makes sense for osd but on client, we are allocating a ~128M hash table on a 32G box per mount. To make it worse we are mounting multiple lustre fs on a box so it can take ~128M * mounts of memory.
We have lu_cache_percent as a module param but we should limit the hash table size by default on clients.