Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
LU-2263 ptlrpc: decrease ptlrpcd threads number
By default Lustre creates ptlrpcd for each hyper-thread which is too many for fat-core machine, this patch changed the default value to CPU core number, and set the upper limit to 32. Another change in this patch is, ptlrpc_abort_inflight() may release imp_lock and reschedule when it's necessary, to avoid one thread holding imp_lock for too long. This patch didn't apply CPU partition APIs to ptlrpcd, that will need more efforts. Signed-off-by: Liang Zhen <liang@whamcloud.com> Change-Id: I9c395d086258a66f8853dc432b11d49d0db03659 Revision-Id: 2
- Loading branch information
Showing
4 changed files
with
75 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters