virtual memory heap size - HTC Sensation

what should i have this set on its default at 32m atm and wanted to know what everyone else has theirs at

boroboy69r said:
what should i have this set on its default at 32m atm and wanted to know what everyone else has theirs at
Click to expand...
Click to collapse
I set mine at 64m.Some even set it as high as 88m on the new ICS Roms.. They claim it improves speed and performance.You can experiment with different values and see what works best for your Rom.

The higher you set it the more battery you end up using.

I have mine set to 64 as most people that I know do. Seems to be a good balance.

Related

Mytouch 4g Setcpu Optimization

So I've been searching the forums for a good thread on optimizing setcpu for specifically the Mytouch 4G. I couldn't find one so after i read up on it i created this profile. The tweaks that I've found make this run very fast and gets me easily 18 hours of battery life, and that is with moderate usage. These setting should work for most if not all devices. I don't get any real noticeable lag even when turning the screen on. I'm Using SetCPU 2.1.0 on a Grankin01 Kernel on a Stock ROM, and I'm also using "Autokiller Memory Optimizer" using moderate preset. Hopefully people will post there profiles anyway here it is.
Here is the thread for the Kernel I'm usinghttp://forum.xda-developers.com/showthread.php?t=876848
and here is a link for setcpu basics.
http://androidforums.com/evo-4g-all-things-root/210253-setcpu-guide.html
Alright here are my most recent setting I've been running.
I get around 20 hours of battery life on my phone with moderate use my set CPU settings are
Overclocked to 1.5 ghz minimum 245 ghz
Battery below 30% Max 1 ghz min 245 ghz
Screen off max 245 ghz min 245 ghz
Latest Cyanogen mod Alpha 7.0
I use max 1113 min 245 scaling on demand...screen off min 245 max 350
MT4G + CM7
Pretty sure this is in the wrong place. I guess you read up on everything except where would an appropriate place to post this be.
Sent from my MT4G running Gingerbread
I get 24hrs if I put my phone away! 6hrs on average lol. Cm7 stock kernel. Grankins breaks youtube everytime. Screen off 328 max 248 min. On demand.
Sent from my HTC Glacier using XDA App
With all the CM7 flashing, I get about 12-15hrs with 149760-245760
Sent from my Gridlocks' CM7 MT4G using XDA App
stlouie65 said:
With all the CM7 flashing, I get about 12-15hrs with 149760-245760
Sent from my Gridlocks' CM7 MT4G using XDA App
Click to expand...
Click to collapse
louie i dont know what to make of your preset here... Either you are running your phone incredibly slowly or you have forgotten a 0 on the end and are crazy OCing it...
Have mine set at 76800-1113600 on demand and I demand a lot and average about 8hrs. CM7, zinx kernel,with superpower.
I've been trying to get profiles and triggers down except I use CPU tuner inserted of setcpu. Is it possible to over clock yet still save battery? I doubt that somehow lol. If anyone can post full settings that save battery but still runs well I'd appreciate it. Ill copy one of you guys.
Questions though. What is all the governor stuff like performance, conservative, on demand, etc? What are the thresholds? What are the min max standards? Like if I have 300 and 1500, which does it user and why? Those are the only things I can't grasp
Sent from my HTC Glacier using XDA App
xFate said:
I've been trying to get profiles and triggers down except I use CPU tuner inserted of setcpu. Is it possible to over clock yet still save battery? I doubt that somehow lol. If anyone can post full settings that save battery but still runs well I'd appreciate it. Ill copy one of you guys.
Questions though. What is all the governor stuff like performance, conservative, on demand, etc? What are the thresholds? What are the min max standards? Like if I have 300 and 1500, which does it user and why? Those are the only things I can't grasp
Sent from my HTC Glacier using XDA App
Click to expand...
Click to collapse
Check out this link it has all you'll need to know http://androidforums.com/evo-4g-all-things-root/210253-setcpu-guide.html
What you want is your device to throttle based on the load being put on it. When you aren't doing much i.e. reading a text it should be clocked at 245760 for example because that's not a demanding task. and versely when you play a graphics intensive app or something, it should use just over the maximum amount of cpu power needed to run the app so the app runs smooth. but wont waste battery by overclocking to 1708800 when only a speed of 1017600 is needed. For this i use "conservative" on SetCPU because it will allow more customization.
My advanced settings for SetCPU are as follow. i haven't use CPU Tuner but hopefully it's similar.
Sample Rate you want kinda low 200000 is what i have and i don't get much if any lag.
Up Threshold is at what percentage of processor usage that the clock speed is increased. for me its set to 60. in other words at 60% load on the processor it will start to increase the clock speed.
Down Threshold is the load percentage where the clock speed will be reduced. i have mine set to 33.
Ignore Nice Load will just ignore nice processes. This includes system i believe. i have mine set to 0.
Grabbed this from a mac forum but it should apply.
"A process's priority is determined with a complex formula that includes what the process is doing and how much CPU time the process has already consumed. A special number, called the nice number or simply the nice, biases this calculation: the lower a process's nice number, the higher its priority, and the more likely that it will be run."
Frequency Step is how much of a jump the CPU will take to meet the load. mine is set low, (12) because most processes and apps wont need a whole lot of boost to run smoothly. For my device on average it will be under 768000 which is what you want and is where the battery saving really comes in. Because the CPU is under-clocked most the time its using a lot less battery but is still running everything smoothly.
A lot of people set there devices to ondemand because it's, "very responsive." although true its responsiveness comes from big steps in clock speed as opposed to the small ones that will most likely get the same job done. i.e. a clock speed of 902400 is more then enough to run the process quickly ondemand will jump to 1708800 to handle the same task.
copied from the above link at android forums.
" * ondemand - Available in most kernels, and the default governor in most kernels. When the CPU load reaches a certain point (see "up threshold" in Advanced Settings), ondemand will rapidly scale the CPU up to meet demand, then gradually scale the CPU down when it isn't needed.
* conservative - Available in some kernels. It is similar to the ondemand governor, but will scale the CPU up more gradually to better fit demand. Conservative provides a less responsive experience than ondemand, but can save battery.
* performance - Available in most kernels. It will keep the CPU running at the "max" set value at all times. This is a bit more efficient than simply setting "max" and "min" to the same value and using ondemand because the system will not waste resources scanning for the CPU load. This governor is recommended for stable benchmarking.
* powersave - Available in some kernels. It will keep the CPU running at the "min" set value at all times.
* userspace- A method for controlling the CPU speed that isn't currently used by SetCPU. For best results, do not use the userspace governor."
Please post in General section, not dev.
Well i changed my setting a little to be a bit more responsive and i haven't noticed a increase in battery usage. I set my max speed to 1516800 and min to 368640 and its running quite nicely.
Anyone else getting good result with the conservative setting?
Keldarr said:
So I've been searching the forums for a good thread on optimizing setcpu for specifically the Mytouch 4G. I couldn't find one so after i read up on it i created this profile. The tweaks that I've found make this run very fast and gets me easily 18 hours of battery life, and that is with moderate usage. I don't get any real noticeable lag even when turning the screen on. I'm Using a Grankin01 Kernel and I'm also using "Autokiller Memory Optimizer" using moderate preset. Hopefully people will post there profiles anyway here it is.
Here is the thread for the Kernel I'm usinghttp://forum.xda-developers.com/showthread.php?t=876848
and here is a link for setcpu basics.
http://androidforums.com/evo-4g-all-things-root/210253-setcpu-guide.html
Edit: I've been using my phone for the last 12 hours I unplugged it this morning and have only plugged it in to pull a screen shots with android commander then unplugged it and my battery is at 53% I've watch youtube, txt, made calls, taken pictures ect, ect normal crap, and its running strong. I've made small adjustments on some of my thresholds but they are mostly similar.
Click to expand...
Click to collapse
What version of SetCPU are you using? In mine I don't have the threshold for down, and my sampling rates are way different. Mine is set as from install at 50000. Running cm7alpha.
Using 2.1.0 and I have all the mentioned settings Bob
bobsbbq said:
What version of SetCPU are you using? In mine I don't have the threshold for down, and my sampling rates are way different. Mine is set as from install at 50000. Running cm7alpha.
Click to expand...
Click to collapse
Sent from my stickie key HTC Glacier using XDA App
Is there a way to change voltage? Frequency rules saves are minumum on cellphones.
I'm using Setcpu 2.1.0 and I'm using a stock OC Kernel from Grankin01 and u have to set the profile to conservative.
NovoRei said:
Is there a way to change voltage? Frequency rules saves are minimum on cellphones.
Click to expand...
Click to collapse
Frequency rules saves do save a lot of battery. Combine with undervolting and memory optimizations and you'll get big saves. But no setcpu is solely for cpu settings.
Whats the most stable speed to run this at?
So far i haven't had any stability issues on the Grankin01 Kernel. They ironed out most the stability issues in the Kernel its self. I do however keep my main profile around 1708800 - 1516800, generally 1516800, and min is set to 368640 and I've had no problem not even a signal freeze or crash. I've also run at 1708800 for most of the day plugged in and no issues other then heat. So i think is up to mostly prefrence.
I'm using a stock rom with bloatware removed and as i mentioned the Grankin01 1.7 OC Kernel.
Here is what I'm talking about. Sometimes the auto detect or something is wrong and I get this screen instead of the one you get. I don't understand why. I change ROMS a lot and I don't know if it is ROM specific or not. I'm currently on the cm7 preview from Zinx. Although I have seen it on other ROMS also as I posted before. Here is a pic.
Ignore the dropcap2 as I had just used it to take the picture.
bobsbbq said:
Here is what I'm talking about. Sometimes the auto detect or something is wrong and I get this screen instead of the one you get. I don't understand why. I change ROMS a lot and I don't know if it is ROM specific or not. I'm currently on the cm7 preview from Zinx. Although I have seen it on other ROMS also as I posted before.
Click to expand...
Click to collapse
Looks like from your screen shot that the profile SetCPU is using is on On demand, interactive or some default. What Kernel are you using? that may be the issue. If not a kernel issue. Then it may be a issue with CM7 and how SetCPU interacts with it. try disabling all your profiles and make sure that your main profile is for sure set to conservative.
Nothing else make a backup and try a different Kernel. Grankin01 has a few great ones and even a CM7 kernel with tunes and tweaks. As well as Gorilla. but id try the CM7 Kernel Grankin01 has first my buddy is running it and hasn't had problems. Just make you do a full backup to avoid a FUBAR situation.
http://forum.xda-developers.com/showthread.php?t=876848 Grankin01
http://forum.xda-developers.com/showthread.php?t=846451 Gorilla
Keldarr said:
Looks like from your screen shot that the profile SetCPU is using is on On demand, interactive or some default. What Kernel are you using? that may be the issue. If not a kernel issue. Then it may be a issue with CM7 and how SetCPU interacts with it. try disabling all your profiles and make sure that your main profile is for sure set to conservative.
Nothing else make a backup and try a different Kernel. Grankin01 has a few great ones and even a CM7 kernel with tunes and tweaks. As well as Gorilla. but id try the CM7 Kernel Grankin01 has first my buddy is running it and hasn't had problems. Just make you do a full backup to avoid a FUBAR situation.
http://forum.xda-developers.com/showthread.php?t=876848 Grankin01
http://forum.xda-developers.com/showthread.php?t=846451 Gorilla
Click to expand...
Click to collapse
You are right it was the main profile was set to on demand and when set to on demand these available options change.
As far as kerenls go I have not had good luck with Grankin CM Gingerbread kernels but he is working on a fix.

[Q] Optimal VM Heap Size for Nexus S?

Anyone know the optimal value of VM heap size for Nexus S?
It's default value is 32, but Galaxy S GB update set the value to 64.
Is 64 okay to Nexus S?
You can set the value to anything you want. It just says how much memory one app can use at maximum.
So there is no real need to raise it until apps start complaining about not enough memory.
They never complain. Android just shuts them down. So it depends on your usage when you notice that one app got killed while you started another bump up your heap.
Sent from my Nexus S 4G using XDA App
obsanity said:
So it depends on your usage when you notice that one app got killed while you started another bump up your heap.
Click to expand...
Click to collapse
Sorry, but that's not how it works. The memory usage of one app has nothing to do with the usage of another. We are talking about the maximum memory allowed for (in general) ONE app.
When your apps are well-behaved, i.e. well-programmed, then the max heap size should not make any difference, as long as it is big enough for the app to run in the first place.
It is more likely that the higher your max heap setting is, the fewer apps can run in parallel, because android will keep VMs with large heaps around.
Could anybody please comment on the VM HEAP SIZE since I am noticing that the latest 4.2.2 has 128MB in this setting!!! My device is still the same and i have not started using some crazy games with lots of requirements. Is this 128MB good for my device or not??? To me it sounds like it is not.
Could anyboyd tell me if they went back to the original 32/64MB?

setcpu

any good sensation guides for getting setcpu to work?
thanks
Setcpu should be self explanatory since we now have root. You set the frequency you want the device to operate at. That being said if you are looking to OC then you need a kernel capable of overclocking
but what option do i select when i first start it as the sensation is not listed
I too would like to know.
Sent from my HTC Sensation 4G using XDA Premium App
i think that there soon will be a update. so that we can select our sensation directly. but till than you have to select the tegra2 device.
thank you very much
decided to use this custom freq list that goes upto 1.19ghz so just under the sensations max threshold
put into root of sd and select the custom option
Kurisu87 said:
decided to use this custom freq list that goes upto 1.19ghz so just under the sensations max threshold
put into root of sd and select the custom option
Click to expand...
Click to collapse
Thanks but this is stock, overclocking is making it do more than it should.
Thanks for the file tho, i'll modify that and see what i can get out of it.
Cheers for the building block
Went on with increments of 38400 however, even though the slider will show 1.5 the actual speed is still restricted to 1.18ghz
Bit weird, i've got no experience of creating these set cpu scripts so i really don't know what's the matter with it, i think the next increment needs to be a different number, as before 38400 it was something like 19000 roughly.
dladz said:
Thanks but this is stock, overclocking is making it do more than it should.
Thanks for the file tho, i'll modify that and see what i can get out of it.
Cheers for the building block
Went on with increments of 38400 however, even though the slider will show 1.5 the actual speed is still restricted to 1.18ghz
Bit weird, i've got no experience of creating these set cpu scripts so i really don't know what's the matter with it, i think the next increment needs to be a different number, as before 38400 it was something like 19000 roughly.
Click to expand...
Click to collapse
the speed is restricted by the kernel so you would need a Kernel that supports over clocking.. these should be everywhere shortly now most have s-off, I just used the stock for now to manage power i,e when screen is off, use 1/4 of the cpu (saves battery)

Rom Manager advanced settings

I know most are going to say if you dont know what it does dont mess with it. Just have been reading alot but curious how it may vary from phone to phone?
If I may I will list some basic stuff.
SD card boost, I have read about this and it depends on the speed of your card, so what is the standard card rated at or what do you set it at?I set mine at 1024.
Auto memory manager, 8,10,16,32,64
Sysctl tweaks, Have read alot about this over the years with different phones and it is never really clear so dont ever touch it.
Build. prop tweaks
I have my lcd density at 235, vm heap at 55m so far and dont really use wifi.Have thought about trying to adjust the vm heap.
Cpu slider I have tried both conservative and ondemand but havent decided. Ofcourse if you read the basic stuff as to if you want performance or save battery it explains it.
Last I have also read about configure apps to sd card or internal memory. Some of the non important apps I dont use all the time went straight there.
Well let my education or slamming begin.
I'd say that vm heap is too high. I know it's subjective, but I don't think you'll gain anything over about 48, and most rims i've downloaded on 1ghz/512 phones seems to be set at 42 or 48.
Sent from my SCH-I510 using Tapatalk
ilovesoad said:
I'd say that vm heap is too high. I know it's subjective, but I don't think you'll gain anything over about 48, and most rims i've downloaded on 1ghz/512 phones seems to be set at 42 or 48.
Sent from my SCH-I510 using Tapatalk
Click to expand...
Click to collapse
Depends. Some purposes need it higher. Team GummyCharged just released a patch to fix TSM Parts hot boot issues that increased the heap size to 80, and it seems to have done the trick. Last time I tried GC, I had multiple hot boots a day...haven't had one on the new settings yet.
I just saw something yesterday when I was on imoseyon page any had it about 80. Was doing alot of reading all over. Will play around a litte to see what may work.

