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.
Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/18048/
Subject:
LU-7689obdclass: limit lu_site hash table size on clientsProject: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 522c1eb4d2f5faf1fa87be07d9617df1439fc0d6