diff options
author | Li Xi <[email protected]> | 2015-02-01 21:52:02 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2015-02-07 17:27:16 +0800 |
commit | 4d2c7b309d17a5609a5d4ede628d16828262ca00 (patch) | |
tree | 81cfa5759ce630b393f3805f539f2998f2b48a0a /tools/perf/scripts/python | |
parent | c00266e369b945945316dad3869342d07f4be868 (diff) |
staging/lustre/ldlm: high load because of negative timeout
When the time of LRU resizing exceeds waiting period of
recalculation, the ldlm daemon will keep on resizing without any
interval of rest. That will cause high CPU load.
This patch fixes the problem by setting the recalculation timestamp
after LRU resizing finishes rather than before it. What is more, an
interval of one second is enforced between each recalculation.
Signed-off-by: Li Xi <[email protected]>
Reviewed-on: http://review.whamcloud.com/11227
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-5415
Reviewed-by: Dmitry Eremin <[email protected]>
Reviewed-by: Bobi Jam <[email protected]>
Reviewed-by: Lai Siyao <[email protected]>
Signed-off-by: Oleg Drokin <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions