Is there a way to pre-cache apps on bootup?
Immediately after booting the OS, when I first run an application (Discord, my webbrowser, etc.), the first startup is slow. But then the next time I run the application, it's basically instantaneous, thanks to I presume disk-caching.
Is there a way to configure Arch to precache (the disk access patterns for) certain apps? I'm thinking in particular while I'm in the login screen, typing in my username and password, the disk is probably largely idle, and this would be a great time to set up that cache.
Maybe I could turn on some sort of recorder, run an app, record all the files it reads from, and then put that into some configuration file, so that a different program can know to preload those files on boot up?
About this post
- Posted
- Archived
- Score
- 2 · 67% up
- Kind
- Text
- ID
- yl76wk
2 comments
https://wiki.archlinux.org/title/Preload
Thank you!