[Galaxy S III General] Guttsy911:
Clear DALVIK/system cache when change gov/scheduler

Been using siyah since 1.7rc1 now 1.8. Tried a lot.... :P My learning curve took a turn when i got into what dalvik cache does (approximately hehe) and the system cache is also important.

The DALVIK is a kind of "port" of all your apps (remember android is modular and built of just that; apps. both system apps and your downloaded apps) that tells the jre how to optimize/interpret the java code.

It (dalvik) creates data on how to run your apps most efficiently, based on your hardware! I have a general idea of how it works but let's leave it at this. Optimizations based on your hardware!:D

I was thinking what if you change your clocks/voltages/scheduler/governor etc in STweaks? Will that count as "new hw":confused:

Since I started clearing system cache (not data), which i'm not so sure of what does/is other than it "does not hurt to wipe it" ... it just recreates itself, if that cache is static or change according to hw/dalvik i have no clue!!... ok clearing the system cache, dalvik cache and battery stats (in CWM, vol up+home+power when powering on) my battery has improved, my unit is faster in benchmarks (difficult to say under normal use...) but most important no more touchwiz crashes and bugs. It works flawless (almost ;).

Also I just came over THIS thread today and tried @bala_gamer's GPU freq's/voltages and, though I have not tested it much yet just run through ANTUTU benchmark a couple of times, at least my unit is stable, a little faster than before but most important it does not get so XXXX hot as it used to!! I simply had never tried to up the mhz without giving (quite a lot) more mV!! ... which has resulted in a VERY hot unit, battery drain and no performance improvement (of course the volt does not give more mhz by itself)..

Now running 600mhz on stage 5 on 1025mV (-50mV/+66MHz) im stoked!

Thank you mr @bala_gamer

;) I have also undervolted my unit -100mV (try in smallest steps and test your unit before going lower. If set too low you CAN risk not being able to boot, and i don't know how to fix that without wiping the unit and flashing a ROM... probably easier ways!) and set the CPU to max 1.5GHz (all this done in STweaks) and for the first time in since pre-root, the unit feels COLD when not pushedhard! :good::fingers-crossed: I hope this lasts. Felt like around 40 degrees (the unit not the CPU...) ( a little hotter than my palm .. wow I'm accurate! :silly: ) when running through antutu twice in a row. Before, with higher GPU voltages and before the cache wipes the unit became VERY HOT in myy hands .. so hot that i start to worry about other components.... i know the CPU has protection in itself but i do not think there is a "general temp powerdown feature".

Well... Anyway after tweaking I did the wipes (dalvik/sys cache/battery stats) and that is imo very important to get a stable device. Also if you still get bugs try correcting permissions also under advanced in CWM. I've done this once (correcting permissions... after rooting you tend to install different tools which does a lot your system was not ment to be doing. It is worth it to give it a try if you have a unstable device.

The "touch boost" function probably give you less UI lag, but at the cost of more battery every time you touch the screen. I feel the phone "i9300/stock JB XXDLJ2/div bloatware removed" (just thought i'd mention that part) uses a lot of battery already so I can live without the touch boost. I dont experience any UI lag as it is now, but I've also disabled a lot of stupid animations etc... Like I do on my computer! ... It's not for watching the UI "look cool" I want the s3's performance... It's for those amazing console quality OpenGLES 2.1 Games that keeps coming GO UNITY! ... :highfive:

About governors/schedulers (my experience):

Siyah 1.8 defaults to cfq which at least give ME more UI lag and worse test results.. Probably good at multitasking though (completely fair as it is called) but I want max "power" on the task I am performing (usually games) which deadline seems to provide. Deadline IS the default scheduler for the device anyway. I see it already at boot; every widget is almost done loading after login when with cfq I have to wait SEVERAL seconds ;) Will not try to explain what i believe is the schedulers function. Someone else have done it, I am sure because I have read it!

Governor... The CPU's "mother in law" ... It tells (i believe the java engine) what data/when and in what order to send it from memory to the CPU.. i think... :o

Every other new siyah build has, as stated in the changelogs, f.x. "improved pegasusq", which is the governor I (and others) highly recommend you use with your i9300 btw. It is also the default governor. The fact that the governor is not static (it relies on some scripts (tweaking the governor...) made me think about wiping the dalvik in the first place (after reading up on what the dalvik is.. difficult to find a ANSWER it is mostly discussions where they seem to agree on the main function but "always" end up in a VERY dev/technical discussion that's when I stopped understanding.

Anyway... not found any improvements using anything other than the pegasusq governor on my i9300.

This is MY OWN trials and errors, and I am positive about the results. Any comments? Is this logical? I am fairly new to this.... My first rooted android phone!... so i appreciate corrections! (and respect people who have been doing this for decades (linux stuff...) i'm a MSOFT guy! :D .. so Android is my first linux..:victory:

@Guttsy911