#1 2010-10-03 17:10:27

kholk
New member
Registered: 2010-10-03
Posts: 2

[TWEAK] Kernel tuning script -- UPDATED!

#!/system/bin/sh
sysctl -p
#
#Disable normalized sleeper
#
mount -t debugfs none /sys/kernel/debug
echo NO_NORMALIZED_SLEEPER > /sys/kernel/debug/sched_features
#
#  Memory management
#
echo 2048 > /proc/sys/kernel/msgmni
echo 64000 > /proc/sys/kernel/msgmax
echo 268435456 > /proc/sys/kernel/shmmax
echo 500 512000 64 2048 > /proc/sys/kernel/sem
sysctl -w net.core.wmem_max=524288
sysctl -w net.core.rmem_max=524288
sysctl -w net.ipv4.tcp_tw_recycle=1
sysctl -w net.ipv4.tcp_rmem='6144 87380 524288'
sysctl -w net.ipv4.tcp_wmem='6144 87380 524288'
sysctl -w kernel.sched_latency_ns=600000
sysctl -w kernel.sched_min_granularity_ns=400000
sysctl -w kernel.sched_wakeup_granularity_ns=400000

Last edited by kholk (2010-10-04 14:49:21)

Offline

#2 2010-10-03 18:23:02

Alex469
New member
Registered: 2010-10-03
Posts: 1

Re: [TWEAK] Kernel tuning script -- UPDATED!

Offline

#3 2010-10-03 20:28:21

XVilka
Reverse Engineer
From: Moscow
Registered: 2010-10-03
Posts: 6
Website

Re: [TWEAK] Kernel tuning script -- UPDATED!

just add this scipt in a mot_boot_mode for example

Offline

#4 2010-10-04 07:28:00

kniffman
New member
Registered: 2010-10-04
Posts: 2

Re: [TWEAK] Kernel tuning script -- UPDATED!

@nadlabak: is /data/local/userinit.sh ok to work for this tweak?

Offline

#5 2010-10-04 13:26:07

kholk
New member
Registered: 2010-10-03
Posts: 2

Re: [TWEAK] Kernel tuning script -- UPDATED!

Offline

#6 2010-10-04 19:54:20

Skrilax_CZ
Moderator
Registered: 2010-10-03
Posts: 2

Re: [TWEAK] Kernel tuning script -- UPDATED!

kholk: nice one

Offline

#7 2013-04-28 01:42:55

ettc
New member
Registered: 2013-04-28
Posts: 1
Website
Windows XPChrome 25.0.1364.172

Re: [TWEAK] Kernel tuning script -- UPDATED!

Even if I'm returning to HTC I'm sad for my old Milestone, I like its shell so much...it's a really beautiful device!

Offline

Registered users online in this topic: 0, guests: 1

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.043 seconds, 9 queries executed - Memory usage: 454.51 KiB (Peak: 456.73 KiB) ]