mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2025-05-02 06:26:20 -04:00
20.0: Initial bringup
Signed-off-by: Tad <tad@spotco.us>
This commit is contained in:
parent
2acd454f13
commit
055ed9bfad
117 changed files with 25943 additions and 10 deletions
|
@ -34,7 +34,7 @@ sed -i 's/DurationnScale = 1.0f;/DurationScale = 0.5f;/' services/core/java/com/
|
|||
fi;
|
||||
|
||||
if enter "kernel"; then
|
||||
sed -i "s/#define VM_MAX_READAHEAD\t128/#define VM_MAX_READAHEAD\t512/" ./*/*/include/linux/mm.h; #Lee Susman <lsusman@codeaurora.org>: Change the VM_MAX_READAHEAD value from the default 128KB to 512KB. This will allow the readahead window to grow to a maximum size of 512KB, which greatly benefits to sequential read throughput.
|
||||
sed -i "s/#define VM_MAX_READAHEAD\t128/#define VM_MAX_READAHEAD\t512/" ./*/*/include/linux/mm.h &>/dev/null || true; #Lee Susman <lsusman@codeaurora.org>: Change the VM_MAX_READAHEAD value from the default 128KB to 512KB. This will allow the readahead window to grow to a maximum size of 512KB, which greatly benefits to sequential read throughput.
|
||||
fi;
|
||||
|
||||
echo "Starting zram tweaks";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue