Which one is the better I/O setting? - Samsung Infuse 4G

Is it bfq or cfq?
And should I choose performance over conservative in voltage control?
I always got kernel panic when I undervolted, too.
Sent from my Saurom'd Infuse

I always left my infuse CPU/voltage at stock settings....never had any probs and the phone was fast enough and lasted me the day...not that is helpful for you question...but if I were you I wouldnt mess with CPU and voltage...but that's just me
Sent from my HTC PH39100 using Tapatalk 2

Crinkypops said:
Is it bfq or cfq?
And should I choose performance over conservative in voltage control?
I always got kernel panic when I undervolted, too.
Sent from my Saurom'd Infuse
Click to expand...
Click to collapse
I have been using cfq with ondemand, and undervolt 50 mV each not much but its stable. Performance setting will kill your battery.

I was under the impression that noop is theoretically the best I/O scheduler for flash devices, but I can't find any good benchmarks comparing its performance to the others in a typical real world smartphone workload.
Btw I don't consider using "time dd" to be very helpful in replicating a real world multitasking workload. What's the point of testing a scheduler with a single file read or write? You may or may not have background processes reading or writing at the time of the test, but you wouldn't necessarily know it. As such, I would take any single threaded I/O benchmarks or simple tests with a grain of salt, even on a smartphone.
If someone with more knowledge of smartphone I/O access patterns sees a need to correct me on this, I would appreciate it. I'm an experienced *nix admin, but pretty much still a noob regarding android.
Sent from my SGH-I997 using xda app-developers app

Related

What does Smartass scaling do?

I know this is probably a noob question and has been asked before (i've tried searching but to no avail). How does Smartass V2 go about setting cpu speeds? What is it comparable to?
Thanks in advance.
-Vin
Sent from my HTC Sensation Z710e using xda premium
Vineares said:
I know this is probably a noob question and has been asked before (i've tried searching but to no avail). How does Smartass V2 go about setting cpu speeds? What is it comparable to?
Thanks in advance.
-Vin
Sent from my HTC Sensation Z710e using xda premium
Click to expand...
Click to collapse
SMARTASS GOVERNOR - is based on the concept of the interactive governor.
I have always agreed that in theory the way interactive works - by taking over the idle loop - is very attractive. I have never managed to tweak it so it would behave decently in real life. Smartass is a complete rewrite of the code plus more. I think its a success. Performance is on par with the "old" minmax and I think smartass is a bit more responsive. Battery life is hard to quantify precisely but it does spend much more time at the lower frequencies.
Smartass will also cap the max frequency when sleeping to 245Mhz (or if your min frequency is higher than 245 - why?! - it will cap it to your min frequency). Lets take for example the 600/245 kernel, it will sleep at 245. No need for sleep profiles any more!
Thats the definition of SmarAss Gov, some kernels support smartass other dont, where smarass is not supported your choice is ONDemand its kind of the same with less tweaks
Hi, sorry for an even noobier question, but I just started with all this rooting and custom ROM stuff. How do I go about setting the kernel to use the SmartAss V2 algorithm?
I just flashed this kernel [Kernel]CM7/AOSP[2.6.35.14](v0.1.2)OC~1.78GHz/BFQ/SLQB[Sep-11]. The dev states I cant use setcpu, but then goes on to mention the use of SmartAss V2 among others. I tried to access the Performance tab in cyanogensettings->performance->cpu settings, but it FC. Tried looking around the forums, but can't find anything. Tried posting in that thread, but apparently i'm too much of a noob.
Edit: Kinda went digging through the root explorer, does /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor = ondemand mean that its using SmartAss?

Can someone explain I/O Schedulers?

Well with the release of Imnuts' awesome new kernel I'm finally back to messing around with clocks/volts. I seriously haven't touched Voltage Control since EP1W was released months ago, and even then I only overclocked and undervolted, I never messed with the I/O Schedulers or the CPU Governors. I've decided to use Smartass V2 as the Governor since Imoseyon explained what all the different governors did and that one seems to suit me the best, but as for I/O Schedulers I'm still pretty baffled.
So basically I'm asking if one of you nice XDA users could explain what I/O Schedulers are and what your personal favorite is.
For flash based memory, all IO Schedulers work roughly the same as far as how fast they work. You won't see much of any difference between any of them for 95% of what you do most likely. There is a thread here on XDA in the Nexus One section where someone (or a few people) setup a simple benchmark to test the read/write speed of a few different schedulers and they were all the same, or close enough that it wasn't significant.
blarrick said:
So basically I'm asking if one of you nice XDA users could explain what I/O Schedulers are and what your personal favorite is.
Click to expand...
Click to collapse
To answer the "what they are" question...
They are the rules that the OS uses to determine what order to execute reads and writes to and from block storage (HDD or flash). The primary goal of the majority of them is to find ways to group operations in such a way as to minimize the effect of the seek time on a rotating physical disk, such as an HDD. Different schedulers have different ways of deciding, but, as imnuts said, they'll make very little difference on flash, as flash doesn't have the limitations of a spinning disk, and thus, don't have the problem that I/O schedulers are meant to solve. Certain types of operations or certain individual operations may benefit from one over another in the short term, but over the long run, the total time to complete a larger set of operations on flash should shake out to be roughly the same regardless of the scheduler used.
This thread has a lot of info, scheduler info is in post #3:
http://forum.xda-developers.com/showthread.php?t=1369817

[Discussion][Q/A][INFO][25.6.12]Governers,OC,UC,I/O Schedulers,Kernel

So basically this is a general discussion or chit chatting for all of you about which governer is better ,best etc. I/O schedulers etc.
You can also ask question, queries about your current settings is it good and etc.
There are also three sections in this post too. Recommended settings by me, Tested ones. And also ones that I am testing. Those that I have tested have my remarks on them too
RECOMMENDED
Here are my recommended No-Frills CPU settings:
Max:1200
Min:300
Gov. InteractiveX(Gives a lot of performance boost and also battery friendly)
I/O: BFQ(Im now checking out other IO schedulers after found a good or better one i will update )(and also Because it fixes this issue.)
These are the setting that gives me the best/positive results on my unit. I do not OC as I see no obvious differences in speed as these settings are already more than good enough. And furthermore OC will decrease the life of the device so no point.
TESTED
I have tested these:
Max:1200
Min: 300
Gov: Smartassv2
IO: SIO
Remarks: I have tested these and I must say the performance and battery life was almost as good as those of the recommended settings These do perform almost the same as the recommended ones but battery wise is definitely an out for these if compared to the recommended one. I personally would still recommend and prefer those in the recommended section as both almost perform the same and this is more unbattery friendly.
TESTING
This are the settings that I am testing now:
Max: 1000
Min: 300
Gov: Conservative
IO: Noop
Remarks: So as usual, I will test and report back after about a week. As of now, performance wise, these really lose out to all the others that are present in this post. But battery wise its definitely a clear winner
SHORT VIDEO THAT I FOUND ON YOUTUBE
As usual, DO ANY CHANGES TO YOUR PHONE AT YOUR OWN RISK
Enjoy! And I hope that this thread has been helpful for you.
Reference: http://forum.xda-developers.com/showthread.php?t=1242323. Also, I believe many threads like this have been made . To me, everyone's experience is not entirely the same, therefore this would only help to a certain extend .
Cheers
Sent from my GT-i9003 powered by Stable and Smooth CyanogenMod 9!
bscraze said:
Reference: http://forum.xda-developers.com/showthread.php?t=1242323. Also, I believe many threads like this have been made . To me, everyone's experience is not entirely the same, therefore this would only help to a certain extend .
Cheers
Sent from my GT-i9003 powered by Stable and Smooth CyanogenMod 9!
Click to expand...
Click to collapse
Hmmm... havent really seen one around in I9003 forums tho. And seen alot of discussion about this in dev thread so...
crazbanditz said:
Hmmm... havent really seen one around in I9003 forums tho. And seen alot of discussion about this in dev thread so...
Click to expand...
Click to collapse
Just Google 'best governor'/best scheduler/best governor and scheduler.
Cheers
Sent from my GT-i9003 powered by Stable and Smooth CyanogenMod 9!
first i have to say that there are big differences in CPU-Tools... i got myself cpumaster,nofrills and finally setcpu... cpumaster made my phone laggy even with lionheartgovernors and stuff...nofrills has no support for different profiles...so i highly recommend invest the little mlney for the incredible setcpu. basically i use smartassV2 at 1000mhz min 300mhz with sio scheduler...and then much profiles like change to vr scheduler when playing videos or in call 600mhz max or at night when i sleel keep the phone at 300mhz max; )
Sent from my GT-I9003 using XDA
Hi. I was just wondering... Do Kernel Govs and I/O selections match well with V6 Supercharger? Or is it better to supercharge with a stock kernel?
Sorry for the noob question. Im just concerned if its possible that all these mods im applying might be cancelling out each other at some point... Or worse might be contradicting each other too...
Sent from my Galaxy SL with CM9A6, Vurrut Kernel v17 & V6 Supercharged.
hpog said:
Hi. I was just wondering... Do Kernel Govs and I/O selections match well with V6 Supercharger? Or is it better to supercharge with a stock kernel?
Sorry for the noob question. Im just concerned if its possible that all these mods im applying might be cancelling out each other at some point... Or worse might be contradicting each other too...
Sent from my Galaxy SL with CM9A6, Vurrut Kernel v17 & V6 Supercharged.
Click to expand...
Click to collapse
Nope they don't they do different things . Supercharger manages minfree values while governors and schedulers manage the CPU speed
Cheers
Sent from my GT-i9003 powered by Stable and Smooth CyanogenMod 9!
felixchris said:
first i have to say that there are big differences in CPU-Tools... i got myself cpumaster,nofrills and finally setcpu... cpumaster made my phone laggy even with lionheartgovernors and stuff...nofrills has no support for different profiles...so i highly recommend invest the little mlney for the incredible setcpu. basically i use smartassV2 at 1000mhz min 300mhz with sio scheduler...and then much profiles like change to vr scheduler when playing videos or in call 600mhz max or at night when i sleel keep the phone at 300mhz max; )
Sent from my GT-I9003 using XDA
Click to expand...
Click to collapse
Umm smart ass v2 has built in screen off profiles if I'm not wrong.
Cheers
Sent from my GT-i9003 powered by RemICS S III-looking rom!
bscraze said:
Umm smart ass v2 has built in screen off profiles if I'm not wrong.
Cheers
Sent from my GT-i9003 powered by RemICS S III-looking rom!
Click to expand...
Click to collapse
It does
Updated op with testing status
Does oc to 1.1 ghz drains the same amount of battery as oc to 1.3ghz ?? Can i use screen off profile in set cpu with conservative 300 mhz max and 300 mhz min ?? will it drain battery or improve battery ???
anuraagkochar said:
Does oc to 1.1 ghz drains the same amount of battery as oc to 1.3ghz ?? Can i use screen off profile in set cpu with conservative 300 mhz max and 300 mhz min ?? will it drain battery or improve battery ???
Click to expand...
Click to collapse
This is my recommendation for SetCPU max 1200 min 300 gov interactiveX io:BFQ When asleep profile: Max 600 min 300 gov and io same as above
Press thanks if this helped
Updated OP with alot of changes Including the new section guide and also the tested section as well as remarks to help people with choosing their settings
Gv smartassv2 Io sio
Sent from my GT-I9003 using Tapatalk
juanra88 said:
Gv smartassv2 Io sio
Sent from my GT-I9003 using Tapatalk
Click to expand...
Click to collapse
Ermmmm... Sorry why are you saying that all of a suddden?
Press Thanks if I helped
In my opinion, this topic is kinda useless.
I know and i respect your effort, but these settings really depend on the user and how they use the device.
If i try the same settings and try it myself, i will probably have another opinion and other results.
Benchmarks mean nothing.
Also many other threads all over XDA were made to explain governors and I/O schedulers, and users can simply Google it and read, then chose what suits them.
Skander1998 said:
In my opinion, this topic is kinda useless.
I know and i respect your effort, but these settings really depend on the user and how they use the device.
If i try the same settings and try it myself, i will probably have another opinion and other results.
Benchmarks mean nothing.
Also many other threads all over XDA were made to explain governors and I/O schedulers, and users can simply Google it and read, then chose what suits them.
Click to expand...
Click to collapse
Yea... but this is particularly for our device and I did do a remarks section to what is better for performance and battery. So that the user will better know which one suits them I didnt mention anything about benchmarks... right?
Press Thanks if I helped
crazbanditz said:
Yea... but this is particularly for our device and I did do a remarks section to what is better for performance and battery. So that the user will better know which one suits them I didnt mention anything about benchmarks... right?
Press Thanks if I helped
Click to expand...
Click to collapse
The benchmarks note was for other people, it's in another line
Also, it doesn't matter if it's for our device or not, the topic give YOU the best results, others will probably have to test themselves, so i still see no point in this.
However, i am just saying my opinion, good luck
Skander1998 said:
The benchmarks note was for other people, it's in another line
Also, it doesn't matter if it's for our device or not, the topic give YOU the best results, others will probably have to test themselves, so i still see no point in this.
However, i am just saying my opinion, good luck
Click to expand...
Click to collapse
Okay. But it will still save people from going off topic in devs thread...
which kernel r u using? bam v14 doesnt have interactivex !!

