News for hackers. Stuff that matters.
Re:Neural network spotted deep inside Samsung's Galaxy S7 si... by Jerry2 on Monday August 22, 2016 @11:52PM (#12341272)
Even with all those neural net advantages, dual-core, 2GB RAM iPhone 6s beats octa-core, 4GB RAM Galaxy Note 7:

http://www.redmondpie.com/galaxy-note-7-vs-iphone-6s-real-wo...

Video (3:29 sec): https://www.youtube.com/watch?v=3-61FFoJFy0

PS: I highly recommend you check out the video... iPhone completely obliterated Note 7.

Re:Neural network spotted deep inside Samsung's Galaxy S7 si... by viraptor on Tuesday August 23, 2016 @12:54AM (#12341490)
That test is relevant for the end user, but it doesn't make sense as a hardware test. It's a different system, on different hardware, with different apps (that happen to share the same name), and essentially what you're comparing is resource loading strategies. iPhone is better at that - great.

But for a hardware test, I'd expect a single running app, executing shared native codebase, in no disruptions airplane mode, measuring specific part of the hardware. And that's not even close to measuring before/after improved branch prediction, which could be useful in both phones.

Re:Neural network spotted deep inside Samsung's Galaxy S7 si... by BinaryIdiot on Tuesday August 23, 2016 @02:35AM (#12341827)
> But for a hardware test, I'd expect a single running app, executing shared native codebase, in no disruptions airplane mode, measuring specific part of the hardware. And that's not even close to measuring before/after improved branch prediction, which could be useful in both phones.

I would argue that would be a completely useless test unless you're explicitly testing something for development purposes only. Users use phones. Nothing else matters but the user experience. If you can make your phone beat another phone in your limited, no disruptions, network traffic off example that doesn't mean anything.

I feel this is a fair test. You test the phones at what they're supposed to be able to do. If one does it better it's legit to point that out regardless of what the underlying structure looks like.

Re:Neural network spotted deep inside Samsung's Galaxy S7 si... by viraptor on Tuesday August 23, 2016 @03:01AM (#12341902)
I think you either misread my comment or missed the point of it. Overall tests matter, specific tests matter, unittests matter, microbenchmarks matter, user experience matters, perceived performance matters. But they don't always intersect.

