Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
feravolt committed Jul 11, 2022
1 parent 7297ad6 commit 55b1cab
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions README.md
@@ -1,33 +1,33 @@
# Preload
Preload application preloads data to RAM to significantly increase read speeds. It works both with and without ROOT access. Recommended to use only on devices with 6+ GB RAM. App doesn't lock processes in RAM, files data only.
Please read this text before using the app.
Preload application preloads data to RAM to increase read speeds. It works both with and without ROOT access. Recommended to use only on devices with 6+ GB RAM. App doesn't lock processes in RAM, files only.


>> Without ROOT access app will preload file data in RAM as cache ('readahead' method). Cache is kept while there is enough free RAM. Once there is a need for more free RAM, system will free this cache - in such case you will get lower read speed.
>> Without ROOT access the app will preload file data in RAM as cache ('readahead' method). The cache is kept while there is enough free RAM. Once the system needs more free RAM, it will free this cache.
>> Without ROOT access:
— You can preload user apps (for OS 10 and below), files and folders - read speeds will be boosted
— You can't preload apps if you are on OS 11+ due to Scoped Storage
— Preloaded data may be released by OS in a while (depends on amount of available RAM) and you will get regular read speeds
— You don't need to care of unpreloading data - OS will handle it all automatically
— App's RAM indicator may show incorrect values due to the system may quickly release preloaded data
— You can\'t preload apps if you are on OS 11+ due to the system limitations
— Preloaded data (cache) may be released by OS in a while (depends on amount of available RAM)
— You don\'t need to care about unpreloading data - OS will handle it automatically
— App\'s RAM indicator may show incorrect values due to the system quickly releasing cache
— Possible restrictions due to OS permissions
— Safe


>> With ROOT access app will preload data in RAM and lock them there ('mlock' method). All preloaded data will be kept in RAM and won't be freed, unless you press the 'Unpreload' button, uninstall Preload app or reboot device.
>> With ROOT access the app will preload files in RAM and lock them there ('mlock' method). All data will be kept in RAM and won't be freed, unless you press the 'Unpreload' button, uninstall the app or reboot the device.
>> With ROOT access:
— You can preload any user apps, files and folders on any supported OS version
— Preloaded data will be kept in RAM as much long as you wish with boosted read speeds
— You have to manually unpreload data if you want to free used RAM
— Accurate app's RAM indicator
— No possible OS permission restrictions
— OOM score adjustment on supported kernels for preloaded app process
— Possible risk of OOM in system. Don't overload RAM with preload data
On supported kernels OOM score adjustment will be applied for preloaded app process
— Possible risk of running out of memory. Don\'t overload RAM with preload data


>> The indicator shows how much RAM is used/available for preload - memory measure method depends on the ROOT access availability.
>> While preloading apps, their cache files are ignored. If obb or files folders of the app are not fitting in RAM to preload - they will be skipped. Also avoid preloading files with special characters in name.
>> You can't preload data which is bigger in size than available RAM. Also 10% of available RAM is always reserved to avoid low available RAM and potential system lags.
>> In order to automatically preload the desired app on system boot longpress on it in the list. Longpress on same app again to disable the feature.
>> The indicator shows how much RAM is used/available for preload - measuring method depends on the ROOT access availability.
>> While preloading apps, their cache is ignored. If obb or files folders of the app wouldn't fit in RAM, they will be skipped. Also avoid preloading files with special characters in names.
>> You can't preload data that is bigger than available RAM. Also 10% of available RAM is reserved to avoid low RAM causes and stutters.
>> Swipe left on an app to enable or disable its preloading on boot.

# Use cases
Preload is a tool. And the usage scenario of this app is totally up to you. It readaheads(warmups)/locks data files in RAM of read-only files to reduce I/O jitters and highly increases read speed AND also reduces power consumption of MMC/UFS memory (yes, it's minimal but still, the slower is the memory - the better is the result). Few examples of usage:
Expand Down

0 comments on commit 55b1cab

Please sign in to comment.