Preload

Here is where you can post tips and tricks to share with other users of MX. Do not ask for help in this Forum.
Post Reply
Message
Author
User avatar
duje
Posts: 9
Joined: Thu May 09, 2019 12:28 pm

Preload

#1 Post by duje »

Cool little background app that tracks your usage of apps over time, and puts more RAM into what you use most often;
faster load times = profit
Can be obtained in stable repo by searching preload

User avatar
oops
Posts: 1620
Joined: Tue Apr 10, 2018 5:07 pm

Re: Preload

#2 Post by oops »

duje wrote: Fri May 10, 2019 5:38 am Cool little background app that tracks your usage of apps over time, and puts more RAM into what you use most often;
faster load times = profit
Can be obtained in stable repo by searching preload
FI: Cool app, but not very secure :

https://security.stackexchange.com/ques ... h-on-linux
"...: what I meant above is that, normally, any user can use LD_PRELOAD to inject any library into any executable that they can run, and that is not setuid or setgid. This is a known mechanism for creating hidden, persistent malware. Is there any way I can prevent a given user from using LD_PRELOAD at all?"
Pour les nouveaux utilisateurs: Alt+F1 pour le manuel, ou FAQS, MX MANUEL, et Conseils Debian - Info. système “quick-system-info-mx” (QSI) ... Ici: System: MX-19_x64 & antiX19_x32

User avatar
duje
Posts: 9
Joined: Thu May 09, 2019 12:28 pm

Re: Preload

#3 Post by duje »

oops wrote: Fri May 10, 2019 7:45 am
duje wrote: Fri May 10, 2019 5:38 am Cool little background app that tracks your usage of apps over time, and puts more RAM into what you use most often;
faster load times = profit
Can be obtained in stable repo by searching preload
FI: Cool app, but not very secure :

https://security.stackexchange.com/ques ... h-on-linux
"...: what I meant above is that, normally, any user can use LD_PRELOAD to inject any library into any executable that they can run, and that is not setuid or setgid. This is a known mechanism for creating hidden, persistent malware. Is there any way I can prevent a given user from using LD_PRELOAD at all?"

is that the same thing https://wiki.archlinux.org/index.php/Preload

what this basically does is opening your most used apps snappier

User avatar
oops
Posts: 1620
Joined: Tue Apr 10, 2018 5:07 pm

Re: Preload

#4 Post by oops »

Ah sorry, it's for prelink , (not preload)
For preload, for me it's not efficient (except if you have a lot of available RAM), usually the result is better only by playing with swappiness: 10 (default 60) cache pressure: 50 (default 100) dev: /dev/sda5

Code: Select all

inxi -v8 #to see the config
FI: I have installer rkhunter, and rkhunter ask me to remove or securise prelink.
Pour les nouveaux utilisateurs: Alt+F1 pour le manuel, ou FAQS, MX MANUEL, et Conseils Debian - Info. système “quick-system-info-mx” (QSI) ... Ici: System: MX-19_x64 & antiX19_x32

Post Reply

Return to “Tips & Tricks by users”