]> Sergey Matveev's repositories - public-inbox.git/commitdiff
INSTALL: recommend inotify|kqueue modules for -watch
authorEric Wong <e@80x24.org>
Tue, 15 Oct 2019 03:59:26 +0000 (03:59 +0000)
committerEric Wong <e@80x24.org>
Tue, 15 Oct 2019 07:34:07 +0000 (07:34 +0000)
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

diff --git a/INSTALL b/INSTALL
index f7e5999edcfdc4651ef8ea833fe09cf25533ff9a..aad52c7b15d70d3aa755ab389c8a6b98c5c98283 100644 (file)
--- 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