Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 85638 invoked from network); 3 Jan 2011 13:57:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Jan 2011 13:57:07 -0000 Received: (qmail 1707 invoked by uid 500); 3 Jan 2011 13:57:06 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 1548 invoked by uid 500); 3 Jan 2011 13:57:06 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 1534 invoked by uid 99); 3 Jan 2011 13:57:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Jan 2011 13:57:05 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Jan 2011 13:57:05 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id p03DujcH010978 for ; Mon, 3 Jan 2011 13:56:45 GMT Message-ID: <6608837.107951294063005359.JavaMail.jira@thor> Date: Mon, 3 Jan 2011 08:56:45 -0500 (EST) From: "Benoit Chesneau (JIRA)" To: dev@couchdb.apache.org Subject: [jira] Commented: (COUCHDB-1009) Make couch_stream buffer configurable In-Reply-To: <5704014.107811294062285843.JavaMail.jira@thor> 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/COUCHDB-1009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12976739#action_12976739 ] Benoit Chesneau commented on COUCHDB-1009: ------------------------------------------ sound good for me. > Make couch_stream buffer configurable > ------------------------------------- > > Key: COUCHDB-1009 > URL: https://issues.apache.org/jira/browse/COUCHDB-1009 > Project: CouchDB > Issue Type: Improvement > Components: Database Core > Environment: trunk > Reporter: Filipe Manana > Assignee: Filipe Manana > Priority: Trivial > Attachments: COUCHDB-1009.patch > > > The couch_stream buffer is hardcoded to 4Kb. > This value should be configurable. Larger values can improve write and specially read performance (if we write larger chunks to disk, we have higher chances of reading more contiguous disk blocks afterwards). > I also think it's a good idea to change the default value from 4Kb to something higher (64Kb for e.g.). > Patch attached -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.