about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2019-10-15 03:59:26 +0000
committerEric Wong <e@80x24.org>2019-10-15 07:34:07 +0000
commit669a9940320e418befe6c1d55602ac9e11acad3d (patch)
tree0a27068d226b25b48f936245b117a09065f6c0b5
parentb2939ff966656507fec92c97d294c94a4dc9b36f (diff)
downloadpublic-inbox-669a9940320e418befe6c1d55602ac9e11acad3d.tar.gz
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/
-rw-r--r--INSTALL9
1 files changed, 8 insertions, 1 deletions
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