BlackWindEXE
|
2012-04-24
, 20:36
|
Posts: 79 |
Thanked: 22 times |
Joined on May 2011
|
#11
|
|
2012-04-24
, 20:47
|
Posts: 95 |
Thanked: 35 times |
Joined on Feb 2012
|
#12
|
|
2012-04-24
, 20:58
|
|
Posts: 1,583 |
Thanked: 1,203 times |
Joined on Dec 2011
@ Everywhere
|
#13
|
The Following User Says Thank You to ibrakalifa For This Useful Post: | ||
|
2012-04-24
, 21:33
|
|
Posts: 887 |
Thanked: 2,444 times |
Joined on Jun 2011
|
#14
|
|
2012-04-25
, 03:57
|
Posts: 79 |
Thanked: 22 times |
Joined on May 2011
|
#15
|
The Following User Says Thank You to BlackWindEXE For This Useful Post: | ||
|
2012-04-25
, 04:24
|
Posts: 324 |
Thanked: 739 times |
Joined on Jun 2009
@ São Paulo, Brazil
|
#16
|
|
2012-04-26
, 18:30
|
Posts: 617 |
Thanked: 338 times |
Joined on Mar 2011
|
#17
|
try the attached package and let me know if it helped.
It's just a startup script that will set custom values to some kernel tunables. Uninstalling it will completely revert these values to the original state after reboot.
while testing, please do not use dropcaches (it wouldn't hurt but you wouldn't know if the package helped or if it was dropcaches)
|
2012-04-26
, 19:34
|
|
Posts: 5,339 |
Thanked: 4,133 times |
Joined on Jan 2010
@ Israel
|
#18
|
try the attached package and let me know if it helped.
It's just a startup script that will set custom values to some kernel tunables. Uninstalling it will completely revert these values to the original state after reboot.
while testing, please do not use dropcaches (it wouldn't hurt but you wouldn't know if the package helped or if it was dropcaches)
|
2012-04-28
, 04:48
|
Posts: 324 |
Thanked: 739 times |
Joined on Jun 2009
@ São Paulo, Brazil
|
#19
|
Sounds good , I've installed it and I made sure it's loaded by rebooting the phone .
Could you also explain a bit what your package does ?
Later edit : I've unpacked the .deb file and looked in fastern9.sh , your tweak seems to be like swappolube on n900 , if these tweaks worth maybe someone will make a UI .
#!/bin/sh # #Author: Danilo Luvizotto <danilo.luvizotto@gmail.com> #License: do whatever you want with it. #This is mainly a memory MOD. The idea is to avoid swapping. #Swapping will cause the process to freeze while waiting #data to be available in RAM. In our case it will also waste #battery because the swap is compressed in N9. # #I've read a lot of documentation to get to the conclusions #and explanations detailed here, but I may be wrong. If you're #an expert and something is wrong, please let me know. #If you want to learn about about cgroups, this is the best #documentation I've found: #http://docs.redhat.com/docs/en-US/Re...ide/index.html #Beware some parts are specific to Red Hat Enterprise Linux. #Source: http://www.kernel.org/doc/Documentation/sysctl/vm.txt # #vfs_cache_pressure controls the tendency of the kernel to #reclaim the memory which is used for caching of directory #and inode objects. #At the default value of vfs_cache_pressure=100 the kernel #will attempt to reclaim dentries and inodes at a "fair" rate #with respect to pagecache and swapcache reclaim. Decreasing #vfs_cache_pressure causes the kernel to prefer to retain dentry #and inode caches. # #This is a mobile phone, we want applications to be available in #RAM, so we prefer pagecache and swapcache, not directory and #inode cache. We don't want applications to freeze while their #code come back from swap! echo 2097151 > /proc/sys/vm/vfs_cache_pressure #This will make the system less proactive moving data to swap. #The value '3' worked better in my tests. echo 3 > /proc/sys/vm/swappiness #This will limit memory used by background processes to 10MB. #The default value is arround 70MB. #In my phone only 3 processes are in this group: #msyncd, obexd and the infamous smartsearch while [[ `cat /syspart/system/background/memory.limit_in_bytes` != 10485760 ]] do echo 10M > /syspart/system/background/memory.limit_in_bytes sleep 5 done #This will make background processes to have less CPU priority. echo 128 > /syspart/system/background/cpu.shares #This will limit memory used by desktop processes to 100MB. #The default value is 200MB. #The most important process in this group is meegotouchhome, #to wich the 3 home views belong. #At fist I thought performance would be better if this group #has a higher limit, but it makes no difference. High limits #will cause processes to swap, so performance will decrease. while [[ `cat /syspart/system/desktop/memory.limit_in_bytes` != 104857600 ]] do echo 100M > /syspart/system/desktop/memory.limit_in_bytes sleep 5 done
The Following User Says Thank You to traysh For This Useful Post: | ||
|
2012-04-30
, 06:28
|
Posts: 1 |
Thanked: 0 times |
Joined on Apr 2012
|
#20
|