73 points · by fomine3 · 6y ago · 86 comments
By the way I think Qualcomm do share sources (through code Aurora?). But they don't upstream them.
Writing this from a zl1 running LOS17.1 using Snapdragon 821.
P.S. Big thanks to mosimach for being device and specialised kernel fork maintainer.
The early to mid 2010 android devices are piling up left and right, but the software is old. As phones they're still good enough but network operators build back tower hardware for 3G, so there's another EoL date coming at least for their data channels.
If the drivers are open source you can at least run something like LineageOS or another Android derived open source ROM and still run an updated OS on your old hardware.
This is what most are interested in and Qualcomm should asap disclose the performance and/or give an outlook on what is coming, always referencing M1's performance as the current benchmark.
Rest is TSMC's 5nm and perfect timing. Apple generates largest revenue per processor by a wide margin. This means they can afford to pay premium to be first at everything and have 6-12 month lead. TSMC's 5nm volume production and Apple's 2020 launch was timed to go together since 2017 (if go back to TSMC conference call you can hear them talking about it without mentioning details).
Apple has been kicking Qualcomms butt for a number of years now and up until now building ASIC was not primary part of their company. Now that they have moved the Mac platform over to their own chips I believe you can expect to gap to widen.
I hope, truly that this becomes a awake up call for Intel and Qualcomm.
Given that this TSMC 7nm->5nm process improvement has lead to the smallest gen-on-gen performance improvement for Apple's iPhone chips - the performance gains from the A13 to the A14 are the smallest in years - I really don't buy that at face value. Surely a better process helps a substantial percentage, but I think a 7nm M1 chip would have impressed in most of the same ways.
Define better.
Processor designs, as with many things is a question of tradeoffs. Apple is vertically integrated and has the luxury of designing cores based on a different set of requirements that drive the rest of the industry. As Apple makes a profit off per device sold, and not per chip, they can strategically approach chip design differently. For example, the area of die used.
25% for the fact that Apple can choose more expensive solutions in every turn. Better performance is often more expensive.
15% because Apple can design only for Apple products. Qualcomm, Intel, AMD .. have to design more generic products.
~10% at most for something else.
>TSMC announced the first details about its 5 nm manufacturing technology which is going to enable TSMC to aggressively increase its transistor density versus prior generations. However, when it comes to performance and power improvements, the gains do not look very significant.
https://www.anandtech.com/show/12727/tsmc-details-5-nm-proce...
Even if they have M1 level performance without the good emulation, what's the point if it's stuck with windows RT?
I believe X1 will still be able to beat Firestorm on size/performance ratio.
I just looked up the Snapdragon performance vs Apple A14, and it is within ~10% [1]. I have also compared it to an intel processor, and it also ahead [2].
From a quick search, it looks like Qualcomm is a competitive contender, if we're going to ARM. If true, that would be a pretty exciting new world of ARM PCs :)
[1] https://nanoreview.net/en/soc-compare/qualcomm-snapdragon-86...
[2] https://gadgetversus.com/processor/qualcomm-sm8250-snapdrago....
Rest is microarchitecture design choices and integration. Apple designs only Apple in mind and can afford to choose expensive solutions for performance gains. Qualcomm processors are sold for a larger number of customers and they have to compromise.
This is just so off. Look at Geekbench's figures for a 865 Plus, add 35% on top and you are still not close to an A14 and miles away from the M1.
Exactly my gut feeling and the press is not questioning anything just rephrasing press releases from Qualcomm, writing about so important details like why the name 888 and so on.
Qualcomm and Intel should come out asap and tell what they plan to do in the next 12-18 months, e.g. embedding RAM or whatever, to match M1' performance. But they rather work on original naming schemes. Good that I sold my Qualcomm stocks years ago.
A dark horse, especially with respect to GPU, is Nvidia after their ARM acquisition. These are interesting times.
ARM powered chromebooks run Android apps far better than their x86 cousins plus still include linux support (crostini) which has a growing set of ARM applications every year.
I'm pretty excited for where the future of efficient computing is going. Between my M1 Mac Mini and overclocked Pi4 8GB I've managed to sell off and move on from x86 machines for personal use. Interesting times indeed.
* Move from 4 to 5-wide decoder (A14 is 8-wide)
* Double number of 128-bit SIMD from 2 to 4 (A14 is 4)
* Moving multiplication into a second ALU allows simultaneous multiplication and division (on both A78 and X1)
* Minimum L1 cache at 64kb instead of 32kb with a 64kb option (A14 is 128 d-cache and 196 i-cache)
* L1 bandwidth on A78 and X1 doubled over A77 (probable 2-4x as wide on A14)
* Double L2 cache from 512kb to 1mb (A14 has 8mb L2, but no L3)
* Double maximum amount of L3 cache from 4mb to 8mb (for a potential 9mb cache vs 8mb for A14)
* Still ARMv8.2 (A14 is ARMv8.4 which brings some extra instructions for pointer security, virtualization, JS integer conversion, complex number SIMD, SHA512/SHA-3 hardware, int dot products, and some other stuff -- probably the biggest performance difference here will be the 1-2% for JS conversion)
* Increase BTB from 64 to 96 entries (Not sure about A14, but probably more)
* Increase TLB from 1k to 2k pages (A14 is 3072 pages)
* mops bandwidth goes from 6 to 8 mops (not sure about A14, but 8+ for sure)
* uop cache goes from 1.5k entries to 3k entries (I seem to remember hearing 2k entries for the A12, but I don't know)
* mops dispatch also goes from 6 to 8 (once again , not sure about A14, but 8+ for sure)
* uops dispatch increases from 10 in A77 to 12 in A78 to 16 in X1 (I'd guess Apple's at least this wide)
* reorder buffer increasing from 160 to 224 entries (A14 ROB is somewhere around 630 entries)
ARM's claims that with all three processors at 3GHz, the A78 is 7% faster than A77 and the X1 is 20-30% faster depending on the workload. I'd guess that SIMD float-heavy performance between X1 and A14 is very close.
More interesting is the x86 comparison (let's look at zen 2).
X1 has twice the L1 cache (64 vs 32k), but considering AMD lowered this amount, I doubt it's a real advantage more than different ISA and microarchitectures. Likewise X1 with 1mb of L2 vs 512kb for zen 2 probably doesn't matter too much (AMD redid the cache in zen 3 and stuck with 512kb while Intel still uses 256k). Zen 2 has 16 L0 BTB vs 96 L0 BTB for X1, but this might be microarchitecture more than anything as well as X1 drops to 2k L2 entries vs 7k for Zen 2. I don't know if 8mb L3 is shared in X1, but I'd assume so in which case 16mb for zen 2 is a definite advantage.
The decode width is now 20% wider than zen, but x86 instructions are around 15% more dense, so I'd guess it's about the same. X1 has 3k uop cache entries vs 4k on x86, but I suspect x86 needs more to avoid hitting those complex decoders at all costs. AMD dispatches 6 int uops and 4 float uops per cycle while X1 does 16 uops per cycle.
I don't know about ARM, but AMD's perceptron predictor is probably better (it seems like Apple or ARM would make a big deal about this if they'd made the investment -- Samsung did). Given AMD has 19 stages instead of 13 in the X1, a better predictor is needed to offset penalties. X1 and Zen 2 both have identical 224-entry reorder buffer.
X1 has 2 AGU, 1 AGU/load and 2 load/store while zen 2 has 3 AGU, 2 load/store, and 1 store. Zen 2 and X1 AGU are both 256-bit wide. I can't find store queue length for X1, but bigger queues could be an advantage to AMD (I suspect so as ARM probably wouldn't want the extra power draw).
A76 seems to have similar instruction cycle counts to Zen 2 and I assume they haven't gotten worse since. X1 has four 128-bit SIMD while Zen 2 has two 256-bit SIMD. If you can use wider SIMD, AMD has an advantage, but if there's lots of smaller SIMD, then X1 should have an advantage).
Zen 2 has 4 integer ALU with one capable of multiplication, another capable of division, and another with a CRC (cyclic redundancy checking). X1 is identical (except I don't know if it has a CRC).
X1 very likely comes close to Zen2 and even A14 in integer performance while being a bit more bottlenecked in float performance. With not one, but two ARM designs now taking on x86 so handily, perhaps it's about time we start considering that ISA maybe does matter more than Intel has claimed over the years.
These results could very well be fake, however early in a product release OEMs do often intentionally release these teaser numbers. This would make it the fastest Android chipset by a good margin, and bring it closer to equalling the A12 of 2018.
To sum up the explanations given for why it's part of the SOC and not an external device on a bus:
> Last year’s ... external 5G modem such as the X55 helped the 5G transition as it was available to vendors earlier than the Snapdragon 865 SoC itself, allowing them to design their RF systems before having access to the newest SoC.
> The platform’s reabsorption of the modem into the SoC die should signify better power efficiency, lower platform cost as well as lower PCB complexity for smartphone vendors.
Or are they already baking it in and just paying royalties to Qualcomm?
https://www.ifixit.com/Teardown/iPhone+12+and+12+Pro+Teardow...
The same are in yellow and red on the Samsung Galaxy S20 with Snapdragon 865 teardown:
https://www.ifixit.com/Teardown/Samsung+Galaxy+S20+Ultra+Tea...
The SDR865 and SDX55M are the external 5G parts that would disappear with the 888. Compare the PCB area used for those (they're both almost as large as the whole SOC; I'm sure much of that is driven not by silicon area or thermal requirements but by a lot of power and pins for high-speed host communication) to this teardown of the Galaxy S10, which has the Snapdragon 855 with an integrated 4G modem:
https://www.ifixit.com/Teardown/Samsung+Galaxy+S10+and+S10e+...
Apple has said they want to integrate the 5G modem by 2022.
A 5G modem is pretty complicated tech. I used to work on Nvidia's Icera, but that's gone now. A lot of chip makers have given up, and Qualcomm is the undisputed leader. MediaTek dominates in low-mid end Androids. I think Huawei & Samsung both have something.
It may also make it feasible to include 5G in laptops. Currently Apple licenses Qualcomm modems. Qualcomm charges a fee that is proportional to the full retail price of the device. That would be significant for a laptop. If Apple can use their own modems and get around that licensing cost, it makes a laptop with a cellular connection more likely.
Trying to do a wholly SDR free 5G modem would be a monumental feat, and first attempts at implementations would probably be gigantic.
If you want to do real time 5G calls (as you do when you prototype, test and develop) using software defined radio you buy one of those USRP boxes. They have CPU's DSPs that run software and then programmable FPGA's talking to ADCs and DACs.
I believe srsLTE, used to turn SDRs into eNodeB/UEs, adds support for 5G soon (tm).
https://community.arm.com/cfs-file/__key/telligent-evolution...