yashsingh1/xdaforums huggingface dataset:
[Thunderbolt Android Development] dacre:
I had always read that CPU performance increases were logarithmic with respect to frequency, so I decided to do some testing myself and share the results, which do confirm this (I wasn't doubting it, but wanted to see some actual hands-on data, what can I say, I'm a science student). I thought the forum might be interested in seeing it.

System Info:

Ziggy471 BFS Kernel, 4.4.11 build

Das BAMF 1.3.2 ROM

Procedure:

At each frequency I tested, I did 3 SetCPU Long Benchmark tests and 3 Linpack tests. I know these are not necessarily representative of performance, but they do provide a nice numerical comparison. I averaged the 3 results for each frequency and plotted them. The SetCPU Benchmark shows an especially distinctive exponential decay curve, (Lower is better for SetCPU, higher is better on Linpack) but the Linpack one also displays a vaguely logarithmic shape, although not as distinctive as the SetCPU one.

Plots are attached.

Hopefully, this information will at least be found interesting by some of you who were not already aware of the logarithmic curve of performance and maybe even guide decisions on how high of a frequency is worth it. But obviously my results are not the gospel or anything, just the results I obtained for these tests.

:)
[Thunderbolt Android Development] patdroid1:
I did some similar testing with roughly the same results. After 1.4ghz you typically get diminishing returns. Tested with several roms and several kernels all with same results. currently running perfect storm 1.2 with ziggy's kernel pre-loaded and is very fast...but let's be honest...the phone is plenty fast stock...we really need more battery!!!! lol

thanks for sharing.
[Thunderbolt Android Development] dacre:
Yeah, it seems across all benchmarks the gains really drop out past ~1.4-1.5.
[Thunderbolt Android Development] Bimmer323:
..Coming from the Eris where I was extremely excited to see 5.1 mflops, well, nuff said I guess....

