82200 Posts in 5416 Topics - by 14399 Members - Latest Member: altpersona - Recent Unread Topics

Author Topic: ARM11-optimized libdvm.so  (Read 18061 times)

robotguy

  • Haxsung Developer
  • Haxsung User
  • ***
  • Posts: 170
  • Reputation: 74
    • View Profile
ARM11-optimized libdvm.so
« on: May 29, 2010, 02:41:26 AM »
This is libdvm.so recompiled to take advantage of ARM CPUs with VFP like the s3c6410.  Install it on your Samsung Moment and it will run non-native code significantly faster.

Apply the zips using an SDX recovery.  The updates automatically clear dalvik cache.

arm11-dvm.zip

By request, here's one with JIT enabled.  It's unstable on my phone, so use at your own risk.
It's also very fast so don't try it if you have a low tolerance for excitement. :)

arm-11-dvm-wJIT.zip (unstable)

You can use noobnl's no-JIT restore to go back to the stock libdvm.so

Spica guys discovered that the stock Calculator app doesn't work.  The problem is with an old version of a library and updating the app to the latest version of that library fixes it.

arm11-calcuator.zip

UPDATE: The calculator update zip has been fixed to correctly remove the stock .odex and clear dalvik cache.
« Last Edit: May 31, 2010, 08:41:27 PM by robotguy »

Zeinzu

  • SDX Blue
  • Haxsung Guru
  • ***
  • Posts: 2255
  • Reputation: 215
  • If you root it, they will come!!!
    • View Profile
Re: ARM11-optimized libdvm.so
« Reply #1 on: May 29, 2010, 02:45:06 AM »
This is libdvm.so recompiled to take advantage of ARM CPUs with VFP like the s3c6410.  Install it on your Samsung Moment and it will run non-native code significantly faster.

Apply the zip using an SDX recovery.

http://forum.sdx-developers.com/index.php?action=downloads;sa=downfile&id=260

will load up now and test for the weekend, if no issues will report back mon/tues wit results, if any major issues will reply back asap with what they are
The Guides Section - Go There Before You Ask
The Search Feature Is Also There For A Reason

dseo80

  • developer tester
  • Haxsung User
  • *
  • Posts: 200
  • Reputation: 16
    • View Profile
Re: ARM11-optimized libdvm.so
« Reply #2 on: May 29, 2010, 02:45:39 AM »
Im currently using noobnl's JIT - will this be compatible with that?

If i install both would something break? or one just stop working?

Thanks for the file btw. very nice.

--UPDATE

This will be fast but extremely unstable w/ JIT for now.
Keep a lookout the devs are working on a solution :)
« Last Edit: May 29, 2010, 02:48:40 AM by dseo80 »

robotguy

  • Haxsung Developer
  • Haxsung User
  • ***
  • Posts: 170
  • Reputation: 74
    • View Profile
Re: ARM11-optimized libdvm.so
« Reply #3 on: May 29, 2010, 02:49:58 AM »
This libdvm is compiled without JIT so if you install it you won't have JIT.

Zeinzu

  • SDX Blue
  • Haxsung Guru
  • ***
  • Posts: 2255
  • Reputation: 215
  • If you root it, they will come!!!
    • View Profile
Re: ARM11-optimized libdvm.so
« Reply #4 on: May 29, 2010, 02:59:20 AM »
so far i like it better, im getting a steady 4.5mflops in linpack and no crashes, reboots, freezes, runs smooth, feels great, mind u its only been a few minutes, but with jit id have a freeze by now

great work man, excellent

edit: i also seem to have more free memory, mind u between joey's kernel, AMM, and this

this phone is becoming insanely fast
« Last Edit: May 29, 2010, 03:00:56 AM by Zeinzu »
The Guides Section - Go There Before You Ask
The Search Feature Is Also There For A Reason

robotguy

  • Haxsung Developer
  • Haxsung User
  • ***
  • Posts: 170
  • Reputation: 74
    • View Profile
Re: ARM11-optimized libdvm.so
« Reply #5 on: May 29, 2010, 03:06:56 AM »
this phone is becoming insanely fast

We're just gettin' started  :)

Zeinzu

  • SDX Blue
  • Haxsung Guru
  • ***
  • Posts: 2255
  • Reputation: 215
  • If you root it, they will come!!!
    • View Profile
Re: ARM11-optimized libdvm.so
« Reply #6 on: May 29, 2010, 03:08:22 AM »
this phone is becoming insanely fast

