Welcome Guest ( Log In | Register )

Bump Topic Topic Closed RSS Feed
123 Pages « < 44 45 46 47 48 > » Bottom

Outline · [ Standard ] · Linear+

 SΛMSUNG Galaxy W (I8150) Official Thread V4, Be intelligent; read thoroughly.

views
     
SUSngkhanmein
post Feb 10 2012, 05:25 PM

カラカラ Karakara
*******
Senior Member
7,727 posts

Joined: Jan 2010
From: Ara Damansara, Petaling Jaya & Batu Pahat, Johor.


QUOTE(game4life @ Feb 10 2012, 06:13 PM)
it should be 543
cowithgun
post Feb 10 2012, 05:30 PM

A cow that can play notebook & phone
*******
Senior Member
2,248 posts

Joined: Sep 2010
supercharger v6, best read from author himself.

what i can tell you, it adjust the low memory killer (among other things).

u see, although android is linux, but it is designed a bit different. in desktop, linux has lotsa disk space and memory, kill app is definitely not a good idea. that's why most desktop OS uses swap file / pagefile, etc. rarely used memory will be 'paged' to disk.

android has better memory management for small device - low memory killer. whenever the system is low on memory, it will start killing application!

which one to kill first? who is next? what condition to meet before start killing the next?

these are control in 2 attributes:

1) associates each app to their group using oom_adj (out of memory adj)
- foreground running app - group 0.
- visiable_app - group 1 (other app that visiable, but not on focus)
- secondary_server - group 2
....
- empty_app - group 15.

you can control this by changing /sys/module/lowmemorykiller/parameters/adj

2) set a memory condition when it will start kill group of app
- this can be control from /sys/module/lowmemorykiller/parameters/minfree
- take 6 values, ie: 1536,2048,6656,6912,7168,7168
- start killing group 15 when free memory lower than 7168x4k
- start killing group 1 when free memory lower than 1536*4k

so, supercharger v6 adjust these 2 values. it will change the behavior of low memory killer. u can configure it to be very aggressive or otherwise.

This post has been edited by cowithgun: Feb 10 2012, 05:31 PM
game4life
post Feb 10 2012, 05:31 PM

Regular
******
Senior Member
1,943 posts

Joined: Nov 2008
QUOTE(ngkhanmein @ Feb 10 2012, 05:25 PM)
it should be 543
*
of course sgx543mp2 is better than mali 400, it's a dual core gpu wink.gif
IwanAGP
post Feb 10 2012, 05:31 PM

Nothing is Possible!
*******
Senior Member
9,590 posts

Joined: Jan 2008
From: S'wak||KL||SG


QUOTE(cowithgun @ Feb 10 2012, 05:18 PM)
I tested a few of them. My ROM uses option 5, seem best for me. But you can test them out.
*
I try 6 first... Erm... My Script Manager no Wording 'Run As Root' i need to tick the SU isit?
game4life
post Feb 10 2012, 05:32 PM

Regular
******
Senior Member
1,943 posts

Joined: Nov 2008
QUOTE(IwanAGP @ Feb 10 2012, 05:31 PM)
I try 6 first... Erm... My Script Manager no Wording 'Run As Root' i need to tick the SU isit?
*
yes, tick SU
SUSngkhanmein
post Feb 10 2012, 05:36 PM

カラカラ Karakara
*******
Senior Member
7,727 posts

Joined: Jan 2010
From: Ara Damansara, Petaling Jaya & Batu Pahat, Johor.


QUOTE(game4life @ Feb 10 2012, 06:31 PM)
of course sgx543mp2 is better than mali 400, it's a dual core gpu wink.gif
*
so mali 400 better or adreno 220?
IwanAGP
post Feb 10 2012, 05:38 PM

Nothing is Possible!
*******
Senior Member
9,590 posts

Joined: Jan 2008
From: S'wak||KL||SG


QUOTE(game4life @ Feb 10 2012, 05:32 PM)
yes, tick SU
*
Now... This step

QUOTE
after installing the script you have to set the /data/99SuperCharger.sh to run at boot.
open script manager, go to /data/ and select 99SuperCharger.sh set run as root and run at boot.
reboot and all should work.