Luv this fone!!
[Thunderbolt Android Development] patdroid1:
Perfect Storm stock kernel (ziggy's) is set and 1408mhz...my phone benchmarks faster at 1382mhz so that's what i have settled on.
[Thunderbolt Android Development] khanam:
Yup. I'm done with the quad wars. I really hope we get better battery life fast.... Also, I noticed the same diminishing returns as well.

Sent from my thunderbolt
[Thunderbolt Android Development] athorax:
Its to the point where speed is a non issue. I'm not running matlab on this phone, I'm playing pokemon. I'm happy with how fast it is, now if i could get my battery up from 12 hours to ~ 18 I would **** bricks.
[Thunderbolt Android Development] khanam:
Hahaha. You echoed my sentiments precisely.

Sent from my thunderbolt
[Thunderbolt Android Development] Diversion:
We might not be seeing diminishing returns.. what if Linpack isn't properly generating a end result because the phone begins to be too fast for it?

We need much longer tests to get more accurate results.
[Thunderbolt Android Development] StDevious:
do smartbench
[Thunderbolt Android Development] nerozehl:
It's nice to know that I"m not the only one nerdy enough to do this. :) I saw similar results.
[Thunderbolt Android Development] destroyerbmx:
Nbench will be good for that, it is very accurate and it takes about 10min to complete, its a stability test rolled into one. Its the only way I can accurately gauge my xoom dual core. OOOO, thunderbolt vs xoom in nbench, give me 10 min...

XOOM

Memory 2.86

Integer 3.89

Float 1.17

Thunderbolt 2.0 kernel, no OC

Memory 2.73

Integer 4.07

Float 0.94

surprising results, thought the xoom would be better, must not be fully implementing dual core in 3.0
[Thunderbolt Android Development] destroyerbmx:
Based on the graph, looks like all real gains are minimal for the risk above the chips 1.4ghz rating. Good to know that its almost useless to really OC, and just unlock it to the rated frequency.
[Thunderbolt Android Development] corenojoe:
This is interesting, I'll have to do a little testing myself. Thanks.
[Thunderbolt Android Development] dacre:
I only used results on which Linpack claimed to have a highly accurate result, but it's probably possible that it's not accurate at the higher clock speeds. I kind of doubt it though. The reason I used quicker tests (Linpack & SetCPU) is because I figured it would be a good enough statistic to compare performance of different clock speeds but on the same ROM and kernel, while allowing me to do multiple trials of each clock rate without the "experiment" being overly time-consuming.

The sticking point for me on chalking it up to inaccuracy is the fact that if you fit a logarithmic function to the SetCPU plot, the R² value is .9947, meaning it's almost a perfect fit.

Additionally, I think you start getting more errors and near kernel panics, as I believe they're referred to in *nix systems, at the higher clock rates (1.7, 1.8, etc) where the voltage, in this particular case, cannot be safely increased but isn't sufficient for that rate. Most of what I know about this is just from my experience in undervolting Macs, though. I'm far from an expert. :)
[Thunderbolt Android Development] n2imagination:
Holy crap! Im sure glad there are guys/gals like the ones in this thread to figure this stuff out because I feel like I walked into Trig class all over again. BTW I hated that stuff :) but in my own dumba$$ speak, this is kinda what I though. What I mean to say is this is a mobile, comparably lowres, linux based system, so how much speed is enough? One would think that at 1.5-1.8 it would be getting "maxed". If not "maxed" then at least enough that 90% of all users would be so thrilled and never see a need for more, that it would be fine. I (like so many others w TB's) would love to see a way to make that battery last just one full day with average usage. Thanks for all the effort you guys are putting in this! Look fwd to great ROMs as the dev work progresses.
[Thunderbolt Android Development] CPCookieMan:
Just using the phone, the higher frequencies actually can feel slower. Am I the only one that noticed? I run 1.4 gHz on the LeanKernel 1.9. Did anyone else realize you can bring it to 1.9? It gets really hot, really fast though.
[Thunderbolt Android Development] dacre:
Nope, mine is the same way. My phone is much snappier at ~1.4-1.5GHz than at 1.6GHz+.

I believe this is because the CPU starts derping up when it's at a clock speed higher than it can handle well (which varies from chip to chip); I think eventually when a big enough error happens it results in a kernel panic (where the phone freezes and eventually reboots), but I'm not exactly sure on how it works.
[Thunderbolt Android Development] mthe0ry:
A quick note on the theoretics from someone who studied embedded systems...

Theoretically performance gain should be proportional to CPU frequency (double your frequency, halve your processing time). In practice you often see what you are seeing here, which is the effect of another system on the phone being the performance bottleneck. Without knowing anything about the cpu architecture and exactly how linpack is designed, it's hard to judge where that bottleneck is on the TB, but the point is that performance should be linear with cpu frequency.
[Thunderbolt Android Development] swimminsurfer256:
Instead of averaging over 3 trials it would probably be better to take the *best* out of, say, 10 trials.

I'm assuming it's somewhat the same as testing runtime of particular algorithms on a computer--you want the best result you get because it actually is the closest to the actual answer. Processors won't "glitch" to being faster than they really are, so a slower result just means that some of the processor was used for something else (another background program perhaps). You will never get all of the processor's "attention" when doing tests like these on your own phone, so go with the result you get when you get *most* of the processor's attention!

Just a thought :)
[Thunderbolt Android Development] distortedloop:
I concur with that "feel" of the phone. Over 1.4 the phone "feels" less snappy, almost sluggish in the GUI. Benchmarks slower as well. 1337 seems to be the best I can get, and it actually "feels" faster at 1267.

Since how the phone "feels" when I use it is what makes the experience for me, and I'm not a benchmark addict looking for the best marks, I'm quite happy not maxing the phone out.
[Thunderbolt Android Development] zero neck:
This was an interesting read, thanks!
[Thunderbolt Android Development] Imoseyon:
jumping into thread a bit late here - apologize if i didn't read the entire thread carefully enough to provide an intelligent response. The benchmark scores at higher frequency depend on a lot of factors - two major ones, IMO:

1) how your kernel was undervolted and overclocked

2) how tolerant your phone is in terms of undervolting and overclocking

My kernel for instance can consistently produce linpack of 58-59 at 1.76Ghz and 60-62 at 1.92Ghz on my phone. But i do agree that there is a diminishing return towards the top end. YMMV of course. :p In fact, most tbolts are unstable above 1.8Ghz, so I mod my governors to minimize unnecessary spikes above 1.8 and only go above it at sustained high loads. FYI - I love threads like this, Thanks OP!
[Thunderbolt Android Development] mike.s:
I don't know where you read that, but it's wrong. CPU performance increases linearly (proportionally) with clock speed. It's the ancillary things (I/O, memory) which hold the system performance back as you increase CPU speed.
[Thunderbolt Android Development] nmyeti:
Memory is a pretty good example of this on our phones. Without being able to speed up memory access, more processor clock cycles go to waste as the frequency of the processor scales higher which gives a non-linear result at no fault of the processor.
[Thunderbolt Android Development] SilverVenom:
While x86 based chips scale linearly with clock speed, ARM based microprocessors execute instruction sets in a fundamentally unique manner and exhibits their own distinct set of trends and characteristics. The specific type of trend is tied to CPU architecture.

Did you ever perform a regression analysis on your dataset? If you did would you mind posting the formula?
[Thunderbolt Android Development] mike.s:
You took a lot of words to say nothing.
[General Questions and Answers] hack-wizard:
Ok, I got a Samsung Jack from AT&T (first smart phone :cool: ) ... but there's a problem: I primarily use Linux, and ... prefer not to boot into the XP partition on my HD unless absolutely necessary. I've yet to find anything for Linux that will allow *direct* access to my phone's FS, or even allows me to sync properly (short of SynCE ... which doesn't want to work for me thus far :rolleyes: ). So in short, I can't back up my device right without running my fingers ragged trying to indirectly place it on my microSD card via the phone itself! :mad:

Does anyone know of any solutions, or at least ones that will work through WINE?

Additionally ... is there a version of DosBOX that will run on non-touchscreen devices like mine? I specifically avoid them, as they tend to not work well for me.
[General Questions and Answers] hack-wizard:
Did I post this in the wrong forum, or does no one know how to answer my questions? Any suggestions would be quite welcome …
[General Questions and Answers] dermann:
ya, i think this is too advanced for many of use here. sorry.
[General Questions and Answers] hack-wizard:
Can this thread be moved to a better place then, please?
[Galaxy Tab General] Amphibliam:
The capacitive buttons at the bottom of my tab are messed up. It randomly started today. They only light up when I touch the screen and just flicker on then off. They are normal at the lockscreen. I have tried different launchers, rebooting, everything. I don't have any idea what's wrong.
[Galaxy Tab General] henrylam:
Just a question, did water sip into your SGT accidentally? I supposed it is more of a hardware issue.
[Galaxy Tab General] Amphibliam:
Nvm. Thanks anyway. Did a Titanium Backup and factory reset. Works fine now.
[G Tablet General] subyfan:
Did anyone else know about this hack? I sure as heck didn't!!! I can vouch that it works perfectly!

http://www.greatereader.org/?p=5643

