Open WhitePeace36 opened 4 hours ago
Yes it's only for Linux so it preloads any shared libraries onto the memory. As for Windows, preload-rs does not support Windows. But fortunately Windows already includes a native prefetch that's enabled by default.
@arunanshub Thank you for the answer :) So when i run something through wine and that programm also has dll files are they also dynamically loaded ?
You're welcome 😄 preload-rs has nothing to do with windows executables and its shared libraries because we exclusively use posix API (readahead, fadvise etc). Wine is just a compatibility layer. However there is a silver lining because Wine is just a wrapper, so preload-rs will notice that and load the necessary linux only shared libraries used by Wine onto the memory to speed up execution.
Also note that if you're using an SSD, you don't actually need preload-rs.
Ok thanks :)
So it isn't useful when i have m2 ssds ?
Nope, I believe you don't need it. Because your M.2 SSDs are fast enough for your system to load the shared libraries almost instantaneously. And if you have a fairly recent CPU then double bingo!
Ok, thank you mate :)
Hi, this is more of a question than anything else. Does this app also preload resources like .dll, .so and other files into the memory ?