From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) 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.0 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 7D4BC1F856 for ; Thu, 8 Sep 2016 20:23:13 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH] doc: document PERL_INLINE_DIRECTORY usage Date: Thu, 8 Sep 2016 20:23:13 +0000 Message-Id: <20160908202313.9759-1-e@80x24.org> List-Id: For now, we will document this since it allows better performance without the burden of extensions. Perhaps one day far in the future Perl can natively support vfork(2) AND that version of Perl will be widely available, but I suspect that day is at least a decade away, if not two: https://rt.perl.org/Ticket/Display.html?id=128227 --- Documentation/public-inbox-daemon.pod | 12 ++++++++++++ Documentation/public-inbox-watch.pod | 6 ++++++ 2 files changed, 18 insertions(+) diff --git a/Documentation/public-inbox-daemon.pod b/Documentation/public-inbox-daemon.pod index 42beda6..72794a5 100644 --- a/Documentation/public-inbox-daemon.pod +++ b/Documentation/public-inbox-daemon.pod @@ -133,6 +133,18 @@ See L Used by systemd (and compatible) installations for socket activation. See L and L. +=item PERL_INLINE_DIRECTORY + +Pointing this to point to a writable directory enables the use +of L and L extensions which may provide +platform-specific performance improvements. Currently, this +enables the use of L which speeds up subprocess +spawning with the Linux kernel. + +public-inbox will never enable L automatically without +this environment variable set. See L and L +for more details. + =back =head1 UPGRADING diff --git a/Documentation/public-inbox-watch.pod b/Documentation/public-inbox-watch.pod index 404303e..a59ba32 100644 --- a/Documentation/public-inbox-watch.pod +++ b/Documentation/public-inbox-watch.pod @@ -101,6 +101,12 @@ startup. config file. default: ~/.public-inbox/config See L +=item PERL_INLINE_DIRECTORY + +This may affect any public-inbox processes, but is intended +for long-lived ones such as C or network +daemons. See L. + =back =head1 CONTACT -- EW