Return-Path: X-Original-To: apmail-incubator-kafka-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-kafka-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D92D07251 for ; Tue, 13 Dec 2011 18:38:59 +0000 (UTC) Received: (qmail 93950 invoked by uid 500); 13 Dec 2011 18:38:59 -0000 Delivered-To: apmail-incubator-kafka-dev-archive@incubator.apache.org Received: (qmail 93928 invoked by uid 500); 13 Dec 2011 18:38:59 -0000 Mailing-List: contact kafka-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: kafka-dev@incubator.apache.org Delivered-To: mailing list kafka-dev@incubator.apache.org Received: (qmail 93919 invoked by uid 99); 13 Dec 2011 18:38:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Dec 2011 18:38:59 +0000 X-ASF-Spam-Status: No, hits=-2001.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Dec 2011 18:38:51 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 90102110036 for ; Tue, 13 Dec 2011 18:38:30 +0000 (UTC) Date: Tue, 13 Dec 2011 18:38:30 +0000 (UTC) From: "Jay Kreps (Commented) (JIRA)" To: kafka-dev@incubator.apache.org Message-ID: <445181901.6661.1323801510591.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <767846060.22243.1321046812801.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (KAFKA-200) Support configurable send / receive socket buffer size in server MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/KAFKA-200?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13168589#comment-13168589 ] Jay Kreps commented on KAFKA-200: --------------------------------- Interesting. Can we validate the setting directly by checking getReceiveBufferSize()? I think the reason it may be working is that linux defaults tcp window scaling on...I think the current approach would not work on Solaris because it defaults tcp window scaling off. Or maybe I am wrong. But I think we would be better off doing it the way they recommend and setting the buffer size in the way the documentation encourages. > Support configurable send / receive socket buffer size in server > ---------------------------------------------------------------- > > Key: KAFKA-200 > URL: https://issues.apache.org/jira/browse/KAFKA-200 > Project: Kafka > Issue Type: Improvement > Components: core > Affects Versions: 0.7 > Reporter: John Fung > Fix For: 0.8 > > Attachments: KAFKA-200.patch > > > * Make the send / receive socket buffer size configurable in server. > * KafkaConfig.scala already has the following existing variables to support send / receive buffer: > socketSendBuffer > socketReceiveBuffer > * The patch attached to this ticket will read the following existing settings in /config/server.properties and set the corresponding socket buffers > . . . > # The send buffer (SO_SNDBUF) used by the socket server > socket.send.buffer=1048576 > # The receive buffer (SO_RCVBUF) used by the socket server > socket.receive.buffer=1048576 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira