diff options
author | Oleg Drokin <green@linuxhacker.ru> | 2016-03-30 19:48:22 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-03-30 21:34:55 -0700 |
commit | 81108182bba96fcc738ddc912e9fcbb5afe01ef0 (patch) | |
tree | cff97565f9a6c04b0f6043d2c79cccd4f3aaea7f /tools/perf/scripts/python | |
parent | 56e18f8cdf057a8c6e68906ff584cf655ea1e328 (diff) |
staging/lustre/obdclass: limit lu_site hash table size
Allocating a big hash table using the formula for osd
does not really work for clients. We will create new
hash table for each mount on a single client which is
a lot of memory more than expected.
This patch limits the hash table up to 8M which has
524288 entries
Signed-off-by: Li Dongyang <dongyang.li@anu.edu.au>
Reviewed-on: http://review.whamcloud.com/18048
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-7689
Reviewed-by: Fan Yong <fan.yong@intel.com>
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Signed-off-by: Oleg Drokin <green@linuxhacker.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions