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 8C7671F4C0; Tue, 15 Oct 2019 03:59:26 +0000 (UTC) Date: Tue, 15 Oct 2019 03:59:26 +0000 From: Eric Wong To: meta@public-inbox.org Cc: Jan Kiszka Subject: [PATCH] INSTALL: recommend inotify|kqueue modules for -watch Message-ID: <20191015035926.cftsqhpulzzng3yz@dcvr> References: <20190811165136.py6bfldsg6tz4wak@dcvr> <20190811173320.tpxy2km7uyjkklge@dcvr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20190811173320.tpxy2km7uyjkklge@dcvr> List-Id: Jan Kiszka reported high polling frequency when using -watch. It turns out OS-specific packages for Filesys::Notify::Simple do not pull in interfaces to use kqueue or inotify, which are required to perform power-efficient event-based wakeups on Maildir writes. Fix the name of the Filesys::Notify::Simple for FreeBSD while we're at it. Link: https://public-inbox.org/meta/c85803c6-6d77-a300-491a-9f310dd284c1@web.de/ --- INSTALL | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/INSTALL b/INSTALL index f7e5999e..aad52c7b 100644 --- a/INSTALL +++ b/INSTALL @@ -130,10 +130,17 @@ above, so there is no need to explicitly install them: typically installed alongside Perl5) - Filesys::Notify::Simple deb: libfilesys-notify-simple-perl - pkg: pkg-Filesys-Notify-Simple + pkg: p5-Filesys-Notify-Simple rpm: perl-Filesys-Notify-Simple (for public-inbox-watch, pulled in by Plack) +- Linux::Inotify deb: liblinux-inotify2-perl + rpm: perl-Linux-Inotify2 + (for public-inbox-watch on Linux) + +- Filesys::Notify::KQueue pkg: p5-Filesys-Notify-KQueue + (for public-inbox-watch on FreeBSD) + - IO::Compress::Gzip deb: perl-modules (or libio-compress-perl) pkg: perl5 rpm: perl-IO-Compress