Bug 795635

Summary: FEATURE_REQUEST: need a way to enable/disable the setsockopt() on the socket
Product: [Community] GlusterFS Reporter: Amar Tumballi <amarts>
Component: transportAssignee: Vivek Agarwal <vagarwal>
Status: CLOSED CURRENTRELEASE QA Contact: Anush Shetty <ashetty>
Severity: urgent Docs Contact:
Priority: urgent    
Version: mainlineCC: bengland, gluster-bugs, sankarshan, vraman
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.4.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-07-24 17:50:36 UTC Type: ---
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: 817967    

Description Amar Tumballi 2012-02-21 05:42:43 UTC
Description of problem:
Currently, in glusterfs's socket transport, we don't have an option to turn off 'recv_buff' and 'send_buff' related setsockopt(). It is a very desirable feature to make it optional, and not perform setsockopt() by default, as most of the distributions, default setting of system may be good enough for performance. 

Version-Release number of selected component (if applicable):
master (upstream)


Additional info:
Critical feature

Comment 1 Anand Avati 2012-02-29 10:11:10 UTC
CHANGE: http://review.gluster.com/2821 (transport/socket: configuring tcp window-size) merged in master by Vijay Bellur (vijay)

Comment 2 Anand Avati 2012-04-19 19:02:08 UTC
CHANGE: http://review.gluster.com/3197 (rpc-transport/socket: Set NODELAY for connect socket) merged in master by Vijay Bellur (vijay)

Comment 3 Anush Shetty 2012-05-30 14:11:50 UTC
Verified with 3.3.0qa45 as part of performance tests.