Share your benchmark with quadrant standard edition

Hey guys just tested my infuse and i got 1540 don t know if it s good so here let me know how r yours!:good:
Here's mine. Running beanstalk. No performance settings touched.
Sent from my SGH-I997 using xda app-developers app
BeanStalk, settings adjusted and played with all around
I can get 2200+or- running Gingerbread 2.3.6 deodexed,but it doesn't feel any smoother or faster,only beanchmarks better
After my previous post I finally got around to installing the latest BeanStalk(1.179a-20130401) so here is a benchmark from it.
Using qkster's 2.3.6. with conservative governor, max frequency 1600, I just got 2532.
As I recall I used to get 1100-1300 on Froyo stock.
Then 1800-2000 on GB rooted with bloatware removed
When clocked to 1600, I think it's usually in the range 2300-2500.
I agree the number doens't mean much. It's how it responds when you ask it to do something. The way our phone works is pretty darned good for an "old" phone.
electricpete1 said:
Using qkster's 2.3.6. with conservative governor, max frequency 1600, I just got 2532.
As I recall I used to get 1100-1300 on Froyo stock.
Then 1800-2000 on GB rooted with bloatware removed
When clocked to 1600, I think it's usually in the range 2300-2500.
I agree the number doens't mean much. It's how it responds when you ask it to do something. The way our phone works is pretty darned good for an "old" phone.
Click to expand...
Click to collapse
Which are you using for IO scheduler,your IO is off the charts compared to what I've been getting
elbscorp said:
Which are you using for IO scheduler,your IO is off the charts compared to what I've been getting
Click to expand...
Click to collapse
I/O scheduler - NOOP
electricpete1 said:
I/O scheduler - NOOP
Click to expand...
Click to collapse
Thanks,that's what i use don't get that kind of score. Must be in other settings.

