Default /etc/preload.conf is missing /lib32 dir (used in amd64 arch for 32 bits libs provided by some emul-* packages) and /opt (used by apps like firefox-bin, opera...) Simply adding them to proper entries in conf maked preload to also prefetch files from this locations (I have already tested it) The attach patch fixes this Thanks a lot Reproducible: Always
Created attachment 168940 [details, diff] preload-conf.patch
Created attachment 168942 [details] preload.ebuild.diff
(In reply to comment #0) > Default /etc/preload.conf is missing /lib32 dir (used in amd64 arch for 32 bits > libs provided by some emul-* packages) and /opt (used by apps like firefox-bin, > opera...) > > Simply adding them to proper entries in conf maked preload to also prefetch > files from this locations (I have already tested it) Ah, so without your patch, files in /lib32 & /opt are ignored? (Odd, this should probably go upstream)
I tested it setting PRELOAD_VERBOSITY to 9 and looking /var/log/preload.log and /var/lib/preload/preload.state , without adding them, seemed that opera files and firefox-bin (in /opt) where not preloaded, the same for some /lib32 libs
Thanks for submitting upstream. I have added this patch in -r2 now.