Package Details: gopreload-git r59.21b08e6-1

Git Clone URL: https://aur.archlinux.org/gopreload-git.git (read-only, click to copy)
Package Base: gopreload-git
Description: Preloads files needed for given programs
Upstream URL: http://forums.gentoo.org/viewtopic-t-622085-highlight-preload.html
Licenses: GPL
Conflicts: gopreload
Provides: gopreload
Submitter: kokoko3k
Maintainer: kokoko3k
Last Packager: kokoko3k
Votes: 30
Popularity: 0.000003
First Submitted: 2013-11-25 11:12 (UTC)
Last Updated: 2022-03-21 13:15 (UTC)

Dependencies (3)

Required by (0)

Sources (1)

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

heddson commented on 2016-01-25 19:47 (UTC)

Excellent! But looks like you forgot to commit .SRCINFO :) mksrcinfo git add .SRCINFO git commit -m '...' git push

kokoko3k commented on 2016-01-25 16:46 (UTC)

Thanks, i fully adopted your PKGBUILD :) @zajozor: If maxthon is based upon chrome/chromium, then it is a known problem that strace is unable to trace it. "0" files could not be preloaded means everything is ok. To be sure the thing is working, check if your ram usage is higher after starting the service (grep for mapandlock process)

heddson commented on 2016-01-21 22:50 (UTC)

Hi, great program! I made some small changes to the PKGBUILD. Just some friendly recommendations :) . Copy whatever you like. The PKGBUILD is here: http://www.hastebin.com/ivehoyoxuv.hs Some of the changes I made was: - Removed coreutils from depends array (since it's part of the group Base) - Added makedepends, provides and backup arrays - Let makepkg take care of the cloning - Added pkgver function - And other small fixes..

zajozor commented on 2015-12-29 14:16 (UTC)

Experiencing the same error as @proshot (if it is an error), although you say everything looks ok, It says 0/x, files could not be preloaded because not found.. Does it mean that 0 files were loaded and none could be found, or that 0 files were not preloaded (therefore all of them were loaded)? That is like a word pun.. My status: ● gopreload.service - gopreload: Preloads files needed for given programs. Loaded: loaded (/usr/lib/systemd/system/gopreload.service; enabled; vendor preset: disabled) Active: active (running) since Tue 2015-12-29 15:05:09 CET; 2min 38s ago Main PID: 1528 (StartPreload.sh) CGroup: /system.slice/gopreload.service ├─1528 /bin/bash /usr/share/gopreload/bin/StartPreload.sh ├─5656 /usr/share/gopreload/bin/mapandlock.x86_64 /tmp/listpreload.txt └─5658 sleep 300 Dec 29 15:05:31 zor-reloaded StartPreload.sh[1528]: 0/479 files could not be preloaded because they were not found (guake.1000.openfiles-48MB.txt) Dec 29 15:05:35 zor-reloaded StartPreload.sh[1528]: 0/1102 files could not be preloaded because they were not found (kupfer.1000.openfiles-323MB.txt) Dec 29 15:05:35 zor-reloaded StartPreload.sh[1528]: 0/118 files could not be preloaded because they were not found (maxthon.1000.openfiles-44MB.txt) Dec 29 15:05:38 zor-reloaded StartPreload.sh[1528]: 0/373 files could not be preloaded because they were not found (nautilus.1000.openfiles-98MB.txt) Dec 29 15:05:38 zor-reloaded StartPreload.sh[1528]: 0/170 files could not be preloaded because they were not found (pasystray.1000.openfiles-37MB.txt) Dec 29 15:05:43 zor-reloaded StartPreload.sh[1528]: 0/212 files could not be preloaded because they were not found (tint2.1000.openfiles-22MB.txt) Dec 29 15:05:43 zor-reloaded StartPreload.sh[1528]: 1/4 - Computing preload list... Dec 29 15:05:44 zor-reloaded StartPreload.sh[1528]: 2/4 - Computing total MB... skipped Dec 29 15:05:44 zor-reloaded StartPreload.sh[1528]: 3/4 - Starting preload cycle at Tue Dec 29 15:05:44 CET 2015 Dec 29 15:05:44 zor-reloaded StartPreload.sh[1528]: 4/4 - Sleeping 300 sec. +I experience no speedup in any of the apps. +Second problem: gopreload-prepare does not work with some apps, for example maxthon, when I run gopreload-prepare maxthon, the app does not start, just hangs (although ps axjf, shows everything should be ok) Is it me doing something wrong, or it may just happen that on some machines it does not help very much?

kokoko3k commented on 2015-12-02 11:15 (UTC)

Ops, you're right; i've just updated the PKGBUILD.

nmaggioni commented on 2015-12-02 07:43 (UTC)

/usr/share/gopreload/README comes out as a symlink to itself...?

kokoko3k commented on 2015-05-04 10:46 (UTC)

Did it https://github.com/kokoko3k/gopreload/commit/cbc1b494b6259fdf2f7976f244bf984b7e0d2265

Einhard commented on 2015-05-02 20:23 (UTC)

Yes, with those changes it works as intended. It was nice try with -HUP as in theory it should make mapandlock hang up, reload config and start again but it seems there are many cases when this just doesn't work.

kokoko3k commented on 2015-05-02 18:57 (UTC)

You're right Einhard, as mapandlock does not react to HUP, the correct way should be: --------- else #echo "Nothing changed, Sleeping $LONG_DELAY sec." sleep $LONG_DELAY killall mapandlock.$ARCH >/dev/null 2>/dev/null $INSTALLDIR/bin/mapandlock.$ARCH /tmp/listpreload.txt & fi -------- Does it work that way? I'll fix in the git by monday if is all right.