QUOTE
- Stock ROMs - If you have neither, it creates /data/99SuperCharger.sh which you can load up on boot (run as root) with Script Manager. The OOM groupings work as well since it happens on boot in local.prop (20 entries added)


I can't find this directory. Enlighten me!
game4life
post Feb 10 2012, 05:49 PM

Regular
******
Senior Member
1,943 posts

Joined: Nov 2008
QUOTE(IwanAGP @ Feb 10 2012, 05:38 PM)
Now... This step
I can't find this directory. Enlighten me!
*
the script will autorun. if you want to check whether the script is running, reboot and re-run the script and check for the current minfrees value. it should the same with prior v6 minfrees

user posted image


Added on February 10, 2012, 5:56 pm
QUOTE(ngkhanmein @ Feb 10 2012, 05:36 PM)
so mali 400 better or adreno 220?
*
mali 400 is better but it depends on drivers

This post has been edited by game4life: Feb 10 2012, 05:56 PM
IwanAGP
post Feb 10 2012, 06:05 PM

Nothing is Possible!
*******
Senior Member
9,590 posts

Joined: Jan 2008
From: S'wak||KL||SG


QUOTE(game4life @ Feb 10 2012, 05:49 PM)
the script will autorun. if you want to check whether the script is running, reboot and re-run the script and check for the current minfrees value. it should the same with prior v6 minfrees

user posted image


Added on February 10, 2012, 5:56 pm
mali 400 is better but it depends on drivers
*
@.@ Then what's wrong with the step? Anyway... I found the directory. laugh.gif Now on Option 6. How if I want to apply other option? Just run the script again and run them right? Hell yeah... My homescreen is totally LOCKED. ROCKS! blush.gif
game4life
post Feb 10 2012, 06:10 PM

Regular
******
Senior Member
1,943 posts

Joined: Nov 2008
QUOTE(IwanAGP @ Feb 10 2012, 06:05 PM)
@.@ Then what's wrong with the step? Anyway... I found the directory.  laugh.gif  Now on Option 6. How if I want to apply other option? Just run the script again and run them right? Hell yeah... My homescreen is totally LOCKED. ROCKS!  blush.gif
*
nothing wrong, it's for old version. yes, you just need to run the script again biggrin.gif
IwanAGP
post Feb 10 2012, 06:18 PM

Nothing is Possible!
*******
Senior Member
9,590 posts

Joined: Jan 2008
From: S'wak||KL||SG


QUOTE(game4life @ Feb 10 2012, 06:10 PM)
nothing wrong, it's for old version. yes, you just need to run the script again biggrin.gif
*
tongue.gif Underclocked to 1GHz.
cowithgun
post Feb 10 2012, 06:19 PM

A cow that can play notebook & phone
*******
Senior Member
2,248 posts

Joined: Sep 2010
QUOTE(IwanAGP @ Feb 10 2012, 06:05 PM)
@.@ Then what's wrong with the step? Anyway... I found the directory.  laugh.gif  Now on Option 6. How if I want to apply other option? Just run the script again and run them right? Hell yeah... My homescreen is totally LOCKED. ROCKS!  blush.gif
*
to get your homescreen lock, basically just add this into your "/system/build.prop"

ro.HOME_APP_ADJ=0

0 = same group with foreground app, so, it will be the last to get killed.
IwanAGP
post Feb 10 2012, 06:33 PM

Nothing is Possible!
*******
Senior Member
9,590 posts

Joined: Jan 2008
From: S'wak||KL||SG


QUOTE(cowithgun @ Feb 10 2012, 06:19 PM)
to get your homescreen lock, basically just add this into your "/system/build.prop"

ro.HOME_APP_ADJ=0

0 = same group with foreground app, so, it will be the last to get killed.
*
Can't just leave to option 5 to do that? I'm now on option 5.
cowithgun
post Feb 10 2012, 06:37 PM

A cow that can play notebook & phone
*******
Senior Member
2,248 posts

Joined: Sep 2010
QUOTE(IwanAGP @ Feb 10 2012, 06:33 PM)
Can't just leave to option 5 to do that? I'm now on option 5.
*
if u use the script, it will do everything for you. tongue.gif

