Jump to content

Speed up Android with minfree tweak


Guest nferro

Recommended Posts

But you can just put it in /system/etc/init.d/99complete can't you?

No, this file dont exist yet when the 99complete-script is run (if it is running at the start of lcr111, havnt checked that).

- EDIT -

Found an app on Market that do this on BOOT_COMPLETED-broadcast from system: AutoKiller

Using this app now instead. Really good way to keep your settings on reboot until Angio has made a changeable conf-file or something that is not changed on boot in the rom and that is read on startup from the init-files. :-)

Edited by xfs
Link to comment
Share on other sites

Guest eViL D:

By default, running "# cat /sys/module/lowmemorykiller/parameters/minfree" should produce output like this (or similiar):

1536,2048,4096,5120,5632,6144

Here's how the numbers seem to apply.

(1536)

FOREGROUND_APP:

// This is the process running the current foreground app. We'd really

// rather not kill it! Value set in system/rootdir/init.rc on startup.

(2048)

VISIBLE_APP:

// This is a process only hosting activities that are visible to the

// user, so we'd prefer they don't disappear. Value set in

// system/rootdir/init.rc on startup.

(4096)

SECONDARY_SERVER:

// This is a process holding a secondary server -- killing it will not

// have much of an impact as far as the user is concerned. Value set in

// system/rootdir/init.rc on startup.

(5120)

HIDDEN_APP:

// This is a process only hosting activities that are not visible,

// so it can be killed without any disruption. Value set in

// system/rootdir/init.rc on startup.

(5632)

CONTENT_PROVIDER:

// This is a process with a content provider that does not have any clients

// attached to it. If it did have any clients, its adjustment would be the

// one for the highest-priority of those processes.

(6144)

EMPTY_APP:

// This is a process without anything currently running in it. Definitely

// the first to go! Value set in system/rootdir/init.rc on startup.

// This value is initalized in the constructor, careful when refering to

// this static variable externally.

The higher the number, states when to start closing apps. These are by default, very low.

I am currently experimenting with 16384,16384,16384,25600,25600,25600

I would really like to know the thresh hold when the system starts to close apps.

Edited by eViL D:
Link to comment
Share on other sites

its on 900mhz :(

Hmm... offtopic, but :-P

Starting to make a wishlist for LCR1.1.5 now:

* 900Mhz-kernel version and a 768mhz-kernel version

* Changed minfree to 1536,2048,4096,5120,8192,10240

* Changed Launcher2 back from LCR1.0/ACR1.8. The one in 1.1.1 is broken

* Change Spareparts back from LCR1.0/ACR1.8. The one in 1.1.1 is broken

* Remove the facebook-application.

Edited by xfs
Link to comment
Share on other sites

Hmm... offtopic, but :-P

Starting to make a wishlist for LCR1.1.5 now:

* 900Mhz-kernel

* Changed minfree to 1536,2048,4096,5120,8192,10240

* Changed Launcher2 back from LCR1.0/ACR1.8. The one in 1.1.1 is broken

* Change Spareparts back from LCR1.0/ACR1.8. The one in 1.1.1 is broken

* Remove the facebook-application.

ill try to release the source out with the kernel i made, the guy I get this from is saying to hold off on it (i dont want to lose him) but i will release as soon as I get an ok

Link to comment
Share on other sites

ill try to release the source out with the kernel i made, the guy I get this from is saying to hold off on it (i dont want to lose him) but i will release as soon as I get an ok

Dont release the new kernel yet then... bad to loose good contacts.

But an upgraded LCR-rom with these changes (and the minfree-settings) would be nice however.

Link to comment
Share on other sites

better, if you have to wait for release new kernel (I agree with you to continue to be in good relationship with your "best" :( contact...), to don't insert in 1.1.(5?) the 900mhz frequency.

Already with the 2.1 original derivated leaked it's very "hungry" of battery, also with overc. It will be alive for an half day after !!!

Sorry for my english, it's also late... :(

Bye,

m4ss

Angio, you're the man ! :(

Link to comment
Share on other sites

Hmm... offtopic, but :-P

Starting to make a wishlist for LCR1.1.5 now:

* 900Mhz-kernel version and a 768mhz-kernel version

* Changed minfree to 1536,2048,4096,5120,8192,10240

* Changed Launcher2 back from LCR1.0/ACR1.8. The one in 1.1.1 is broken

* Change Spareparts back from LCR1.0/ACR1.8. The one in 1.1.1 is broken

* Remove the facebook-application.

most of this you can do yourself except the first one. not very hard using adb commands

Link to comment
Share on other sites

Guest liquid_it
ill try to release the source out with the kernel i made[..]

Great! I hope (as always) you'll manage to let us have a working tun module, or share infos to compile a working one.. on 2.000.16 tun compiled, insmoded but crashed the phone when was used..

And.. as usual, tnx to the whole liquid community!

ps: are there rumors about another eclair leak?

Link to comment
Share on other sites

Great! I hope (as always) you'll manage to let us have a working tun module, or share infos to compile a working one.. on 2.000.16 tun compiled, insmoded but crashed the phone when was used..

And.. as usual, tnx to the whole liquid community!

ps: are there rumors about another eclair leak?

well i hear there is, there is another eclair with MT, though my contact says he does not have it.... he said there might be an alpha stage one floating around.... we can do nothing but wait...

Link to comment
Share on other sites

most of this you can do yourself except the first one. not very hard using adb commands

Yes I know, was just a suggestion to Angio about how to make the next release better.

Also dont know what script to use for adding the commadline. Until then I have to use separete applications, but it works now...

Link to comment
Share on other sites

Guest masterpfa
AutoKiller 1.0 is out:

come, check the new home page

please tell me how you like it :(

I'm liking, I had looked at your app previously, but not being able to apply at boot and having the value in pages only and not Mbs, meant I had stuck to using MinFree Manager by oldskool73. Looking at your page though shows things have now changed. I shall have a look at let you know my findings :(

Link to comment
Share on other sites

  • 4 weeks later...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.