We're just gettin' started  :)
now THAT'S what i like to hear, keep up the GREAT work u guys, and as always i may not be able to contribute much (yet) but ill do what i can no question
The Guides Section - Go There Before You Ask
The Search Feature Is Also There For A Reason

MeatCurtains

  • Haxsung Developer
  • Haxsung Abuser
  • ***
  • Posts: 627
  • Reputation: 138
  • You thinking Aryb's?
    • View Profile
Re: ARM11-optimized libdvm.so
« Reply #7 on: May 29, 2010, 03:16:39 AM »
Installing now. Are you pulling the 4+ mflop with just this alone?

Samsung Moment
MeatKernel
Amstel 2.0
Ubuntu dual boot
Comming soon - dual boot with gentoo.
Also keep an eye out for MeatRom, it will suck less than the rest.

littlejth

  • Haxsung Developer
  • Haxsung Abuser
  • ***
  • Posts: 614
  • Reputation: 77
    • View Profile
Re: ARM11-optimized libdvm.so
« Reply #8 on: May 29, 2010, 03:17:08 AM »
Can you please compile this WITH jit?

robotguy

  • Haxsung Developer
  • Haxsung User
  • ***
  • Posts: 170
  • Reputation: 74
    • View Profile
Re: ARM11-optimized libdvm.so
« Reply #9 on: May 29, 2010, 03:18:12 AM »
Installing now. Are you pulling the 4+ mflop with just this alone?

Yep

Zeinzu

  • SDX Blue
  • Haxsung Guru
  • ***
  • Posts: 2255
  • Reputation: 215
  • If you root it, they will come!!!
    • View Profile
Re: ARM11-optimized libdvm.so
« Reply #10 on: May 29, 2010, 03:19:20 AM »
Installing now. Are you pulling the 4+ mflop with just this alone?

im only using the things i listed, so basically, yes

if jit would "ever" be stable on my phone, the combo would be insanity, but i never get positive results from jit, only very consistent crashes, reboots, freezes, so much so it renders my phone unusable

edit: i did NOT clear the dalvik cache, should i clear it and reapply? like i said so far im having no issues, but is it recommended for a specific reason? or just a precaution
« Last Edit: May 29, 2010, 03:21:42 AM by Zeinzu »
The Guides Section - Go There Before You Ask
The Search Feature Is Also There For A Reason

robotguy

  • Haxsung Developer
  • Haxsung User
  • ***
  • Posts: 170
  • Reputation: 74
    • View Profile
Re: ARM11-optimized libdvm.so
« Reply #11 on: May 29, 2010, 03:21:11 AM »
Can you please compile this WITH jit?

Sure, but be warned it's not totally stable...and it may spoil you. :)

I'm working on the AOSP build currently but when I get a chance I'll post a JIT-enabled compile.
« Last Edit: May 29, 2010, 03:22:54 AM by robotguy »

robotguy

  • Haxsung Developer
  • Haxsung User
  • ***
  • Posts: 170
  • Reputation: 74
    • View Profile
Re: ARM11-optimized libdvm.so
« Reply #12 on: May 29, 2010, 03:25:28 AM »
edit: i did NOT clear the dalvik cache, should i clear it and reapply? like i said so far im having no issues, but is it recommended for a specific reason? or just a precaution

Hey, if it ain't broke, don't fix it. :)  I just figured since it's a different dalvik build it would be good to clear the cache.

littlejth

  • Haxsung Developer
  • Haxsung Abuser
  • ***
  • Posts: 614
  • Reputation: 77
    • View Profile
Re: ARM11-optimized libdvm.so
« Reply #13 on: May 29, 2010, 03:25:49 AM »
Yeah I know it will be. :P How did you compile this exactly? I would like to know :P

MeatCurtains

  • Haxsung Developer
  • Haxsung Abuser
  • ***
  • Posts: 627
  • Reputation: 138
  • You thinking Aryb's?
    • View Profile
Re: ARM11-optimized libdvm.so
« Reply #14 on: May 29, 2010, 03:26:04 AM »
This is plain sick...

I'm damn sure this isn't the placebo effect...

So if I put JIT on here as well its not going to make a difference is it?
Samsung Moment
MeatKernel
Amstel 2.0
Ubuntu dual boot
Comming soon - dual boot with gentoo.
Also keep an eye out for MeatRom, it will suck less than the rest.

 


Buy on amazon, Support this website