but if u know about low memory killer, u can basically apply whatever u see fit to your phone. nod.gif
IwanAGP
post Feb 10 2012, 06:44 PM

Nothing is Possible!
*******
Senior Member
9,590 posts

Joined: Jan 2008
From: S'wak||KL||SG


QUOTE(cowithgun @ Feb 10 2012, 06:37 PM)
if u use the script, it will do everything for you.  tongue.gif

but if u know about low memory killer, u can basically apply whatever u see fit to your phone.  nod.gif
*
Ask u... Those numbers. 8 16 24 ... ... what does that mean? I see the aggressive option 1. The last number is 50. I think is 50MB. Does that mean it starts killing when RAM<50?
driots
post Feb 10 2012, 06:44 PM

Getting Started
**
Junior Member
119 posts

Joined: Dec 2009
Anyone can tell me mine is option 6 or 5?

cowithgun
post Feb 10 2012, 06:46 PM

A cow that can play notebook & phone
*******
Senior Member
2,248 posts

Joined: Sep 2010
QUOTE(IwanAGP @ Feb 10 2012, 06:44 PM)
Ask u... Those numbers. 8 16 24 ... ... what does that mean? I see the aggressive option 1. The last number is 50. I think is 50MB. Does that mean it starts killing when RAM<50?
*
explained dy:

http://forum.lowyat.net/topic/2201881/+880#entry48880232


Added on February 10, 2012, 6:50 pm
QUOTE(driots @ Feb 10 2012, 06:44 PM)
Anyone can tell me mine is option 6 or 5?
*
u r no 5. u check ur current minfree.

This post has been edited by cowithgun: Feb 10 2012, 06:50 PM
IwanAGP
post Feb 10 2012, 06:51 PM

Nothing is Possible!
*******
Senior Member
9,590 posts

Joined: Jan 2008
From: S'wak||KL||SG


QUOTE(driots @ Feb 10 2012, 06:44 PM)
Anyone can tell me mine is option 6 or 5?
*
Option 5. U using cow's rom?

QUOTE(cowithgun @ Feb 10 2012, 06:46 PM)
I asked after I read that. Lol... My idleing memory usage still around 260 but it doesn't reload the launcher. Multitask is easier now thumbup.gif
cowithgun
post Feb 10 2012, 06:55 PM

A cow that can play notebook & phone
*******
Senior Member
2,248 posts

Joined: Sep 2010
QUOTE(IwanAGP @ Feb 10 2012, 06:51 PM)
Option 5. U using cow's rom?
I asked after I read that. Lol... My idleing memory usage still around 260 but it doesn't reload the launcher. Multitask is easier now  thumbup.gif
*
Let say u chose:

6,12,75,90,95,125 MB

That mean, if less than 125mb free, u kill empty_app group.
If less than 95 free, u start killing content provider group.
...
if less than 6mb free, u kill front app group too!

As you can see, if too aggressive, most app end up got killed, and got reloaded (some app will simply reload) and thus should drain more battery too... there is give and take. rolleyes.gif

This post has been edited by cowithgun: Feb 10 2012, 06:56 PM
IwanAGP
post Feb 10 2012, 06:57 PM

Nothing is Possible!
*******
Senior Member
9,590 posts

Joined: Jan 2008
From: S'wak||KL||SG


QUOTE(cowithgun @ Feb 10 2012, 06:55 PM)
Let say u chose:

6,12,75,90,95,125 MB

That mean, if less than 125mb free, u kill empty_app group.
If less than 95 free, u start killing content provider group.
...
if less than 6mb free, u kill front app group too!

As you can see, if too aggressive, most app end up got killed, and got reloaded (some app will simply reload) and thus should drain more battery too... there is give and take.  rolleyes.gif
*
LOL. So... Now i'm using Option 5. The launcher is in Group 0? Possible to make even launcher get killed? blush.gif

123 Pages « < 44 45 46 47 48 > » Top
Topic ClosedOptions
 

Change to:
| Lo-Fi Version
0.0262sec    0.59    6 queries    GZIP Disabled
Time is now: 14th December 2025 - 06:38 PM