diff options
author | 2016-12-02 19:53:17 -0500 | |
---|---|---|
committer | 2016-12-06 10:54:33 +0100 | |
commit | 817990ba1a1545875fed01a9014ac7f78dedf16d (patch) | |
tree | 8e9157ec764d161324353729e9d1a365a957dbef /tools/perf/scripts/python/export-to-postgresql.py | |
parent | staging: lustre: llite: Add client mount opt to ignore suppress_pings (diff) | |
download | wireguard-linux-817990ba1a1545875fed01a9014ac7f78dedf16d.tar.xz wireguard-linux-817990ba1a1545875fed01a9014ac7f78dedf16d.zip |
staging: lustre: obdclass: limit lu_site hash table size on clients
Allocating a big hash table using the current formula
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 for clients,
which has 524288 entries.
Signed-off-by: Li Dongyang <dongyang.li@anu.edu.au>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-7689
Reviewed-on: http://review.whamcloud.com/18048
Reviewed-by: Fan Yong <fan.yong@intel.com>
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
Signed-off-by: James Simmons <jsimmons@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions