Cm7- Vm Heap Size on Htc Wildfire- Performance optimization - Wildfire General

Hello,
two days ago i changed the size of my Vm-heap to 32mb. I was curious after i read in some posts that this could affect the performance of resource-intensiv apps. As i am using navigon-navigation a lot i had to give it a try...
After ive changed it and rebootet the device, navigon works MUCH better then before, track calculation is much faster and the app is much more responsive and running fluent. The difference is highly noticeable. For other apps like my browser i experiecend the same.
I read that the downside of it is that it is possible that apps could be moved out of memory because some other apps now use more ram and so the jumping between apps could be more time intensive. But i have noticed no slow down at all.
(Wildfire is not a fast phone, but i think 384 mb ram is really good for that kind of phone, some other phones like galaxy ace have only 287 RAM with better cpu)
My experience is that a lot of apps running much better know, and for me its a absolute performance enhancement, I would even go so far that i would say it was the best performance-enhacement after overclocking the device. So if you are running resource-intensive apps (like navigation browsing) you should definitely give it a try.
Whats your experience with that ? Ever changed the vm heap size? Noticed differences??
Cheers.

im rocking 32 since i s-off my phone with alpharevx beta,and yes its better for intensive apps (imo) but the one thing i cant understand is way my phone i lagging when i get a call??some times the ringtone is playing and the screen is black,any tips thx

darkstep said:
im rocking 32 since i s-off my phone with alpharevx beta,and yes its better for intensive apps (imo) but the one thing i cant understand is way my phone i lagging when i get a call??some times the ringtone is playing and the screen is black,any tips thx
Click to expand...
Click to collapse
im running my phone with the ondemand governor with cpu-min:528 and cpu-max:691 and i have no lag when someone is calling.

Nhs666 said:
im running my phone with the ondemand governor with cpu-min:528 and cpu-max:691 and i have no lag when someone is calling.
Click to expand...
Click to collapse
It is indeed said that such lag is due to the 'extreme' underclocking of the processor.
I'm on CM7 RC1, use SMARTASS with 245 as a minimum, and haven't noticed any lag yet..
Sent from my HTC Wildfire using XDA App

ErwinP said:
It is indeed said that such lag is due to the 'extreme' underclocking of the processor.
I'm on CM7 RC1, use SMARTASS with 245 as a minimum, and haven't noticed any lag yet..
Click to expand...
Click to collapse
I didn't want to implicate that the ringing lag is about the low freq., but i noticed that with such low freq's the phone is not so responsive when pulling suddenly the notificationbar, get it out of standby and such things. Never noticed something like that??

I was testing about it too. i settled with 32mb heap size, which i've found to be the best practice. Anything lower would make apps like navigon or opera lag, anything higher, would give me force closes on apps for some reason.
I also tried to experiment with compcache, with the following settings "disabled, 18%, 26%" and i think 26% makes my wildfire a bit snappier, although it might be just a placebo effect, because there's no difference in quadrant/linpack benchmarks.

why placebo effect....the question is how good can a benchmark represent the practial application in daily usage. Anybody?
I tried vm heap bigger than 32mb too. But while running navigon it seems to me not much as a big improvement so i switched back.
The compcage thing will be the next thing im testing.

Nhs666 said:
why placebo effect....the question is how good can a benchmark represent the practial application in daily usage. Anybody?
I tried vm heap bigger than 32mb too. But while running navigon it seems to me not much as a big improvement so i switched back.
The compcage thing will be the next thing im testing.
Click to expand...
Click to collapse
I have to agree with you Whatever makes my phone "feeling" snappier and faster is good enough in my eyes!
You should really check Juwes Ram optimization thread in the Android development section for some serious performance gain. I flashed it yesterday in CM 7.1 Nightly 144 and the responsiveness boost is quite noticeable.

i agree the synthetic benchmarks are not that important its the daily use performance that mater to me

I have disabled compcache and enabled swap and my phone is snappier than 18%compcache may be Coz of compressing and decompression techniques that slow the process in compcache and scores 3.9 to 4.1 on linpack score with 576 MHz speed...
Sent from my HTC Wildfire

vijaykirann said:
I have disabled compcache and enabled swap and my phone is snappier than 18%compcache may be Coz of compressing and decompression techniques that slow the process in compcache and scores 3.9 to 4.1 on linpack score with 576 MHz speed...
Sent from my HTC Wildfire
Click to expand...
Click to collapse
Hmm i have a swap partition already made just in case and i might try it, but in theory a swap partition (even worse if it's a file) is much slower than the compressed cache due to the SD Speed limitations, unless we are discussing about class 10 cards.
anyone ?

Related

2.7, why would you disable JIT

As the title infers, why would you disable JIT? No problems here, exyensive use, 4.8 MFLOPS with Auto Killer
Our phones are not made for JIT. When you initially flash a ROM, JIT will give you a slight performance boost. However, over time that boost will diminish and eventually your phone will actually perform worse. This is, at least, what I've heard.
My experience would seem to back that up. Whenever I've tried to use JIT, I've gotten maybe a "slight" performance boost off the bat, but 3 or 4 days later I was re-flashing because the phone was too slow to be usable.
The problem could also be that they always seem to want to include a kernel with BFS in those roms, which causes way too many problems to justify the tiny performance boost you get out of it.
I've had JIT enabled for over 2-3 weeks now. No issues with it, it actually runs a lot faster if I don't have anything that gives me system info constantly such as AutoKiller, Systray, JuiceDefender, etc and I still hit 5.29 MFLOPS when I test.
I've been running JIT for months now, never had any problems with it.
@illogic: If by "our phones" you mean "Most apps before 2.2 went mainstream" then you'd be right.
http://forum.cyanogenmod.com/topic/880-jit-wont-make-your-phone-super-fast/page__p__7910?#entry7910
Notice this portion of the post: "CPU intensive tasks get faster, but at the cost of RAM."
The way Darchstar explains it is that our phones cannot sacrifice that RAM once our phones have been bogged down with installed apps. He doesn't plan to include JIT by default when CM 6 goes final for HeroC and that's why.
illogic6 said:
http://forum.cyanogenmod.com/topic/880-jit-wont-make-your-phone-super-fast/page__p__7910?#entry7910
Click to expand...
Click to collapse
Results may vary, and this is speaking from the "JIT" in Eclair which was coded differently... unless im drunk and read that wrong.
illogic6 said:
http://forum.cyanogenmod.com/topic/880-jit-wont-make-your-phone-super-fast/page__p__7910?#entry7910
Notice this portion of the post: "CPU intensive tasks get faster, but at the cost of RAM."
The way Darchstar explains it is that our phones cannot sacrifice that RAM once our phones have been bogged down with installed apps. He doesn't plan to include JIT by default when CM 6 goes final for HeroC and that's why.
Click to expand...
Click to collapse
~80MB free RAM with a modest 20 apps installed.
He doesn't plan to include JIT by default because it still caused some system instability, and the performance gains from it was in the 20-30% range, rather then the 450% we were told.
DirtyShroomz said:
Results may vary, and this is speaking from the "JIT" in Eclair which was coded differently... unless im drunk and read that wrong.
Click to expand...
Click to collapse
The JIT we've had all along was basically an alpha of the current JIT included in 2.2.
abcdfv said:
The JIT we've had all along was basically an alpha of the current JIT included in 2.2.
Click to expand...
Click to collapse
Yup... well my phone is definitely stable, faster and not a memory hog. Constant 40-50mb RAM free with well over 40 apps
Well, if you use a2sd (non-native, not sure about the native froyo a2sd), wouldn't you have plenty of RAM? I'm running Fresh 2.3.3 with a2sd and 50+ apps, and I have ~130 mb free
Sent from my HERO200
The amount of apps installed has nothing to do with the amount of free ram.
Sent from my Hero CDMA using XDA App

FINALLY a fast phone (HTC Magic 32B)

Hey there,
I went through a lot of trouble to get my HTC Magic (32B) working really well,
just wanna share this for people who have issues with the phone's performance as well.
I've tried many things, including a swap partition (on a fast SD-Card) as well as compcache.
Turns out, disabling both did the trick. It FINALLY went from unusable to fast and enjoyable!
My current rom:
Cyanogenmod 6.1.0 RC1
Settings->Cyanogenmod-->Performance:
Compcache DISABLED
JIT Enabled (I noticed an increase in CPU Power with the linpack benchmark,
but it still seems underpowered at 3.3 mflops)
Dithering Disabled
Keep Home App in Cache Enabled
Keep MMS-App in Cache Enabled
VM Heap 16m
Also I am using SetCPU to overclock to 576mhz at the moment(feels like the battery is draining faster).
Another thing I did was to reduce number of Homescreens in ADWLauncher down to 3, since thats 'nuff for me.
Hope this helps someone out there, as I was about to shatter my phone into a million pieces :O
On a sidenote: How many mflops do you get with your Magic?
I have the same findings There was a point when swap, overclock, apps2SD, and compcache all would make a major speed-up on your phone, but the CM6.1RC and the nightlies that shortly preceded it have given me the best performance in my magic's history with all of it turned off.
My phone is configured very similar to yours. I went up to vm24 to smooth out how heavier applications run. I left JIT on despite the theoretical drawbacks because I notice no performance hit and it makes a difference on fractal rendering apps (I'm indifferent to benchmarks).
The CM forums seem to be in a bit of turmoil atm because people are slowing down their phones by applying mods that genuinely sped it up in the past.
But for the first time I can be widget-heavy, always go straight back to home, use window animations, never have choppy music (even when using navigation), use alternate keyboards with no performance hit, and even run a good few live wallpapers. All with unprecedented battery life? Not sure what CM did but he/they sure did it right.
One thing - overclocking your CPU will better your benchtest results but I think you'll surprise yourself by leaving it stock, and even (gasp!) underclocking it. CPU clockrate is one of many possible bottlenecks and considering the 1.5 and 1.6 official roms were capped at 384 (or 352 I can't remember), I doubt it is the culprit of possible slowdowns. I run at 384 almost all of the time and have noticed no side effect except for extreme battery life and added stability (615 gives me reboots). The only differences I've seen overclocking make are in fractal rendering apps and benchtests but Pandas vs. Ninjas and Raging Thunder rock at 384.
glad to see I'm not alone with this
I can still see the phone running out of ram when alot is going on, but its ok.
I'll try your suggestion and underclock the phone.
Another small tweak I just found:
under mobile network settings there is an option "only use 2G", which is checked by default. turning this off improved my connection speed (obviously).
but again this comes at the cost of battery-life.

Help with JRummy16 Droid X overclock app

I downloaded both apps to overclock my X. the unstableapps version made my X reboot constantly no matter what I set it at. Now I'm trying the JRummy16 app. I set it at 1.45 at medium voltage. No reboots, however, while playing a simple game, it hesitates and skips and jumps around. Also, I ran a quadrant benchmark 4 times and never scored over a 1400. My X running the newest Apex Rom scores over 1500 all the time. Any help with this app would be appreciated, or is it just a waste of time?
I can tell you right now JRummy's app is a keeper. However, Quadrant should be completely be disregarded immediately. Quadrant scores are a terrible way to judge anything. This has been discussed so many times I don't feel like saying it again but a short rundown is that their are so many tweaks that can change that number so drastically without an actual effect on performance.
Sent from my DROIDX using XDA App
But what about what I said about the game? Seems funny that it would start doing that after I overclock it.. Shouldn't that improve performance while playing a game or while running any other application?
and btw, i'm on here everyday multiple times and have never seen any major discussions about quadrant benchmark scores.. (other than the hundreds of people using it to brag about their X's all the time)
Your phone doesn't like that speed apparently so either go to high voltage or go down to like 1.30 and see what happens. I have found out that my phone likes 1.15 low voltage the best.
Just sounds like that speed is too high for your phone. Mine's best at 1.35. The x comes with 1ghz stock because it's stable on all phones. Some can handle more, some can't. You just gotta find your sweet spot.
Sent from my DROIDX using Tapatalk
brandon2x said:
I downloaded both apps to overclock my X. the unstableapps version made my X reboot constantly no matter what I set it at. Now I'm trying the JRummy16 app. I set it at 1.45 at medium voltage. No reboots, however, while playing a simple game, it hesitates and skips and jumps around. Also, I ran a quadrant benchmark 4 times and never scored over a 1400. My X running the newest Apex Rom scores over 1500 all the time. Any help with this app would be appreciated, or is it just a waste of time?
Click to expand...
Click to collapse
First of all, 1.45 is way too over clocking. I haven't seen too many Droid X that's stable at 1.45ghz. My recomemdation is to drop it down to 1.2 or 1.3 ghz. Mine is most stable at 1.2ghz low voltage. My other recomendation is to install Autokiller and have it preset at Extream or Ultimate. It keeps enough memory freed up at all times to run apps with out freezing your phone. Autokiller will make your phone snappier and smoother. At least from my experience.
Even though most people say that quadrant score is Not relevent in real life, I feel thats score has some truth to it. My Quad score stock ranges any where from 1250 to 1400. When I over clock it to 1.2 ghz low voltage (MY CURRENT SETTING), score ranges from 1500 to 1600 or some times even little higher. When I over clock to 1.3 ghz, score improves again. It scores as high as 1700+ which I'm sure means some thing.
Be careful when u running any auto task killers. Linux, androids base, has always handled processes well and managed ram well. If this was wm we would be having a different discussion. As for quadrant score I guess its an alright tool to compare ur settings on your phone bit a comparison better two different phone is not reliable at all. But actual phone performance regardless of the benchmark is always best, I normally run at 900 ghz at 45-46 vsel and the phone flies on gummyjar and rubix
Sent from my DROIDX using XDA App
ok, well 2 days on 1.25 medium voltage and its great, so thanks all...
mfinlay04 said:
Be careful when u running any auto task killers. Linux, androids base, has always handled processes well and managed ram well. If this was wm we would be having a different discussion. As for quadrant score I guess its an alright tool to compare ur settings on your phone bit a comparison better two different phone is not reliable at all. But actual phone performance regardless of the benchmark is always best, I normally run at 900 ghz at 45-46 vsel and the phone flies on gummyjar and rubix
Sent from my DROIDX using XDA App
Click to expand...
Click to collapse
That's what I was told also. That Android manages Ram well how ever when I was running Widget Locker, LP along with other apps including games, my phone would freeze or delay on me. When I check the RAM, it was going as low as 25MB available. Ever since I preset the AutoKiller to Ultimate, my phone shows over 150MB available and phone has been running really smooth with NO frezzing or delay.
Autokiller is not the same as a task killer. It assists android's internal memory management system. It just tweaks it to your liking, just like all the other mods and hacks you do to your phone.
Sent from my DROIDX using Tapatalk

