Skip to content

Instantly share code, notes, and snippets.

@bboa
Created July 10, 2018 09:21
Show Gist options
  • Save bboa/5ae91a65f7fdb68dc61e342e7ce29d01 to your computer and use it in GitHub Desktop.
Save bboa/5ae91a65f7fdb68dc61e342e7ce29d01 to your computer and use it in GitHub Desktop.
Xperia E1 modified settings
#! /system/bin/sh
echo 8192 > /proc/sys/vm/min_free_kbytes
echo 25 > /proc/sys/vm/dirty_background_ratio
echo 1000 > /proc/sys/vm/dirty_expire_centisecs
echo 65 > /proc/sys/vm/dirty_ratio
echo 2000 > /proc/sys/vm/dirty_writeback_centisecs
echo 100 > /proc/sys/vm/vfs_cache_pressure
echo 0 > /sys/block/mmcblk0/queue/iostats
echo 0 > /sys/block/mmcblk1/queue/iostats
echo 0 > /proc/sys/net/ipv4/tcp_timestamps
echo 1 > /proc/sys/net/ipv4/tcp_no_metrics_save
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment