From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS53758 23.128.96.0/24 X-Spam-Status: No, score=-3.7 required=3.0 tests=AWL,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_PASS, SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by dcvr.yhbt.net (Postfix) with ESMTP id 6CD941F953 for ; Wed, 15 Dec 2021 19:59:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231334AbhLOT7t (ORCPT ); Wed, 15 Dec 2021 14:59:49 -0500 Received: from elephants.elehost.com ([216.66.27.132]:35365 "EHLO elephants.elehost.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229445AbhLOT7s (ORCPT ); Wed, 15 Dec 2021 14:59:48 -0500 X-Virus-Scanned: amavisd-new at elehost.com Received: from Mazikeen (cpe00fc8d49d843-cm00fc8d49d840.cpe.net.cable.rogers.com [99.229.22.139] (may be forged)) (authenticated bits=0) by elephants.elehost.com (8.15.2/8.15.2) with ESMTPSA id 1BFJxZN1029346 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 15 Dec 2021 14:59:36 -0500 (EST) (envelope-from rsbecker@nexbridge.com) Reply-To: From: To: "'Junio C Hamano'" , "'Jacob Vosmaer'" Cc: , , References: <20211214194626.33814-1-jacob@gitlab.com> <20211214194626.33814-2-jacob@gitlab.com> In-Reply-To: Subject: RE: [PATCH v2 1/1] upload-pack.c: increase output buffer size Date: Wed, 15 Dec 2021 14:59:29 -0500 Organization: Nexbridge Inc. Message-ID: <003001d7f1ee$48c88410$da598c30$@nexbridge.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQIouFwJmPFhmz4Fe3UZ8hmRUMo3gwJyt/wXAnwpaG4BGKhHDKtiL0eQ Content-Language: en-ca Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org On December 15, 2021 2:51 PM, Junio C Hamano wrote: > Jacob Vosmaer writes: > > > When serving a fetch, git upload-pack copies data from a git > > pack-objects stdout pipe to its stdout. This commit increases the size > > of the buffer used for that copying from 8192 to 65515, the maximum > > sideband-64k packet size. > > Thanks. I agree with others that extra configurability is not needed in this > case, and allocating this on the heap (as long as we correctly deallocate it > when we are done) is the right thing. This is likely to break NonStop as our sideband packet size is less than 64K. -Randall