Bringing up user experience when talking about branch predictors is meaningless. Just as bringing up branch predictors when talking about perceived performance. (unless you're proving that this exact feature being available/not available, with other things being controlled for, makes a major difference in the test)

Re:Neural network spotted deep inside Samsung's Galaxy S7 si... by zmb_ on Tuesday August 23, 2016 @04:43AM (#12342254)
> Bringing up user experience when talking about branch predictors is meaningless.

If working on branch predictors does not impact the user experience, then arguably that work is meaningless in the context of building real products -- it may still be interesting for academic purposes.

Re:Neural network spotted deep inside Samsung's Galaxy S7 si... by fasouto on Tuesday August 23, 2016 @07:05AM (#12342739)
Branch predictors made the phones faster and this affects the user experience. But if you want to test the performance of branch predictors you have to compare similar things, you cannot benchmark two different OS and apps because you get and OS and app test not an processor test.
Re:Neural network spotted deep inside Samsung's Galaxy S7 si... by woliveirajr on Tuesday August 23, 2016 @09:20AM (#12343464)
I think the point that previous posters were making is that in controlled environments some features might outperform others. And yes, the scientific way of testing things is isolating variables and changing one thing each time.

But, for the final user, it doesn't matter if each technology alone is better than another. If you have a background 64-core processor, driven by another 8-core... What matters is how fast something loads, performs, and how long batteries last.

Of course, this might be outplaced in a thread discussing NN branch prediction.

Re:Neural network spotted deep inside Samsung's Galaxy S7 si... by swinglock on Tuesday August 23, 2016 @01:15AM (#12341557)
Why measure and therefore optimize for anything but how the product is being used?
Re:Neural network spotted deep inside Samsung's Galaxy S7 si... by viraptor on Tuesday August 23, 2016 @01:28AM (#12341602)
I didn't say it's not valid, or that it shouldn't have been done. I'm just saying "NN still doesn't help them beat iPhone" is not a relevant comment regarding this test. To go with car analogy it's close to an article about an slightly improved design of one part of fuel injection in new ABC and someone commenting "look, an XYZ from last year still can go faster without it".

The test is a valid observation, but is irrelevant to this article, or to the technology.

Why measure something that doesn't show up in a standard user's test? Here are some examples: lower power usage, lower latency of small operations (rather than throughput of large actions), smaller design (saving chip space), etc. And finally - if this is a good technology, Apple can use it too and get even faster.

Re:Neural network spotted deep inside Samsung's Galaxy S7 si... by aokyler on Tuesday August 23, 2016 @02:42AM (#12341839)
That is a great analogy. That test in the video didn't really mean anything towards the overall speed of the device. It's interesting to see, but I how this test would change over n trials.
Re:Neural network spotted deep inside Samsung's Galaxy S7 si... by adrianN on Tuesday August 23, 2016 @03:13AM (#12341933)
You should do that, but not only that. If you just test the way the product is being used, you have a million possible reasons why it could be slow. If you just want to know whether slapping a neural network on the chip is a good idea or not, it's best to test that in such a way as to exclude as many confounding factors as possible.
Re:Neural network spotted deep inside Samsung's Galaxy S7 si... by girvo on Tuesday August 23, 2016 @01:17AM (#12341565)
In general: because how a piece of hardware (or set of hardware) is used today isn't necessarily how it's going to be used tomorrow. Faster hardware allows for use-cases that weren't possible prior.
Re:Neural network spotted deep inside Samsung's Galaxy S7 si... by kingnothing on Tuesday August 23, 2016 @02:25AM (#12341790)
However, when we're talking about phones or consumer devices, how it's used today is the only thing that's relevant. It will be obsolete in just a couple of years.
Re:Neural network spotted deep inside Samsung's Galaxy S7 si... by comboy on Tuesday August 23, 2016 @04:56AM (#12342285)
I think the parent point is still valid. Look at Pokemon Go. Average user wouldn't care about AR performance, all that high gps accuracy or gfx performance in unity. Suddenly, there are millions of players who are choosing their hardware based on that. If you are planning for today's usage you you may be lagging.
Re:Neural network spotted deep inside Samsung's Galaxy S7 si... by ddebernardy on Tuesday August 23, 2016 @03:45AM (#12342044)
> That test is relevant for the end user, but it doesn't make sense as a hardware test.

Err? It seems to me that the only tests that make any sense are those that count for end users. Everything else is pointless. It doesn't matter if it's the same system or code base or whatever other engineering fetish.

Users who compare their phones to see which goes faster look at how the same app opens and runs on two separate phones. Which incidentally is what this test is about. It's the only sensible test you can do.

Re:Neural network spotted deep inside Samsung's Galaxy S7 si... by MaulingMonkey on Tuesday August 23, 2016 @05:13AM (#12342349)
> Everything else is pointless.

Better understanding individual components lets engineers build better overall systems. Millions of choices and decisions go into something like a phone, most of which can't have their result easily measured by just looking at the end result. But if enough of them are good, you end up with the iPhone.

If enough of them are bad, you end up with mass recalls, and a class action lawsuit because your phones catch fire when charged overnight because your engineers didn't think to test that specific use case, didn't test their capacitors, didn't test their QA process, didn't unit test their battery management code, or otherwise failed to indulge their "fetish" (read: job.)

Proper hardware tests might be pointless to end users, but that doesn't make them pointless.

Re:Neural network spotted deep inside Samsung's Galaxy S7 si... by dspillett on Tuesday August 23, 2016 @04:33AM (#12342218)
> Err? It seems to me that the only tests that make any sense are those that count for end users. Everything else is pointless.

If you are specifically comparing two specific phones against each other then yes this is the only sort of test that matters, and if you are comparing manufacture's flagship models then that is what you are doing.

From every other point of view, either comparing performance of individual components or comparing like-for-like performance of devices with very similar spec it is less valid though: the screen resolution is a huge variable for a game so it isn't a "fair" test to compare performance of two devices like that. You could equally state that the higher resolution produces a better result because of the resolution difference and you would similarly be called to task by for not comparing like for like. Maybe the a device with the same hardware other than the better screen would outperform the iDevice on the test, or at least not appear to underperform by as much, this test can't tell us that.

This is difficult of course because few phone models are practically identical and few vary by just one factor, and can make a developers life more difficult when trying to support a varied market like Android based devices.

Re:Neural network spotted deep inside Samsung's Galaxy S7 si... by ajdlinux on Tuesday August 23, 2016 @03:51AM (#12342057)
If you're an engineer who's working on branch predictors, or a developer working on compiler optimisations, then such a test isn't exactly pointless...
Re:Neural network spotted deep inside Samsung's Galaxy S7 si... by golergka on Tuesday August 23, 2016 @04:25AM (#12342187)
This os a test for an entire phone, including the OS. The article focuses on the chip alone.
Re:Neural network spotted deep inside Samsung's Galaxy S7 si... by coldtea on Tuesday August 23, 2016 @04:17AM (#12342153)
>That test is relevant for the end user, but it doesn't make sense as a hardware test. It's a different system, on different hardware, with different apps (that happen to share the same name), and essentially what you're comparing is resource loading strategies. iPhone is better at that - great.

Anything besides the concrete end-user experience of a system doesn't matter at all.

(In theory it could matter for cpu/compiler designers etc -- but even what matters to them is inconsequential if in the end of the line it doesn't matter to the end-user).

Re:Neural network spotted deep inside Samsung's Galaxy S7 si... by stephengillie on Tuesday August 23, 2016 @12:17AM (#12341359)
It should be noted most Android phones use a "Dual-Quad" design, with a bank of 4x A53 for low-power operation, and a dual or quad set of more powerful processors (A57, M1, etc) for full-power operation.

Still, it's interesting to see the single A9 with coprocessor outperform dual M1s - like was said about the reduced core count in the Snapdragon 820:

β€œThe most important thing to have is peak single-threaded performance, as most of the time only one or two cores are active." [0]

This is apparently true, with the iPhone outperforming despite its A9 running up to 400mhz slower than the Android cohort's Snapdragon.

[0] http://trustedreviews.com/opinions/snapdragon-820-vs-snapdra...

Re:Neural network spotted deep inside Samsung's Galaxy S7 si... by andrepd on Tuesday August 23, 2016 @07:53AM (#12342921)
Oh god it's one of those app opening videos isn't it?

Yep, it is. D: Well here is a tip that should be somewhat obvious: unscientific measurements of which phone loads apps faster when you click from the home screen isn't any basis to claim a phone "beats" the other, especially when we were talking about processor performance.

By the way, the iPhone beats the S7 on single core and the S7 wins on multi core performance. Which makes sense seeing as you are competing a dual core with an octa core.

Re:Neural network spotted deep inside Samsung's Galaxy S7 si... by zigzigzag on Tuesday August 23, 2016 @04:04AM (#12342103)
It'd be really interesting to see a performance analysis of what's going on there. Is it just a weaker CPU or are the apps less optimised as well? The two phones were comparable right up to the time they loaded a game and it just fell behind further and further from that point on. Why is loading that particular game so much slower? The developers didn't care to optimise it?

edit: The article points out that the resolution of the Samsung display is a lot higher, so it's not quite comparing apples and oranges here. I'm guessing that a much higher resolution is pure win when drawing mostly vector graphics i.e. apps but really kills you when loading games as presumably they're paging in much larger assets from disk.

Re:Neural network spotted deep inside Samsung's Galaxy S7 si... by brigade on Tuesday August 23, 2016 @04:31AM (#12342208)
Well for starters, Anandtech measured the NAND performance of the 6s as significantly faster than the Note7; 1.65x faster sequential 256k and 1.15x faster random 4K.
Re:Neural network spotted deep inside Samsung's Galaxy S7 si... by simonh on Tuesday August 23, 2016 @04:21AM (#12342174)
I doubt the assets are different, that would require the developer to include different assets for various different Android screen resolutions for different phones in the Android version of the app. Rather it's the dynamic drawing engine that will be doing more work generating the screen images at the higher fidelity because that will work at the screen's physical resolution.
Re:Neural network spotted deep inside Samsung's Galaxy S7 si... by mrkgnao on Tuesday August 23, 2016 @11:43AM (#12344610)
I believe separate APK files for separate resolutions may be a thing on the Play store, but I'm not entirely sure.
Re:Neural network spotted deep inside Samsung's Galaxy S7 si... by veeti on Tuesday August 23, 2016 @03:54AM (#12342068)
This is because of Samsung's garbage software. Years and years go by and every single time they manage to make the best hardware and slap a laggy and bloated version of Android on top of it. I'm sure that a Note 7 with a more Nexus-like build of Android is a dream for many.
Re:Neural network spotted deep inside Samsung's Galaxy S7 si... by kayoone on Tuesday August 23, 2016 @04:34AM (#12342225)
While i prefer stock Android, the Note arguably benefits a lot from a different software because it's tailored to the Stylus and round edges. Other than that they already toned it down a lot to where it was a few years ago, so i don't think the impact is that huge. I really love the Note 7 for the possibilities that the stylus brings, so the Samsung software is something i'd have to live with.
Re:Neural network spotted deep inside Samsung's Galaxy S7 si... by tribaal on Tuesday August 23, 2016 @05:25AM (#12342403)
I've been a happy Samsung customer for the longest time, because I basically flashed their nice hardware with cyanogenmod.

My recently purchase S7 is the first ever cellphone I return to the store because: 1) It's way too hard to flash their exynos based hardware and 2) the default install comes with 14Gb of garbage included. That includes the full microsoft office and a slew of garbage apps I'll never use (I'd include the launcher in that, but I understand some people like it, so I'll it a pass)

Annecdata, but I have now become this guy who will tirelessly slap Samsung's garbage software "strategy" every time I have the opportunity.

Re:Neural network spotted deep inside Samsung's Galaxy S7 si... by wutbrodo on Tuesday August 23, 2016 @03:58AM (#12342085)
They drastically pared down the software differences in the last version or two. Me from five years ago would be shocked to hear me say it, but it's to the point that with the s6, I preferred the new stripped down TouchWiz by a long shot to stock android (TouchWiz has always had design advantages that stock android sometimes incorporates, e.g. Quick settings in the notification bar).
Re:Neural network spotted deep inside Samsung's Galaxy S7 si... by gpderetta on Tuesday August 23, 2016 @08:08AM (#12343001)
Apple A9 is a quite sophisticate CPU, there is no reason to believe is not using a state of the art predictor. The Samsung CPU might not have any advantage at all on this area.
Re:Neural network spotted deep inside Samsung's Galaxy S7 si... by the_mitsuhiko on Tuesday August 23, 2016 @12:01AM (#12341305)
That's not too surprising. There is a lot more that runs on an Android phone usually.
Re:Neural network spotted deep inside Samsung's Galaxy S7 si... by digi_owl on Tuesday August 23, 2016 @01:49AM (#12341670)
Yeah my first thought went to how Android will background anything when you hit center button, while iOS will basically give it a few seconds to pack up state and then evict it. Been that way since day one, and has very little to do with the hardware.
Re:Neural network spotted deep inside Samsung's Galaxy S7 si... by vbezhenar on Tuesday August 23, 2016 @01:59AM (#12341707)
It doesn't really evict it. It pauses execution, but program is still running, so when you switch to it, it'll continue to run from the same moment you left it. If another foreground app requests more memory, then yes, iOS might terminate background apps, but that's not necessary. Also there's limited support for background tasks in modern iOS, so background apps might still drain battery and affect CPU (though probably not significantly).
Re:Neural network spotted deep inside Samsung's Galaxy S7 si... by oarsinsync on Tuesday August 23, 2016 @02:23AM (#12341786)
> Also there's limited support for background tasks in modern iOS, so background apps might still drain battery and affect CPU (though probably not significantly).

Unless they do something abusive like keep the speaker or mic on, which then permits them to be more abusive like keep location services active, which then rapidly drains battery.

http://solutionowl.com/the-ultimate-guide-to-solving-iphone-...

Re:Neural network spotted deep inside Samsung's Galaxy S7 si... by matt_wulfeck on Tuesday August 23, 2016 @01:09AM (#12341538)
What more is running on an android phone then other OS? Seems like they have some fat to trim if there's more required to run their phone.
Re:Neural network spotted deep inside Samsung's Galaxy S7 si... by zigzigzag on Tuesday August 23, 2016 @04:00AM (#12342088)
Even today, Android and iOS are not comparable in terms of what they allow apps to do, which is why iOS tends to win responsiveness comparisons and Android (still) tends to win feature comparisons, even years after Apple fell behind the features race and started simply duplicating Android's featureset (multi-tasking, notifications drawer, gradually allowing more and more background operations etc).
Re:Neural network spotted deep inside Samsung's Galaxy S7 si... by pjmlp on Tuesday August 23, 2016 @01:13AM (#12341552)
Frameworks based on Java with GC and JIT for each process?
Re:Neural network spotted deep inside Samsung's Galaxy S7 si... by coldtea on Tuesday August 23, 2016 @04:19AM (#12342169)
If you mean bloated Java runtimes, then we agree.
Re:Neural network spotted deep inside Samsung's Galaxy S7 si... by Grazester on Tuesday August 23, 2016 @08:40AM (#12343186)
Android doesn't have any Java runtimes because it doesn't use Java! Java it merely the programming language used but the programs are compiled into an Android specific byte code
Re:Neural network spotted deep inside Samsung's Galaxy S7 si... by coldtea on Tuesday August 23, 2016 @09:14AM (#12343426)
Re:Neural network spotted deep inside Samsung's Galaxy S7 si... by kbart on Tuesday August 23, 2016 @02:15AM (#12341751)
"Even with all those neural net advantages"

On the other hand, without a neural net, it might be even slower. Android supports tons of different architectures and platforms, of course you can't optimize it like Apple can with a single platform.

Re:Neural network spotted deep inside Samsung's Galaxy S7 si... by BinaryIdiot on Tuesday August 23, 2016 @02:51AM (#12341866)
> Android supports tons of different architectures and platforms, of course you can't optimize it like Apple can with a single platform.

Not really. Sure Android can run on multiple architectures but 99% of the time it's mostly the same. Why couldn't they provide optimizations for multiple architectures anyway? Whenever something can run on more than 1 architecture I usually see the argument about how it can't be as optimized on any specific architecture but I don't see why not. Optimize for the 80% use case and you're probably covered. Go beyond that to get more performance out of other platforms but it's unlikely necessary.

Re:Neural network spotted deep inside Samsung's Galaxy S7 si... by kbart on Tuesday August 23, 2016 @03:11AM (#12341929)
"Why couldn't they provide optimizations for multiple architectures anyway?"

Because Android is usually developed by at least two companies: Google does generics and OEM which is responsible that Android runs smoothly on their hardware. Sure, given enough time and resources, you could do optimization for every hardware combination possible, but that is not how things work in real world, especially where release cycles are such insane as in smartphones market.

Re:Neural network spotted deep inside Samsung's Galaxy S7 si... by BinaryIdiot on Wednesday August 24, 2016 @12:05PM (#12353002)
> Sure, given enough time and resources, you could do optimization for every hardware combination possible, but that is not how things work in real world, especially where release cycles are such insane as in smartphones market

You make it sound as if every version of CPU, GPU and chipset have to be optimized in every combination possible but typically you do optimizations based on various CPU targets, optimizations based on GPU targets, etc; the vast majority of smart phones use the same architecture and many end up targeting the same CPUs and GPUs (I mean how many phones ended up / still use the Snapdragon 820?).

Yes they can't optimize for every combination but optimizing for the typical CPUs and GPUs seems like something they're likely already doing. If the stack was squished and Google made it from hardware to software I'm not sure that they would be necessarily doing optimizations any different on the hardware / driver level.

Re:Neural network spotted deep inside Samsung's Galaxy S7 si... by Grazester on Tuesday August 23, 2016 @12:00PM (#12344767)
Yeah the Note 7 is documented as being full of bloat effecting its performance. http://www.xda-developers.com/with-the-note-7-samsung-still-...
Re:Neural network spotted deep inside Samsung's Galaxy S7 si... by andrewpi on Tuesday August 23, 2016 @09:30AM (#12343527)
US versions of the Note 7 use a Qualcomm processor, not a Exynos. (supposedly to support Verizon and Sprint's CDMA networks)