tweak knfsd session slot table sizing
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | nfsd: increase DRC cache limitfs/ | +1 | 0 replies | |
| 2/2 | nfsd: give out fewer session slots as limit approachesfs/ | +5 | 8 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] tweak knfsd session slot table sizing
From: "J. Bruce Fields" <[email protected]>
Current client and server defaults can limit NFSv4.1+ mounts to as few as 4 per gigabytes of server RAM, and people have been running into the limit on upgrading the protocol version from 4.0 to 4.1.
Bump the limit. Also return smaller ca_maxrequests as the limit approaches instead of waiting till we have to fail CREATE_SESSION completely.
A few years ago Trond also posted some patches to dynamically resize existing sessions as limits approach--I'll revisit those at some point too.
The numbers chosen here are honestly still a little arbitrary, and we may tweak them again if we see more problems.
--b.
J. Bruce Fields (2):
nfsd: increase DRC cache limit
nfsd: give out fewer session slots as limit approaches
fs/nfsd/nfs4state.c | 5 +++++ fs/nfsd/nfssvc.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-)
Signature · 1 line
2.13.5