iPhone update for Meltdown-Spectre: before/after performance benchmarks
melv1n.com
melv1n.com
Edit: The author upgraded from iOS 11.1.2 to iOS 11.2.2. This isn't just a test of the Spectre fix. The most likely explanation here is upgrading to iOS 11.2 caused their iPhone 6 to start throttling due to battery wear (11.2 added throttling to iPhone 7, and it's plausible that it changed the conditions for throttling on iPhone 6). It's also possible that this is instead caused by the Meltdown patch, but these numbers are still way out of line with what was expected for Meltdown on iOS, whereas they're very much in line with what we've been seeing with battery throttling.
That policy has changed, they will replace your battery upon request for $29 no matter what their diagnostic tests say.
> Apple is reducing the price of an out-of-warranty iPhone battery replacement by $50 — from $79 to $29 — for anyone with an iPhone 6 or later whose battery needs to be replaced, available worldwide through December 2018.
The "whose battery needs to be replaced" sure implies they're still going to actually test it.
The article should be flagged off the front page or edited by the mods to show that it's questionable.
This is a single person's test results, across versions that are known to have touched the battery/CPU slowdown logic, showing insane performance degradation across almost every aspect of the phone... it's super questionable. And right now it's #1 on HN despite all of that, just spreading misinformation.
The result is that 11.2.2 is slightly faster than 11.2.1 (around 2%).
And here’s one of my iPad Pro 10.5”: https://browser.geekbench.com/v4/cpu/compare/6304146?baselin... (0.9% increase in performance).
Something's up. I updated my 6S yesterday and have noticed zero in performance changes or battery loss. Still plenty of bugs though, I was reading an email and the 'flag/file/trash/reply/new' bar totally went away. At least the touchscreen hasn't gone unresponsive, causing me to have to hit sleep/wake to toggle it back on. Maybe they finally fixed that.
Before: 2384.
After: 2541.
I've had periodic slowdowns and unresponsiveness with my iPhone 6 since upgrading to 11, but a few weeks ago I was downloading a bunch of music for a trip and my phone was virtually unusable until the downloads were done. Since then I've noticed unresponsiveness around the same time I see notifications for podcast updates or after exiting an app that was downloading tons of content (e.g. The Weather Channel app).
I'm not saying this is impossible - maybe there's something that I'm missing. But it just doesn't add up at the moment. I'd love a more detailed / repeatable test.
The low scores in the article are in a similar ballpark to my (slow) iphone 6 on ios 10.3.3 with a 3yr old battery - i.e. about half what they should be with a fresh battery.
See https://meltdownattack.com/. I haven't yet read the Spectre paper, but I can say that the Meltdown paper is very readable and walks readers through everything. I anticipate the Spectre paper is as well.
> Apple released iOS 11.2.2 update to address Spectre security issues.
I'm not sure why Meltdown was added to the HN title...
I expect this test to use them.
We need a benchmark between 11.2.1 and 11.2.2 instead.
Oh well, too bad, enjoying the ride.
Unfortunately, with those things it takes plenty of time to re-evaluate hardware + in our case we're mostly in the cloud where Skylakes on GCP is the most we can get.
By near zero risk they mean that no one has yet reversed engineered their branch prediction which is required to effectively exploit it.
Give it sometime and the BTI patch would have to be enforced on AMD CPUs also.
https://twitter.com/enstyled/status/948892447765131264
TLDR: It's 11.2.1 that is throttling the older iPhones, because of the battery wear.
11.2.1: Single-Core 4137, Multi-Core 9315
11.2.2: Single-Core 4039, Multi-Core 9876
Anecdotally as well, I haven't seen a noticeable difference in performance. So your mileage may vary substantially based on what device you have.
Single core: 4239 vs 4241
Multi-core: 10081 to 10203
So no difference.
Either way, encouraging results to a fellow iPhone X user.
EDIT: It appears not the be on the list of affected ARMs [1]. The S8 Exynos 9 Octa 8895 is based on the Cortex-A53
[1] https://developer.arm.com/support/security-update
EDIT2: The Snapdragon 820 and 835 do appear to be affected which are the CPU in the US version of the S8
If we take the snapdragon example the 6XX's aren't affected while the 8XX are.
https://webkit.org/blog/8048/what-spectre-and-meltdown-mean-...
Short answer: yes.
https://www.trueachievements.com/n31065/xbox-one-consoles-un...
I am what I’d consider a heavy iOS user on multiple devices and I don’t believe I’ve honestly noticed any difference at all. If these results were correct, I believe I’d notice at least a 10-15% decrease in performance - but no. What I haven’t looked at is battery life so I cannot comment on that.
At least the additional renewable generation capacity built out will exist for decades (while processors should become more efficient as these security issues are addressed and new hardware rolls out).
Not yay. This is an overnight massive bump so they are going to consume from the same existing pool of renewables, forcing utilities to use more non renewables to make up for the demand difference.
Also, even when they do build out the renewable generation to make up the difference, it's still environmentally a problem due to the manufacturing of the renewable generation (solar panels, windmills, transformers, etc).
We have no surplus of renewable energy to absorb this kinda stuff so more energy usage is always bad at this point. It's just slightly less bad when they commit to paying to fund renewable.
Here's an example of one article on the matter, which I just skimmed a little.
http://www.latimes.com/projects/la-fi-electricity-solar/
I'm guessing that CPU's use a whole lot less electricity than things like AC systems, so they probably don't affect total electricity used by that much. I was able to surmise that a 3 ton central air conditioner uses around 3500 watts per hour while an Intel I7 (whole system) uses around 150 watts per hour.
My theory, then, is that this won't affect total power use in the U.S. all that much.
They’ll sell more servers, but they just lost 10% (or whatever) of their headroom all around the world.
Looks like no performance impact at all.
Have not done any benchmarking, and I'm not saying performance is the same as before, but anecdotally I haven't seen a difference. Just one guy's opinion.
I don't think 11.2.5 exists
https://www.macrumors.com/2018/01/09/apple-seeds-ios-11-2-5-...
1. I thought Spectre was "Intel-only", and Meltdown was the general case, which is less severe but effectively nearly everywhere? If so, how is an iPhone susceptible to Spectre?
2. Beyond that, I thought meltdown/spectre was an x86 problem. So why all this trouble on phones, with ARM?
3. I've read the first, simplest variant of meltdown, and it is so beautifully simple. Is this "speculative execution + cache timing" thing an entirely novel exploit, or have we seen incarnations of this before?
2. Apple's custom ARM chips have extensive speculative execution, and clearly their fixes for it are extremely expensive.
3. It's novel, which is why security researchers are so excited! Branching based side-channel attacks were previously only known to be able to track execution (so branch-based AES encryption was vulnerable to having its keys stolen)-- but reading arbitrary data is much stronger.
2: Spectre applies to all modern processors with speculative execution, which includes smartphone-class ARM processors. Raspberry Pi's and microprocessors ("toasters") are not affected.
3: There's some prior work - Spectre didn't fall from thin air - but using speculative execution as the basis of an exploit makes Spectre the first bugs in, I believe, a new class. (Meltdown, on the other hand, is just a silly mistake that shouldn't be repeated.)
No differences noticeable under same circumstances, maybe even slightly faster (Compute benchmark, Geekbench 4).
My iPhone 6 benchmarks:
Geekbench test taken on Dec 18, 2017 with iOS 11.2
Single Core: 1566
Multi-Core: 2697
Geekbench test taken on Jan 10, 2018 with iOS 11.2.2
Single Core: 1551
Multi-Core: 2675
Percentage slowdown:
Single Core: 0.96%
Multi-Core: 0.82%
It shouldn't be telling you that the host is failing.
Edit: For example, the 502 page is showing, but supposedly, you are supposed to see the site based on this: "However, because the site uses Cloudflare's Always Online™ technology you can continue to surf a snapshot of the site."
Regarding Spectre, I think it's too early to tell.
Now if we want these security fixes that's another -40%... Yikes!
However, it looks like ios 11.2.2 and a new battery is still slightly faster than ios 10.3.3 and an old battery! (geekbench single/multi core score from article of 924/1616 vs my 844/1379)
I think that if they've disabled some cpu core features that might reduce the maximum power loading anyway and make the double whammy impact of security and battery related slowdown unnecessary.
> Are you betting on a law of averages to break in your favor? Hoping you're not a target of hackers?
Aside from anything else, I wouldn't be at all surprised if some people do take this gamble. They shouldn't, but if they're informed about it then it's in their own hands.
Delivered via JavaScript