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: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 227891F9F3 for ; Tue, 26 Oct 2021 10:35:58 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 1/9] doc: tuning: additional notes for many inboxes Date: Tue, 26 Oct 2021 10:35:49 +0000 Message-Id: <20211026103557.2738-2-e@80x24.org> In-Reply-To: <20211026103557.2738-1-e@80x24.org> References: <20211026103557.2738-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: -extindex is the most important piece for dealing with many inboxes, so note it first. Also, frequent use of "git gc" is important for both loose object performance and reducing memory mappings. --- Documentation/public-inbox-tuning.pod | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/Documentation/public-inbox-tuning.pod b/Documentation/public-inbox-tuning.pod index 7b18b3bc4030..53668eccb7cb 100644 --- a/Documentation/public-inbox-tuning.pod +++ b/Documentation/public-inbox-tuning.pod @@ -165,12 +165,15 @@ Other OSes may have similar tuning knobs (patches appreciated). =head2 Scalability to many inboxes +L allows any number of public-inboxes +to share the same Xapian indices. + git 2.33+ startup time is orders-of-magnitude faster and uses less memory when dealing with thousands of alternates required -for thousands of inboxes. +for thousands of inboxes with L. -L allows any number of public-inboxes -to share the same Xapian indices. +Frequent packing (via L) both improves performance +and reduces the need to increase C. =head1 CONTACT @@ -184,6 +187,6 @@ L, =head1 COPYRIGHT -Copyright 2020-2021 all contributors L +Copyright all contributors L License: AGPL-3.0+ L