[ https://issues.apache.org/jira/browse/SPARK-21701?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16123096#comment-16123096 ]
neoremind commented on SPARK-21701: ----------------------------------- Hi Sean, Thanks for your quick response. SO_RCVBUF and SO_SNDBUF are for TCP, and in server side, the two parameters are specified in {code:java} org.apache.spark.network.server.TransportServer {code} through SparkConf. If server side specify a bigger SO_RCVBUF size, while client does not have any place to set the corresponding param (although we can set the value in OS, if no set, use default value), then peers may set a relatively small sliding window size for later communication. Thus the param set in SparkConf in server side is useless and does not take effect as expected. To achieve consistency in both client and server side, enable client to get these params from SparkConf would make sense. Moreover, due to the fact that spark is not high throughput and performant C/S service system, it should not to be a big problem, so I set the ticket to improvement label and lower priority. In a word, my point is to keep a entrance to the outside world to set these params in client side and keep consistent with how server side specifies these params. Thanks > Add TCP send/rcv buffer size support for RPC client > --------------------------------------------------- > > Key: SPARK-21701 > URL: https://issues.apache.org/jira/browse/SPARK-21701 > Project: Spark > Issue Type: Improvement > Components: Spark Core > Affects Versions: 1.6.0 > Reporter: neoremind > Priority: Trivial > > For TransportClientFactory class, there are no params derived from SparkConf > to set ChannelOption.SO_RCVBUF and ChannelOption.SO_SNDBUF for netty. > Increasing the receive buffer size can increase the I/O performance for > high-volume transport. -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org