FORUMS
Remove All Ads from XDA

[HOW-TO] Speed Up UI/Fix Lag

9,887 posts
Thanks Meter: 3,067
 
By Product F(RED), Senior Member on 4th August 2011, 07:05 AM
Post Reply Email Thread
Being a high-memory device, I'm surprised HTC only set the dalvik virtual machine heap to 32MB, which is fine for 512MB phones. But we can bump it up to 48MB or 64MB without a problem. Each app you run is in its own virtual machine. Heap is the amount of memory each app has allocated to it. If you higher it (if you have enough RAM, which we do) it will result in less garbage-collection, which means improved speed and sometimes battery life.

If you're rooted on stock ROM, you have to install Busybox manually. Go to the Market and download and run Busybox Installer, then reboot. After that do these steps:

1) Download Blade Buddy
2) Advanced Settings
3) Check the first box for hardware acceleration
4) Scroll down, Dalvik VM Heap = 64M
5) Hit Save -> Yes, then manually reboot. If you hit Apply, it's temporary until reboot.

Goodbye lag. You'll notice Sense is a lot quicker, especially scrolling through the app drawer.
The Following 8 Users Say Thank You to Product F(RED) For This Useful Post: [ View ] Gift Product F(RED) Ad-Free
4th August 2011, 07:06 AM |#2  
Senior Member
Thanks Meter: 89
 
More
Testing now. Will report back.

Sent from my PG86100 using XDA App
4th August 2011, 07:11 AM |#3  
jgalan14's Avatar
Senior Member
Flag Las Vegas
Thanks Meter: 367
 
Donate to Me
More
Quote:
Originally Posted by Product F(RED)

Being a high-memory device, I'm surprised HTC only set the dalvik virtual machine heap to 32MB, which is fine for 512MB phones. But we can bump it up to 48MB or 64MB without a problem. Each app your run is in its own virtual machine. Heap is the amount of memory each app has allocated to it. If you higher it (if you have enough RAM, which we do) it will result in less garbage-collection, which means improved speed and sometimes battery life.

1) Download Blade Buddy
2) Advanced Settings
3) Check the first box for hardware acceleration
4) Scroll down, Dalvik VM Heap = 64M
5) Save -> Restart

Goodbye lag. You'll notice Sense is a lot quicker, especially scrolling through the app drawer.

Thanks for the tip

If you don't have an Evo3d well you don't have an Evo3d :P
4th August 2011, 07:12 AM |#4  
Senior Member
Flag California
Thanks Meter: 18
 
More
Works with sensation?
4th August 2011, 07:14 AM |#5  
Senior Member
Thanks Meter: 89
 
More
I didn't get a huge difference. Just ever so slightly less lag. Is yours overclocked? Any negative side effects if I push the vm heap too high?

Sent from my PG86100 using XDA App
4th August 2011, 07:18 AM |#6  
Product F(RED)'s Avatar
OP Senior Member
Brooklyn, NY
Thanks Meter: 3,067
 
More
Quote:
Originally Posted by matistight

Works with sensation?

It should, although the Sensation has 256MB less RAM than the 3D. Give it a shot.

Quote:
Originally Posted by flomexico

I didn't get a huge difference. Just ever so slightly less lag. Is yours overclocked? Any negative side effects if I push the vm heap too high?

Sent from my PG86100 using XDA App

Not overclocked at all. Stock ROM, stock kernel, just rooted and removed bloat. It wasn't a HUGE increase, but it made it go from noticeably laggy to as fast as my Nexus S 4G. The speed boost from enabling of debug.sf.hw may be a placebo effect, but doubling the VM Heap size will definitely bring an actual performance increase. How big depends on what you're running.
4th August 2011, 07:26 AM |#7  
felacio's Avatar
Senior Member
Flag Fayetteville
Thanks Meter: 968
 
Donate to Me
More
Quote:
Originally Posted by Product F(RED)

It should, although the Sensation has 256MB less RAM than the 3D. Give it a shot.



Not overclocked at all. Stock ROM, stock kernel, just rooted and removed bloat. It wasn't a HUGE increase, but it made it go from noticeably laggy to as fast as my Nexus S 4G. The speed boost from enabling of debug.sf.hw may be a placebo effect, but doubling the VM Heap size will definitely bring an actual performance increase. How big depends on what you're running.

Yeah. I don't think I see any difference with GPU rendering. Wouldn't it kill the battery quicker too?

Also. If we get a honeycomb port. Wouldn't the Gould rendering really make a difference then?

Are we not Phones?
We are EVO
ARE WE NOT PHONES?!
3.Dee.V.O.
4th August 2011, 07:35 AM |#8  
Senior Member
Thanks Meter: 55
 
More
Cool thanks thats a really cool app and looks like it has a ton more uses than just this!
4th August 2011, 07:35 AM |#9  
Senior Member
Thanks Meter: 89
 
More
Strange. I'll try pushing it to 96m. I do have the full page stock widget open (I constantly watch oil prices.). I know the calendar widget slows it down, I would assume the stocks would do the same.

Thanks for the tip though. If 96 eliminates lag, the ln you shall become the king of everything.

Sent from my PG86100 using XDA App
4th August 2011, 07:37 AM |#10  
Product F(RED)'s Avatar
OP Senior Member
Brooklyn, NY
Thanks Meter: 3,067
 
More
Quote:
Originally Posted by felacio

Yeah. I don't think I see any difference with GPU rendering. Wouldn't it kill the battery quicker too?

Also. If we get a honeycomb port. Wouldn't the Gould rendering really make a difference then?

Are we not Phones?
We are EVO
ARE WE NOT PHONES?!
3.Dee.V.O.

Yes, it would sip on battery a bit more. It's weird you guys aren't seeing an increase in speed. Normally when I scroll through my homescreens, there's noticeable lag, even though I have like 3 widgets on the screen total. Now the lag's gone. It doesn't really affect speed as far as benchmarking goes, but it definitely made Sense smoother for me and it did make some 3D games less stuttery.
4th August 2011, 07:41 AM |#11  
Senior Member
Flag Philadelphia
Thanks Meter: 14
 
More
Do you need to be rooted for this to work?

Sent from my PG86100 using XDA App
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes