News for hackers. Stuff that matters.
Re:Huawei caught cheating performance test for new phones by vvanders on Thursday September 06, 2018 @11:17PM (#17931618)
As someone who spent a ton of time in the smartphone GPU/CPU space from '09-'13 we saw every single vendor do this.

They'll happily ignore thermals, run custom shader microcode and any other tricks that'll boost their benchmark scores on common apps.

We always kept a set of internal benchmarks that we didn't share with vendors and used that as a part of SoC evaluation. It had the benefit of not being gamed and also lined up with our normal workloads so we had a decent idea of where we expected the whole system to land.

Re:Huawei caught cheating performance test for new phones by Jerry2 on Thursday September 06, 2018 @11:27PM (#17931651)
>we saw every single vendor do this

Except Apple.

Re:Huawei caught cheating performance test for new phones by StudentStuff on Thursday September 06, 2018 @11:49PM (#17931745)
Apple plays this game, but in a different way. They know that apps like Geekbench test for only a short duration which won't necessarily hit their thermal throttling if the phone is cool enough. Detecting 100% load for a few dozen seconds and giving it full performance isn't hard, that is what Huawei and other vendors should have been doing.

Issues like the Intel i9 performance going significantly downward with consistent usage are often missed by benchmarking apps: https://arstechnica.com/gadgets/2018/07/we-tested-throttling...

Re:Huawei caught cheating performance test for new phones by vbezhenar on Friday September 07, 2018 @12:01AM (#17931789)
Well, short high load sounds like typical usage for some smartphone tasks. Like open a browser, load heavy website, check something and shutdown. If phone can boost CPU, I can load website faster. And if benchmarks want to test for a prolonged duration, surely they can just run longer?
Re:Huawei caught cheating performance test for new phones by jakevn on Thursday September 06, 2018 @11:53PM (#17931764)
Are you implying that short burst performance is for gaming benchmarks?
Re:Huawei caught cheating performance test for new phones by StudentStuff on Thursday September 06, 2018 @11:56PM (#17931776)
Nope, not implying that at all. For some games that may make sense, but I think that'd fall under the sustained heavy CPU/GPU usage category for most games. Same for compiling large apps, interactive HTML5 PWAs and such.
Re:Huawei caught cheating performance test for new phones by jakevn on Friday September 07, 2018 @12:06AM (#17931816)
By gaming benchmarks, I mean falsifying results. Burst performance is the normal optimization for all CPUs and GPUs.
Re:Huawei caught cheating performance test for new phones by dmoy on Friday September 07, 2018 @12:05AM (#17931810)
I am now very confused about which usage of the term "gaming" y'all are referring to.
Re:Huawei caught cheating performance test for new phones by mtgx on Friday September 07, 2018 @12:46AM (#17931939)
Intel has been doing this for ages. It may even be the primary reason why they came up with Turbo Boost. It's gotten a lot worse these days, as Turbo Boost can add another Ghz on its own to the base clock, which allows Intel to keep base clocks very low, yet still claim its chips are as fast as if they always run at the peak Turbo Boost speed all the time (and that turbo boost running time has been shrinking every new generation, too).
Re:Huawei caught cheating performance test for new phones by lern_too_spel on Friday September 07, 2018 @12:17AM (#17931841)
Re:Huawei caught cheating performance test for new phones by vvanders on Thursday September 06, 2018 @11:48PM (#17931732)
So PowerVR is the only GPU design I don't have direct experience with in the mobile space, never worked with an SoC that fielded it.

However given that Apple isn't the only one who licenses their designs I'd put a large sum of money on them doing the same thing.

Re:Huawei caught cheating performance test for new phones by 013a on Friday September 07, 2018 @12:37AM (#17931912)
Probably because they don't need to. Their mobile chips are so ludicrously far ahead of everyone else in the world, it seems possible they discovered a crashed UFO and integrated alien technology into their designs.
Re:Huawei caught cheating performance test for new phones by make3 on Friday September 07, 2018 @12:58AM (#17931976)
source?
Re:Huawei caught cheating performance test for new phones by eertami on Friday September 07, 2018 @05:35AM (#17932965)
Shill more please.

My 3 year old Oneplus X is more responsive than my iPhone 8 (work phone).

Re:Huawei caught cheating performance test for new phones by MBCook on Thursday September 06, 2018 @11:22PM (#17931631)
Desktops have gone through it too: quack.exe and the HardOCP exposé. It’s been a long time since I thought of that.
Re:Huawei caught cheating performance test for new phones by bri3d on Friday September 07, 2018 @12:12AM (#17931826)
Shader replacement was extremely popular for years - see AMD's infamous Doom3 shader replacement: https://www.anandtech.com/show/1488/6 . NVidia drivers did the same thing although they were (generally) a bit smarter about it, relying on shader fingerprinting rather than application fingerprinting to prevent embarrassing "rename the EXE" expose articles. They were notoriously caught using a benchmark's camera path as a fingerprint: https://www.extremetech.com/computing/54154-driver-irregular... .

GPU drivers are still loaded with such replacements, either to work around bugs or to optimize games where a developer partnership was impossible or otherwise rejected. I think that with the shift to lower-level GPU APIs this practice is beginning to fade, but it's basically been par for the course since programmable shaders became a thing.

Re:Huawei caught cheating performance test for new phones by hjfa0j on Friday September 07, 2018 @02:45AM (#17932334)
There's absolutely nothing wrong with shader replacement. Quite the opposite, as it shows the OEM cares about performance. They have two options: convince the game developer to use a better optimised shader or just replace it themselves. The latter is obviously better.
Re:Huawei caught cheating performance test for new phones by bri3d on Friday September 07, 2018 @04:56PM (#17937569)
The latter is obviously better? Shader replacement is fairly fragile and circumvents whatever QA process the game developers had in place - if the shader could be incorporated into the actual product I would think it would be better than shipping thousands of patches.

However, I agree that shader replacement is great for the consumer especially in situations where developers have agreed to vendor lock-in/specialization agreements. It's only questionable to me in the sense of benchmarking applications.

Re:Huawei caught cheating performance test for new phones by lisk1 on Friday September 07, 2018 @04:11AM (#17932640)
Doom 3 was selling title for Nvidia back in the days. Carmack and Co. didnt wanted to do any optimizations for ATI cards because it wont favor Nvidia cards and they had a contract with them back then.
Re:Huawei caught cheating performance test for new phones by dmix on Thursday September 06, 2018 @11:36PM (#17931694)
Backstory I found, I wasn't familiar with this story (2001).

https://www.hardocp.com/article/2001/10/23/optimizing_or_che...

TLDR: ATI did the same thing with Quake 3 Arena which was commonly used as a benchmark game for testing new video cards of that era and which many game news sites were using.

Re:Huawei caught cheating performance test for new phones by kllrnohj on Friday September 07, 2018 @12:05AM (#17931803)
That's not an entirely accurate TLDR here as what ATI did back then is now considered standard practice for GPU drivers and is welcome. It is a bit different than the mobile space as GPU drivers are doing game-specific optimizations rather than benchmark-specific ones. The end user experience is a net win for the major titles, and as long as there's no visual cost it's considered fair game.

It did go too far, even to the extreme of Nvidia hardcoding in their GPU driver the exact camera path that 3dmark took ( https://www.extremetech.com/computing/54154-driver-irregular... ), which is more like what the mobile space is grappling with now. That was solved through a combination of scolding and by just changing the benchmarks to be what people actually do. You don't see 3dmark show up in GPU reviews much, you instead see performance results in a handful of major games. If mobile follows suit and shifts to doing things like benchmarking the average/90th/99th percentile of a game of Fortnite or something then these cheating practices become less feasible as a whole.

Re:Huawei caught cheating performance test for new phones by MBCook on Friday September 07, 2018 @09:45AM (#17934157)
> what ATI did back then is now considered standard practice for GPU drivers and is welcome.

Yep. That was the problem at he time. There were no shaders/etc so you’d just taking a demanding game and see how good it ran. No one optimized specific games in their drivers.

So what ATI did made it appear the GPU was stronger on average that it was.

If it was disclosed it would have been a feature and might have been welcomed. But it was secret.

I remember seeing discussions about whether the kind of optimizations we see today are cheating. They sort of are. But why wouldn’t I want the faster frame rates?

I forgot about the nVidia “micro optimization for a specific benchmark” one. No good excuse there because no one actually plays it.

Re:Huawei caught cheating performance test for new phones by kllrnohj on Friday September 07, 2018 @02:04PM (#17936367)
> So what ATI did made it appear the GPU was stronger on average that it was.

Well, not really. It really did run Quake 3 at the speed the benchmarks were reporting. The problem was it got that speed at the expense of a drop in image quality, and a somewhat substantial one at that.

But if you launched the game and just played it you did get the exact same performance that the benchmarks were reporting.

> I remember seeing discussions about whether the kind of optimizations we see today are cheating. They sort of are. But why wouldn’t I want the faster frame rates?

Desktop GPU optimizations or mobile ones? Desktop GPU optimizations these days are not considered cheating because of 2 key points: 1) it improves the actual game experience (this is why reviews focus on game performance now) and 2) it doesn't impact image quality (periodically you'll see image quality comparisons to ensure both sides are still being honest)

The mobile things that Huawei are doing though are cheating because it does not translate into improvements in actual user experience or gameplay. It's tuning the thermal & power consumption to hit the throttling point at the exact duration of the benchmark. This doesn't translate in any way to any real-world improvements. Thus, cheating.

Re:Huawei caught cheating performance test for new phones by ekianjo on Thursday September 06, 2018 @11:53PM (#17931766)
for benchmarks to work against such practices they need to be changed every single time, in a non predictable way.