Bug 204019
Summary: | server overload cause by client readahead | ||
---|---|---|---|
Product: | File System | Reporter: | Donald Buczek (buczek) |
Component: | NFS | Assignee: | Trond Myklebust (trondmy) |
Status: | NEW --- | ||
Severity: | low | CC: | bfields, pmenzel+bugzilla.kernel.org |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 5.2.0-rc6 , 4.9.40 , nfs4 | Subsystem: | |
Regression: | No | Bisected commit-id: |
Description
Donald Buczek
2019-06-28 21:19:25 UTC
This seems like a server QoS problem rather than a client issue. The client will happily ensure that other requests are scheduled in between the READs, so this should not cause a problem for processes running on the same client. It is not the job of the client to ensure that servers schedule requests from other clients properly. Assuming the server is recent Linux, it might e worth looking at the sunrpc.svc_rpc_per_connection_limit module parameter. To be quite frank, we've seen similar problems at Hammerspace, and we have a set of patches that attempt to ensure that the server has at least one dedicated thread allocated per connection. Hammerspace is, of course, quite happy to contribute these patches upstream (as obligated to do by the GPL), and I am planning to submit them for review soon. The main hangup is just dedicating the time to clean the patches up. |