|
![]() |
|
Thread Tools | Search this Thread |
![]() |
#1 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 124
Karma: 500250
Join Date: Jun 2011
Device: Entourage Pocket eDGe, Entourage eDGe, Samsung Galaxy Note II
|
Performance Boost: Enabling Dalvik's JIT compiler and increasing heap size<- Read :)
Hey, I forgot you can't change the titles of a post after the initial posting. So I am posting the bit about the Dalvik VM JIT I just noticed on my PE as well as heap size so more people see it.
Some light reading on Dalvik's JIT compiler. http://android-developers.blogspot.c...alvik-jit.html Android 2.2 added a JIT (Just-In-Time) compiler to the Dalvik VM. Dalvik is the interpreter that is the heart of Android and runs all your apps. (It is being superseded by ART in latest Android releases) I was digging around in my build.prop looking for more stuff to do to my PE to try and get as much performance as I could out of the poor old thing when I noticed the Dalvik execution mode line. I did some googling and read up on Dalvik some and decided to try changing it to the JIT instead of the default failsafe "fast" mode. My Linpack results went from 3.1-3.2 MFLOPS average to 5.1-5.2MFLOPS which is a pretty drastic increase. The other thing I changed in my build.prop was the Dalvik heap size.I doubled the default heap size to 256MB from 128MB that is the default. The Dalvik heap size adjusts how much memory a Dalvik VM instance can use. The more memory a single app can use, the less often Dalvik has to run through its garbage collection routines. This takes a load off the CPU and may be one reason my PE has seemed so much snappier. This may just be placebo, though. It shouldn't cause any harm and the PE has 512MB of RAM to play with so... worth doing, imo. Code:
dalvik.vm.heapsize=256M dalvik.vm.execution-mode=init:jit |
![]() |
![]() |
![]() |
#2 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() Posts: 25
Karma: 582
Join Date: Jul 2011
Device: Entourage Pocket Edge, Entourage Edge
|
And this is exactly why I keep following this forum. Great tip, helf! I just keep finding reasons to love my little Edge...
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 124
Karma: 500250
Join Date: Jun 2011
Device: Entourage Pocket eDGe, Entourage eDGe, Samsung Galaxy Note II
|
np! I'm glad people are still checking in. Post your experiences with the VM change, if you want. I'm curious to see how other people fair with it.
![]() |
![]() |
![]() |
![]() |
#4 | |
Zealot
![]() Posts: 146
Karma: 10
Join Date: Mar 2011
Location: Leblon, Rio de Janeiro, Brazil
Device: 1 EE,3 PEs,HP Pro Slate12.2,&Kindle Paperwhite,GalaxyTabPro12.2,Note 4
|
![]() Quote:
Thanks, in advance... |
|
![]() |
![]() |
![]() |
#5 | |
Member
![]() Posts: 12
Karma: 10
Join Date: Sep 2011
Device: Entourage Edge
|
I'm a noob, so I have no idea how to do this. Can you or anyone else explain how this is done?Thank you.
Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 124
Karma: 500250
Join Date: Jun 2011
Device: Entourage Pocket eDGe, Entourage eDGe, Samsung Galaxy Note II
|
Hi, mjc. I will try and post an easy to follow step-by-step soon. I've been busy and failed to check on the forum. Sorry for the really delayed response. If you are still interested in doing this you can send me a private message and I can try helping quicker, as well.
|
![]() |
![]() |
![]() |
#7 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 29
Karma: 22360
Join Date: May 2009
Device: Kindle2, Pocket eDGe, (full-size) eDGe, Nexus 7, Galaxy Note 10.1
|
Please don't take this discussion private... there are others that are lurking but interested too
![]() |
![]() |
![]() |
![]() |
#8 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 124
Karma: 500250
Join Date: Jun 2011
Device: Entourage Pocket eDGe, Entourage eDGe, Samsung Galaxy Note II
|
Ha. I wont. Couldn't get to it this weekend. Gonna try over the next few nights. I need to update my eDGe anyways.
Since the mods appear super anal about image sizes and number of images, I will probably make a PDF and just post a link to it. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
build.prop performance tweaks (touch response, media save size, faster bootup etc.) | multiprose | enTourage eDGe | 3 | 04-29-2012 09:16 PM |
Dingo - Noticeable Performance Boost, 9 hour LCD and 20 hour Reader battery life?! | borisb | enTourage Archive | 18 | 09-07-2010 11:52 AM |
Increasing the font size when converting PDF | Anonymouslemming | LRF | 4 | 05-28-2010 03:39 AM |
Library size and performance | MrFinch | Calibre | 4 | 01-01-2009 04:11 AM |