[ALL] [Q]System Tuner - SD Cache size

hey guys. was wondering what is the best cache size for the internal memory? I believe by default it is 2048. I get an option ranging up to 6144. should I go for the max? Is the improvement significant? and does it affect battery life? Thanks guys!
azreen91 said:
hey guys. was wondering what is the best cache size for the internal memory? I believe by default it is 2048. I get an option ranging up to 6144. should I go for the max? Is the improvement significant? and does it affect battery life? Thanks guys!
Click to expand...
Click to collapse
Why don't you test it yourself amd tell us?
https://play.google.com/store/apps/details?id=ales.veluscek.sdtools
You can go higher than specified on the stock setup of 2048, and you might get an increase in certain scenarios, but keep in mind that the read ahead is mostly effective in its nature of fetching that chunk of data for a purpose. Not just to get filled up with wasted data you aint gonna need anyway. It can be fine for speeding up eg. Browsing your pictures with Quickpic, but you probably waste a good chunk of cachespace that could be more usefull for data you actually need in a fast sequencial read scenario.. Most of what advices for the readahead Ive read from the old dogs on xda points at a 512kb set, as a balance between effectiveness and wasted cache, atleast on phones, but it could be a tad different on our tabs as they are already at 2048 probably for a reason. So digg in and let us know how you fare
Omnius
Sent from my A510 using xda app-developers app
I was wondering why people keep on asking to try it by myself, It doesn't hurt to ask before trying right?
and yes I have tried increasing it and I don't see any improvement with the read speed(since write speed is not going to be affected as been told in a forum topic)
I believe omnius001 was right, it could have been set to 2048 for a reason or two, so increasing won't do better, let's just stick to 2048 then thanks for replying anyway!
azreen91 said:
I was wondering why people keep on asking to try it by myself, It doesn't hurt to ask before trying right?
Click to expand...
Click to collapse
Well, as we say, no guts-no glory It really doesn't hurt anything.
The problem is that all stock Acer tabs suffer from a very poor IO, mostly when it comes to DB writes and other IO functions. Running a simple Quadrant benchmark at standard setting will affirm this. Just look at the IO results. The poorest of any device out there, and poorest by a lot!
Not sure whether this is because of the "noop" scheduler Acer insists on using. Generally, this is an ok scheduler, however BFQ handles things better in my opinion.
Tweaks to improve IO performance have been around for awhile. Generally, as in the Iconia Tab series, it involves some changes in ramdisk, and not the kernel itself. Unless Devs add the BFQ scheduler, which requires a kernel rebuild.
I have a modified kernel (701), unfortunately, never got a chance to test it, before the CWM recovery borked. If I compare to the 501, it should increase IO performance by 400%, more inline with other devices.
Why Acer in 2 years, hasn't improved IO performance when they easily can, well, it escapes logic.
MD

Categories

Resources