Bug 1028631
Summary: | NFS reads bottlenecked by NFS translator RPC processing | ||
---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Ben England <bengland> |
Component: | glusterd | Assignee: | Bug Updates Notification Mailing List <rhs-bugs> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Sudhir D <sdharane> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 2.1 | CC: | bengland, shaines, spradhan, vbellur |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-12-13 20:26:45 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Ben England
2013-11-08 22:11:06 UTC
The default I/O size is made to 1MB as kernel NFS. Snippet of commit: ================== Author: Santosh Kumar Pradhan <spradhan> Date: Thu Oct 17 16:17:54 2013 +0530 gNFS: Make NFS I/O size to 1MB by default For better NFS performance, make the default I/O size to 1MB, same as kernel NFS. Also refactor the description for read-size, write-size and readdir-size (i.e. it must be a multiple of 1KB but min value is 4KB and max supported value is 1MB). On slower network, rsize/wsize can be adjusted to 16/32/64-KB through nfs.read-size or nfs.write-size respectively. Change-Id: I142cff1c3644bb9f93188e4e890478177c9465e3 BUG: 1009223 Signed-off-by: Santosh Kumar Pradhan <spradhan> Reviewed-on: http://review.gluster.org/6103 Tested-by: Gluster Build System <jenkins.com> Reviewed-by: Shyamsundar Ranganathan <srangana> Reviewed-by: Anand Avati <avati> =============== > Another solution for large-file sequential I/O workloads is to enable larger > NFS RPCs, this solution is already upstream but there are some complications > associated with NFS flow control for writes, see bz 1008301. We should > enable setting max RPC "nfs.read-size" parameter to 1 MB, while defaulting > it to 128 KB, which would still double current size. The current I/O size supported by NFS server defaults to 1 MB (not 64KB anymore). The commit message is in comment # 1. You are correct, I'm using glusterfs-3.4.0.43.1u2rhs-1.el6rhs.x86_64 , which is RHS 2.1 Update 2, and in fact the NFS client does negotiate up to 1 MB RPC size on reads automatically, and performance is excellent. Close it. |