1. Check out our companion app, Forums for Android! Download from Google Play

Root Testing JIT?

Discussion in 'Android Devices' started by AndroidsOfTara, Mar 8, 2010.

  1. AndroidsOfTara

    AndroidsOfTara Well-Known Member
    Thread Starter
    68

    Nov 14, 2009
    459
    138
    68
    Androids
    Tara
    I installed Pete's BB v0.5 (ERE53) yesterday. Using the stock non-overclocked kernel, I am stunned at how much faster 2.1 is over 2.01.

    Anyway, I am curious about the JIT compiler and edited build.prop to enable it. I understand from reading either here or somewhere else that you don't have to push the three files (libnativehelper.so, etc.) as they already exist in BB. I did indeed find the three files.

    So how do I test to see if JIT is actually enabled and working?

    I ran Linpack a bunch of times before and after enabling. The highest I've see after enabling JIT is 4.667 mflops. It seems to consistently return 4.6xx mflops with occasional drops to 4.5xx or 4.4xx. Before enabling, it seemed to return mostly 4.5xx with an occasional 4.6xx.

    With such a small difference, I'm not convinced that JIT is actually enabled & working.
     

    Advertisement

  2. Redflea

    Redflea Well-Known Member
    163

    Oct 6, 2009
    2,623
    289
    163
    Look at the end of your build.prop file...

    If you see:

    dalvik.vm.execution-mode=int:jit

    It's enabled.

    If you don't see that line, or see:

    dalvik.vm.execution-mode=int:fast

    It is not enabled.
     
  3. Fabolous

    Fabolous Superuser
    313

    Nov 7, 2009
    3,635
    2,126
    313
    Multi-platinum Rapper
    Illinois
    You sure those files are already in BB? I pushed them over anyways.

    Those numbers are at 550? Those sound like stock numbers. I just downclocked to 550 and get about 5.35, so those are the numbers you should be getting with JIT enabled.
     
  4. AndroidsOfTara

    AndroidsOfTara Well-Known Member
    Thread Starter
    68

    Nov 14, 2009
    459
    138
    68
    Androids
    Tara
    Unless I'm a complete idiot, yeah, I saw them. I looked at where they are supposed to go and looked in those directories.

    Since my original post, Pete has posted a jitupdate.zip file which does all the work for you. It puts the files in place and edits build.prop. Since installing that, I have indeed gotten 5.35 like you.

    I guess that even though the files are there, you still need to put the new versions in place.
     
  5. Fabolous

    Fabolous Superuser
    313

    Nov 7, 2009
    3,635
    2,126
    313
    Multi-platinum Rapper
    Illinois
    Oh, yeah the files are there...but they're not the ones for JIT :D

    Glad you got it figured out though.
     
  6. Redflea

    Redflea Well-Known Member
    163

    Oct 6, 2009
    2,623
    289
    163
    There was a post (which I should have verified) that ESE53 already included JIT-capable versions of those files...did you guys try enabling via the build.prop edit before pushing the other files? Definitely worth a try...
     
  7. AndroidsOfTara

    AndroidsOfTara Well-Known Member
    Thread Starter
    68

    Nov 14, 2009
    459
    138
    68
    Androids
    Tara
    That's what I did. I found that same post and then put an edited copy of build.prop on the phone to enable JIT and got no increased performance.
     
  8. DiegoMejia

    DiegoMejia Well-Known Member
    68

    Sep 2, 2009
    134
    224
    68
  9. emdmao

    emdmao Well-Known Member
    53

    Dec 5, 2009
    384
    51
    53
    Would that update.zip work with Droidmod? I know theres an option to include JIT in the flash but I haven't checked if its really enabled.
     
  10. shrink57

    shrink57 Well-Known Member
    143

    Dec 19, 2009
    1,529
    149
    143
    South Florida
    I would not even bother. Any success with JIT has been on the 2.1 platform (DroidMod is 2.01). The most reliable being with the lastest ESE53 roms (with JIT active by default on most).
     
  11. DroidSuks

    DroidSuks Well-Known Member
    38

    Dec 9, 2009
    341
    18
    38
    is a smokey place.
    Try jit using petes v.0.7 ... adams new ese53 kernel on the low frequency... @1.2.

    Flying... with low heat.... great battery.... and stable!.... all with smoked glass....



    ;)
     
  12. brocja01

    brocja01 Well-Known Member
    36

    Nov 22, 2009
    225
    7
    36
    K, I'm by no means a noob. But everytime I see JIT I'm thinking of "Just In Time" debugging. What are we turning on when we use that? Is that what is stands for?
     
  13. AndroidsOfTara

    AndroidsOfTara Well-Known Member
    Thread Starter
    68

    Nov 14, 2009
    459
    138
    68
    Androids
    Tara
    It's a Java just-in-time compiler.

    Android apps are written in Java.
     
  14. inssane

    inssane Well-Known Member
    163

    Dec 17, 2009
    1,851
    156
    163
    Chi-Town
    As far as speed, disable background processes that hog memory and poss. cpu.
    Maybe a better score - I haven't tried both to compare back to back myself.
    Also disable live wallpaper maybe.
     

Share This Page

Loading...