Cheers!!!
[G Tablet General] Version_3:
Do you have an example of an app whose scaling was fixed with this? I'm on a GB build with the 161 dpi "market fix", and Google Reader still scales to the really tiny window after trying this.
[G Tablet General] subyfan:
This fixed SU FBS File Manager for me as well as Gameloft's NOVA game. SU is free.
[G Tablet General] Tibedabeeto:
Thanks man it worked for all my daughters kids apps.
[G Tablet General] subyfan:
Someone needs to figure out what code this is modifying and try and implement it into their ROM! This is fantastic!
[G Tablet General] bso44:
Spare Parts came with my current ROM (Calkulin's) but it doesn't have an option for "Compatibility Mode". I wonder if anything would break if I replaced it with the Spare Parts from the Market.
[G Tablet General] pc2828:
Nice find thanks!
[G Tablet General] subyfan:
No. Nothing would break. This app is pretty much only there so users can define how fast/slow they would like for windows to fly in or out. Other than that, all of the other options are covered by more capable (and free) apps. What ROM are you running?
[G Tablet General] bso44:
Calkulin's
[G Tablet General] P00r:
It is under the last menu option, caled native spare parts or something like that, sorry do not have my tablet with me...
[G Tablet General] nitefallz:
Wait, this is new? This is one of the first things I did after installing VeganGinger.
[G Tablet General] MechAniX.one:
Thanks for the post subyfan. I was unaware of this and i was about to give up on some of the games i installed. Good looking out. :D
[Captivate General] superasian827:
I'm currently running phoenix ultimate w/Tagrak.

It's OC'ed at 1.3 GHz ATM.

It has made a seeming performance change to my phone. But i want to take it further and OC to 1.5 or even 1.6 if possible. After hours of researching, the CPU in the Cappy is capable of running at 1.6 at the fastest.

Does anyone know any APP that will allow you to OC higher than 1.3 GHz? and has OC'ed higher than 1.3?

Thanks a bunch
[Captivate General] Twicebak3d:
What kernel are you running? AFAIK the only kernel that supports 1500/1600mhz is Onix, which is the kernel I'm running. Best OC experience I've gotten on the captivate was 1344. I was using Phoenix with the Paragon 1344 kernel.

Once you get Onix, voltage control will let you OC to 1600, but you might not even be able to hit 1400 and stay on for more than 5 mins (my situation)

I'm pretty sure this should be in Q/A, no?
[Captivate General] studacris:
There is already a thread in this section (currently 4 posts down) about this topic.
[Captivate General] ninjuh:
I've been running a custom oc at 3200mhz stable for 3 days now.
[Captivate General] studacris:
3.2ghz?? On what your laptop???
[Captivate General] Dani897:
no reason the chip cant do that running @ 3volts with dry ice or liquid nitrogen cooling :rolleyes:
[Captivate General] Dani897:
the kernel needs to support the different timing modes used. onix will allow up to 1600. to my experience nearly all phones go up to 1200 a vast majority to 1280-1300 im barely stable @1300 myself. but 1344-1400 is the limit with only a few exceptions. every chip is different and i have a feeling the earlier phones had less consistant manufacturing. samsung may also be cherry picking chips that clock better for the galaxy s 2 mini which is supposed to be a hummingbird clocked up to 1400 out of the box.

keep in mind that 30% overclock is significant. if i tried that on my pc it wouldn't run very long.
[Captivate General] worner5:
I can get mine stable at 1.4 using Onix kernel and Serendipity rom. I tried 1.5 and 1.6 but was not able to get it to run.
[Captivate General] MikeyMike01:
I've come to the conclusion that OC achieves very little... UV even less.

Sent from my Captivate
[Captivate General] MikeyMike01:
My computer has just over a 35% overclock on the CPU...

I went from 2.8 GHz to 3.8 GHz.

Sent from my Captivate
[Captivate General] Dani897:
A ) im guessing not on the cheapo heatsink they sold you with the cpu unless it is one of those "black edition" something or other chips that are marketed towards overclockers

B) i dont see aftermarket heatsinks out there for cell phone processors
[Captivate General] ronkoni:
Just wondering. Is it at all possible to squeeze in an effective heat sink on the captivate? would be an interesting mod to have.
[Captivate General] TheBassman369:
My Cappuccino can run at 1400 stable, but the extra 400 MHz didn't really make a difference.

CM7 Inspire 4G
[EVO 4G General] dallastx:
I walked in store 437 and informed Assistant manager "Nick" that my usb port has more than likely detached from the motherboard because it stop charging last night. I also informed him, once he finds its defective i cant wait for another phone. I need him to get one off the shelf. Nick "assistant manger informs me he doesn't have any EVO's. So tech "mike" took phone apart and USB port fly's on table. Mike "tech" says...this is the problem, the port is no longer soldered on the phone. I looked at him like he was a dummy and said your exactly right, lets get me a phone. Tech says "oh!! this is your fault" . Lmao Oh yea, i carry the mother board around in my pocket or something.. Long story short they refuse to replace phone. Called Account services "retentions and they sent me to another store telling them to replace it" I get to store they take phone apart and say... oh yea, this is a defect that effects many first generation EVO's. They gave me new phone box cables everything and i was out the door in 5 minutes! I went back to the store 437 to ask Nick "manager" why he told me he didn't have any phones when inventory states he does. Nick said "i didn't say that, i said we dont have any repair phones" WTF What is a repair phone first of all and second i assume you mean refurbished, which no store has refurbished phones!!!!! <-----My story for today Feel free to give your store # that gave you issues regarding same issue or similar!
[EVO 4G General] nebenezer:
Glad you got it replaced, bro
[EVO 4G General] BrianDigital:
I hear ya, I a electronics student myself. I took mine apart when it happen to me (around launch date). I was amazed how not thought out the part was. Ok i understand using surface mount components is quicker to have a robot arm placing them and then basically putting the motherboard in a oven to make all the connections its how everything is done. But not to form any plastic around to give it no where to go would have been the best thing to do.