What's the point of overclocking???

Ok I aint joking but seriously what is the point of overclocking a Desire z/G2. Unless I am running on a slow phone I don't see the point. Stock speed never lags and i haven't seen any difference between 1.5 ghz vs 800mhz.
The only time when 1.5ghz clock speed is useful is when i running quadrant and rubbing its scores infront of my friends face.
There is any areas where you can actually see the performance difference?
bluntly, if you dont see the point of it then you don't need it.
For others, sometimes you run alot of stuff in the background and still want to be able to have your main app perform at its best level.
There is also the minute tweaking of speed and snappiness of the interface. The idea of instant reaction when you open your message app, or your email, or anything.
bruceko86 said:
Ok I aint joking but seriously what is the point of overclocking a Desire z/G2. Unless I am running on a slow phone I don't see the point. Stock speed never lags and i haven't seen any difference between 1.5 ghz vs 800mhz.
The only time when 1.5ghz clock speed is useful is when i running quadrant and rubbing its scores infront of my friends face.
There is any areas where you can actually see the performance difference?
Click to expand...
Click to collapse
Heavy multitasking
Sent from my HTC Vision using Tapatalk
flash video seems pretty laggy to me at 800...
http://lmgtfy.com/?q=overclocking
Sent from a Western Union telegram.
blackknightavalon said:
http://lmgtfy.com/?q=overclocking
Sent from a Western Union telegram.
Click to expand...
Click to collapse
Best link ever! I hope i can remember it long enough to use it sometime.
Sent from my HTC Vision using XDA Premium App
blackknightavalon said:
http://lmgtfy.com/?q=overclocking
Sent from a Western Union telegram.
Click to expand...
Click to collapse
Ya i know what overclocking is but I haven't found one instances where I needed it to run an app. G2 is already damn fast and it runs android with no lag but I really see no point until more demanding ver. of android come out.
I just wanted to see who overclocks their G2 everyday and for what purpose.
bruceko86 said:
Ya i know what overclocking is but I haven't found one instances where I needed it to run an app. G2 is already damn fast and it runs android with no lag but I really see no point until more demanding ver. of android come out.
I just wanted to see who overclocks their G2 everyday and for what purpose.
Click to expand...
Click to collapse
Fair question IMHO.
I don't see the difference when overclocking, or rather I don't feel it. Software does make a difference, but not the extra 200-500Mhz. I do feel however the battery drain
It always makes me laugh when somebody asks a legitimate question and you get silly responses like the above 2. It's as if these people feel threatened and have to justify that they are more knowledgeable than the op. The facts of the matter are most of the tweaks, mods and alterations are wholly unnecessary in the real world.
If you don't feel like it makes it better then you don't have to use it. I use it because I feel it makes everything just a little snappier and more instant. If you don't notice a difference that's fine. It's probably trivial for me to notice the little hang ups but I can't help it.
Sent from my HTC Vision using XDA App
For me there's several reasons. For the most part, the reason for oc is because you can. But there are practical reasons as well. For example, with the stock ROM running at 800MHz, you're stuck with that. With an oc kernel and using SetCPU or built in clock settings in CM, you can adjust it as needed. Gonna play a game? Bump it up to 1GHz or so. Done with said game? Take it back down to 800MHz. But it's not all about oc. Sometimes there's a need to underclock. Getting low on battery and don't have a charger near by and need to squeeze another hour or two out of it? Maybe take it down to 768MHz or 600MHz (if you're running Pershoot's kernel).
Dungeon Defender:
800 mHz : not fun, laggy
1.5 gHz : fun, graphic are more smooth
Reasons for using over clocking:
Because I can
Because sometimes I do notice the difference in performance of the UI and some applications (wait for Sense 3.0 etc...)
Because I also use it to underclock.
Like everything else, a lot of it is perception. My wife cannot see any difference between our normal cable channels and the HD ones. I can (or am I just trying to convince myself that I can?). Oh well.
Finally some practical and helpful responses, showing an understanding of the need for information from some people.
here's my experience when it comes to overclocking. keep in mind that, like with your computer, it does vary from user to user... so I'm making these statements from MY experience, not making blanket statements regarding all of our devices:
- if you run multiple homescreens with multiple widgets and ui "smoothness," not just aesthetically, but performance-wise as well, is of concern, mild overclocking becomes necessary.
- if you have several apps running at any given time (in background or foreground) and ui smoothness, same definition as above, is of concern, mild overclocking becomes necessary.
- if you run any iteration of a sense rom in any configuration and ui smoothness is of concern, mild overclocking becomes necessary.
- if you run PSX/N64 emulators and you don't want audio distortion or general lagginess, more aggressive (in my case, 1209 is a safe speed for maximizing performance without having a drastic effect on battery life) overclocking becomes necessary.
on AOSP builds, especially gingerbread-based, I don't think there is a necessity for more processing power than what we get from the factory if you're running a relatively slim setup and aren't using something like a PSX/N64 emulator regularly.
I run mine at 1ghz, but I did use 1.2ghz before. I do notice a slight performance difference. Overall tho I don't notice it much. I notice it more when I'm doing multiple things.
Nonsense!
OneGoodKnock said:
Finally some practical and helpful responses, showing an understanding of the need for information from some people.
Click to expand...
Click to collapse
For all that you're talking, you have yet to provide anything of value to this conversation while you're sitting up there berating those other 2 posters.
Think about it.
Sent from my Desire Z via XDA App
I run 1.1 because it is noticably faster. Everything opens faster and works smoother. My wife has a stock G2 and when I grab it to look something up on the web or to use maps when we're out, I instantly notice how mucher slower hers is.
Works for me so I use it.
I notice a definite performance boost on mine, but it also depends on which kernel/ROM you use. I was running meXroid for a few days and found that it got extremely laggy even overclocked with Flippy's kernel built in (1.9Ghz), plus my battery was dying faster than a Chuck Norris joke. PyroMod has always been reliable for me and I flashed back to 2.0 earlier and it's just as reliable and power-saving as ever.
mputtr said:
For all that you're talking, you have yet to provide anything of value to this conversation while you're sitting up there berating those other 2 posters.
Think about it.
Sent from my Desire Z via XDA App
Click to expand...
Click to collapse
Thanks for that.

