Bug 1284870

Summary: (RHEL7) Poor performance of sequential/streaming I/O over SMB
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Michael Adam <madam>
Component: sambaAssignee: rhs-smb <rhs-smb>
Status: CLOSED ERRATA QA Contact: Ben Turner <bturner>
Severity: unspecified Docs Contact:
Priority: high    
Version: rhgs-3.1CC: asriram, asrivast, byarlaga, gdeschner, hamiller, madam, nlevinki, pgurusid, rcyriac, sankarshan, sbhaloth
Target Milestone: ---Keywords: ZStream
Target Release: RHGS 3.1.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: samba-4.2.4-10.el7rhgs Doc Type: Enhancement
Doc Text:
With this release, asynchronous I/O from Samba to Red Hat Gluster Storage is supported. The 'aio read size' option is now set to 4096, which enables asynchronous I/0 for reads by default. This increases the throughput when the client is multithreaded or there are multiple programs accessing the same share.
Story Points: ---
Clone Of:
: 1292624 (view as bug list) Environment:
Last Closed: 2016-03-01 06:09:38 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:
Bug Depends On:    
Bug Blocks: 1260783, 1292624    

Description Michael Adam 2015-11-24 11:22:10 UTC
Description of problem:

Streaming read / write workloads perform poorly with Samba/SMB on top of Gluster, when compared to NFS or native client. On the other hand, on local file systems, SMB is fast.


More details to follow.

Comment 6 Ben Turner 2016-02-09 21:15:25 UTC
71% perf improvement on writes and 100% improvement on reads, verified.

Comment 7 Ben Turner 2016-02-09 21:17:53 UTC
Note that with Linux clients we SHOULD NOT be using AIO, there are issues with the cifs kernel module that need to be addressed before we recommend AIO with linux cifs.  AIO is recommended for Windows and is enabled by default.

Comment 10 Michael Adam 2016-02-24 11:09:10 UTC
looks good to me. Thanks!

Comment 12 errata-xmlrpc 2016-03-01 06:09:38 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-0326.html