[Q] New governors & schedulers?

There are a few governors and i/o schedulers that I have never seen before and after searching, I haven't really come up with any good information. If someone with more knowledge than I would be willing to point me in the right direction, I would appreciate the help. Or, perhaps posting a brief explanation would be beneficial to all?
Here is a list of the ones I'm unsure about:
Governors; darkness, intelliactive, dancedance, smartmax, uberdemand
Schedulers; vr, fiops, tripndroid, zen
Does anyone have any suggested uses, or combinations for these?
Google will give you a great explanation on these governors...personally Zen and sio are great with battery
Sent from my SPH-L710 using XDA Premium 4 mobile app
I use Wheatley and zen, works perfectly and a great battery performance
Sent from my SGH-T699 using XDA Premium 4 mobile app
REV3NT3CH said:
Google will give you a great explanation on these governors...personally Zen and sio are great with battery
Sent from my SPH-L710 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Naturally, I tried to search Google and the forums first. Seems like I keep coming across outdated material that doesn't explain much on the ones I listed. I'm already pretty happy using a set-up I'm familiar with - this was really more for educational purposes. I'm always wondering if I can tweak a little something and get better results.
This is the list I come across most often...
http://forum.xda-developers.com/nexus-4/development/guide-android-governors-explained-t2017715
Player-J said:
Naturally, I tried to search Google and the forums first. Seems like I keep coming across outdated material that doesn't explain much on the ones I listed. I'm already pretty happy using a set-up I'm familiar with - this was really more for educational purposes. I'm always wondering if I can tweak a little something and get better results.
This is the list I come across most often...
http://forum.xda-developers.com/nexus-4/development/guide-android-governors-explained-t2017715
Click to expand...
Click to collapse
I've been trying to find some results on the same governors but found very little. I've even done more than google but no luck. Anyway I will probably experiment a little and not worry about it.
Hello,
I have the possibility to choose the governor "optimax". So I have search at google about information of this governor. But I didn't found an explaination or other information. Can anybody help me? What are the differents to the other (default) Governors? Thanks.
Player-J said:
There are a few governors and i/o schedulers that I have never seen before and after searching, I haven't really come up with any good information. If someone with more knowledge than I would be willing to point me in the right direction, I would appreciate the help. Or, perhaps posting a brief explanation would be beneficial to all?
Here is a list of the ones I'm unsure about:
Governors; darkness, intelliactive, dancedance, smartmax, uberdemand
Schedulers; vr, fiops, tripndroid, zen
Does anyone have any suggested uses, or combinations for these?
Click to expand...
Click to collapse
I know darkness is a modified nightmare governor for stability and battery life, and nightmare is a modified pegasusq governor that tries to save battery by not scaling as aggressively and improving stability, it also doesn't hotplug as readily as pegasusq from what I understood.
Also intelliactive is a modified interactive by faux with the following modifications :
"1. self-boost capability from input drivers (no need for PowerHAL assist)
2. two phase scheduling (idle/busy phases to prevent from jumping directly to max freq
3. Checks for offline cpus and short circuits some unnecessary checks to improve code execution paths"
Dance Dance is a unique governor modified for performance but based on conservative. DD Provides a nice blend of performance and efficient battery life.
Uberdemand is Ondemand and with 2-phase feature meaning it has a soft cap at 1728 MHz so your cpu won't always go directly to max, made by Chet Kener.
Smartmax is a new governor which is a mix between ondemand and smartass2 By default this is configured for battery save.
Hope this helps!

Categories

Resources