It is the most used port and really needs to be a tad more rugged. Honestly it just sit there with space all round it and only that touches it from the case is the outer rim of the case. Only way i could have made it work would have been to hot glue the thing I ripped all the pads
[EVO 4G General] WhiteWidows:
Yea mine is doing this too. It charges but only if the cable is in the right position. Since its a bad esn phone I doubt ill get it replaced. Im looking for any successful stories of anyone who has fixed this on their own or even attempted it.
[EVO 4G General] sitlet:
Actually most stores carry more refurbs in stock than new ones, so customers dont have to wait to order one.
[EVO 4G General] sgtnoodle:
I repaired an Evo 4g with a ravaged USB port. http://xdaforums.com/showthread.php?t=1110886
[EVO 4G General] westicle:
You gonna keep posting the same link in different threads?
[EVO 4G General] Rem3Dy:
Who cares. The link he just posted is extremely helpful. What contribution have you made that is remotely close to his?
[EVO 4G General] chofert:
I worked for a Sprint tech store and a charging port coming off the motherboard is 100% not covered by the store. Chances are you called customer service off hours where the calls get directed out of the country which is why they said that they will replaced the phone for you. Basically so they can get you off the phone. Listing the names and numbers of the store that exchanged this phone for you is dangerous. You should be praising SPRINT that they were dumb enough to replaced this for you when you should have had to pay $100 or buy a new phone. PORTS BROKEN OFF THE MOTHERBOARD ARE PHYSICAL DAMAGE!!

Refurbished /reconditioned phones are what you receive when we order you replacement phones. Every service and repair store will have some of these in their inventory.
[EVO 4G General] todah09:
Well,just so happens I had this very problem yesterday.....took the phone in to my local store.didn't even bother to unroot..came back in a few hours,they said they couldn't fix it.but, they gave me a brand new phone.the bad things was, I was running the rooted stock OTA.on the new phone was froyo.rooted it and I am now back to rooted ginger!!!!
[EVO 4G General] sitlet:
Not 100% of the time. Yes, if the person dropped their phone, or treated it like crap, that is physical damage. But for most of us, who take care of our phones, and the charging port just happens to break by just plugging in a charger, that is NOT physical damage. That is a hardware failure.
[EVO 4G General] J4mm1nJ03:
I just started having this issue last night and I hope Sprint lets me get a replacement. I have insurance, so hopefully it's covered.
[EVO 4G General] LexLuger82:
Funny story, they played you at that first store, they were saving their nib evos for new subscribers and upgrades.
[EVO 4G General] mdrharris:
No, in Sprint's eyes, if the charging port is completely broken off the board, then its considered physical damage. I am a Sprint employee at a repair store, and we deal with this every day. If its just loose, they will normally cover it. But once they open the phone up, they determine if its just loose, or broken off the motherboard. On the other hand, it is up to the tech that you get and the manager on duty.

As far as the type of phone you get, they would normally give you a refurb, unless they are out of stock in the warehouse, then it would be a NIB.
[EVO 4G General] Hamspiced:
No, In the real world that is a global defect affecting many first gen evo's. You know what makes sprint a **** company? the fact that they dont issue a recall for faulty craftsmanship. Keep backing your sheepishly run company. Poor buisness decisions and poorly made products will inevitably be the last straw for many diligant sprint users.
[EVO 4G General] LexLuger82:
This
[EVO 4G General] Max_Pain:
this is my issue!

mine started to come off and in trying to solder it with a very low wattage DIY kit it ended up falling off. the solder material (not sure what it's called, my dad did the soldering, he's a professional welder (although read: not in electronics!)) wouldn't stick and it kept coming off. after that my screen wont come on, although the battery has about 70% left and the phone does turn on.

is this something I can get repaired at a sprint repair store and pay a fee, like say when your screen gets messed up?

when answering above, in case it makes a difference, i'm on MetroPCS and NOT a sprint customer.:(
[EVO 4G General] LyndenP:
Wouldn't HTC issue the recall? They manufactured the phone sprint is just the carrier. Every one is quick to jump on sprint, but I see the issue being HTC's. Just my opinion...

Poop
[EVO 4G General] ausch30:
I had a 0003 and just had it replaced about a week ago because of the USB breaking off. At the time I hadn't seen a thread with anyone mentioning this happening to them and I thought it was just me but over the last week I've seen several. When the tech opened mine up he pointed out that the moisture strip was red indicating the phone had water damage. That phone had never been remotely close to water, I'm sure it was probably due to me taking to phone in the bathroom while showering or something. I ended up calling Asurion and had a brand new 0004 at my door the next afternoon. I'd rather not have had to pay the $100 deductible but I figure I'll get that back after getting my 3D and selling this one.