[Q] Overclocking Question?

Hello.
I have a general question I have been searching for on Google and the forum here. I am wondering if someone could tell me some areas that I will notice the benefits of overclocking. What I mean is, I understand it speeds up the CPU, but other than running a quadrant score (which means nothing to me really) where would you see the results to the naked eye?
Since flashing Lightspeed ROM and using Thor's Kernals it does appear that my internet pages load faster and the boot animations load faster. I think it seems like my thumb keyboards pop up a slight bit faster as well.
Are these the noticeable changes? Or are they just in my head since I am overclocking? (OR I think I am)
I am using SetCPU and have the Max set to about 1.5 and the Min set to 1.0 or 1.2 most of the time.
If someone could weigh in with some more knowledgeable information and possibly point me to a nice write up for Noobs like me who are interested in learning more about the benefits of Overclocking as well as maybe a guide for advice using SetCPU (or another App?) that is more recommended by those on here, I would appreciate it!
Thanks!!
Mine's takes about 30 seconds to boot from vibrate to lock screen if that makes any difference. OC to 1.5 using taboonay 2.0 with HV 3.4 kernal.
Mine defiantly seems to boot up faster. I do not play a lot of game on the tab, mainly just internet and movies, so I am not sure I am doing anything that would require such an increase in graphics speed that I am noticing the major differences. Right now I have mine set to about 1.4 and it is very stable with no problems. If I go to 1.6 I notice things start FC'ing more often.
HD playback has definitely improved since overclocking on 3.1, some 720p videos that suffered from random slow downs now play flawlessly with setcpu at 1.5 on performance mode, temps always stay below 35°c hours after being set to performance.
The rest is minor improvements.
SoHaunted said:
HD playback has definitely improved since overclocking on 3.1, some 720p videos that suffered from random slow downs now play flawlessly with setcpu at 1.5 on performance mode, temps always stay below 35°c hours after being set to performance.
The rest is minor improvements.
Click to expand...
Click to collapse
Thanks. I will have to take a look at that tomorrow when I am stuck on the plane for a few hours.

Categories

Resources