News for hackers. Stuff that matters.
Re:Coming Soon: AWS Graviton2 Processor for AWS by dman on Wednesday December 04, 2019 @06:16PM (#21708232)
If Intel makes it out of the current soup with its dominance intact it will make for an interesting case study. Think they are facing the perfect storm on multiple fronts.

a. The 10nm process fiasco

b. Missing the chiplet concept

c. ISA fragmentation - AVX512 which was supposed to be the next big thing was server CPU side only till recently and downclocks the entire chip when used making it extremely hard to reason about whether it makes sense to use it for mixed workloads.

d. With a move to more distributed programming models the network is often in the critical path now, making cpu performance less relevant for many workloads

e. ARM eating their lunch in mobile

f. Nvidia eating their lunch with GPGPU

g. Big players are increasingly building accelerators for critical workloads that offer better power / performance

h. Strong execution from AMD for the first time in over a decade

i. GUIs moving to browsers and a lot of compute moving to runtime based languages like Python/JS means that any new ISA features are initially hard to utilize in killer apps on the client side. So if Intel ships a killer new set of instructions there is a significant lag between it doing something useful for the user.

Re:Coming Soon: AWS Graviton2 Processor for AWS by goosehonk on Wednesday December 04, 2019 @09:21PM (#21709400)
This comment seems kinda slanted. AVX-512 debuted on Xeon because datacenter operators asked for it. It does not “downclock a whole chip”, it gates the core where it is active and there’s not even that penalty on the current generation parts. “10nm” is marketing fluff which has little or nothing to do with actual semiconductor construction. “Chiplet” is also marketing-speak for “wow this memory topology is hard to program around “. Not sure they should feel too bad about missing that boat.

What Intel really should be worried about is the client side being their largest revenue segment. That’s a dead business, eventually. And the bets they made didn’t pan out: FPGAs aren’t popular because the people sophisticated enough to use them are also smart enough to tape out ASICs. IoT is not a thing.

Re:Coming Soon: AWS Graviton2 Processor for AWS by solidasparagus on Wednesday December 04, 2019 @11:05PM (#21709888)
Uhh source on AVX512 not downclocking on modern CPUs? We benchmarked ML workloads on the newest chips the cloud had to offer and the slowdown was a significant problem because, as the parent comment said, it is very hard to reason about whether the benefits of vectorized ops will outweigh the the reduced clock speed. Sometimes it does and sometimes it does not - which is a major problem when you have to specify instruction set when you build the ML library from source.

Maybe you know something I don’t but that FPGA statement makes zero sense to me. The ASIC development cycle is measured in years - that’s why FPGA’s are valuable (and I thought they were relatively heavily used).

Re:Coming Soon: AWS Graviton2 Processor for AWS by goosehonk on Thursday December 05, 2019 @01:49PM (#21715049)
It is a major problem to figure out what instructions to use but it's a lot more nuanced than you seem to imply. In the first place you seem to assume that "not running at the max turbo speed that's printed in the marketing literature" is equivalent to "downclocking". However, there are a huge number of reasons why a core might not clock up, including the number of active cores on the package. The first Xeons that shipped with AVX-512 had turbo clocks that were 25% lower than the headline turbo clocks, e.g. 2400MHz instead of 3200MHz. This is still pretty good, and the base clock is 2100MHz.

With the newest Ice Lake processors ("10th generation") the all-cores-active, all-avx-512 max clock speeds are the same as max scalar clock speeds. You can try this out yourself with the avx-turbo program.

Re:Coming Soon: AWS Graviton2 Processor for AWS by solidasparagus on Thursday December 05, 2019 @04:18PM (#21716646)
No, when we used MKL, the workload was slower and turning off MKL made the workload faster. The marketing is irrelevant - using vectorized instructions slowed down the workload in practice which is all that really matters. The Intel teams we were working with explained it as being due to the slower clock speeds caused by vectorized instructions. I don't really know, but it seems fair to assume that they do.

It will be interesting to test Ice Lake when they make it to the cloud, hopefully some time late next year, but until we can actually use Ice Lake, Sky Lake is what AVX512 will be judged on.

Re:Coming Soon: AWS Graviton2 Processor for AWS by goosehonk on Thursday December 05, 2019 @06:44PM (#21717914)
It's a good thing you measured it :-) Programs that do a little bit of 512x512 FMA mixed in with other stuff will not benefit from AVX-512 but can suffer from the heat it generates, or from the hiccup when the CPU turns the FMA unit on and back off.

Codes that can do a lot of 512b FMA consecutively will benefit very greatly, and pay a small penalty (up to 25%) in terms of throughput for everything else.

Codes that use non-multiplier stuff that's just marketed as AVX-512, like VBMI2, also benefit greatly and without any penalty.

People with AMD CPUs don't get a choice. Hard to see how this accrues to Intel's mistakes column.

Re:Coming Soon: AWS Graviton2 Processor for AWS by solidasparagus on Thursday December 05, 2019 @08:59PM (#21718659)
It's not really an Intel mistake, but it is an Intel problem. In ML, the ASICs are coming. NVIDIA is pretty much guaranteed to maintain a leadership position in this space because their software layers are dominant. Intel's ML leadership position is quite tenuous because the killer ML features don't work quite well enough for the premium. MKL should be a solid moat, similar to NVIDIA's CUDA and CUDNN, but if it requires serious effort to get the benefits, it becomes more palatable to spend that effort on ARM-based servers or custom hardware like Inferentia which are meaningfully cheaper. Maybe Ice Lake will fix this, but Intel is running out of time to convince people that Intel chips should remain the first choice in ML.

AMD isn't relevant in this space AFAIK.

Re:Coming Soon: AWS Graviton2 Processor for AWS by josh2600 on Thursday December 05, 2019 @07:27AM (#21711765)
Djb’s article linked above answers this in detail. In short, vectorized instructions don’t have to hit ram to do things like addition, but they can heat up the processor beyond its ability to cool to operating temperatures. The clock speed drop is necessary to avoid overheating.

For more reading, check out cpu pipelining, as well as how vectorized instructions actually work. The performance benefit for well implemented vectorized instructions overcomes the clock speed hit by leaps and bounds, which is why mobile systems make such heavy use of them, for example.

Re:Coming Soon: AWS Graviton2 Processor for AWS by shaklee3 on Thursday December 05, 2019 @12:45AM (#21710258)
FPGAs are in a tough place. Like OP said, most people writing RTL make asics, or at least an asic that's programmable. The FPGA target market is getting slimmer, since we have programmable Asics, like GPUs and tpus, that are as performant with easier programming. They will still serve a niche market, but the "write c++ and run on an fpga" will likely never take off.
Re:Coming Soon: AWS Graviton2 Processor for AWS by solidasparagus on Thursday December 05, 2019 @02:50AM (#21710645)
I thought the main market for FPGAs was that period between "we have a problem that needs custom hardware" and "we have custom hardware being produced at the scale we need". I guess that's a relatively niche market?
Re:Coming Soon: AWS Graviton2 Processor for AWS by timthorn on Thursday December 05, 2019 @06:44AM (#21711611)
There's also the market for high performance things that need to be in-service upgradeable. I understand mobile base stations are a significant customer for large FPGAs, to enable deployment of new standards revisions/modulation schemes without a truck roll.
Re:Coming Soon: AWS Graviton2 Processor for AWS by pjc50 on Thursday December 05, 2019 @06:16AM (#21711486)
Pretty much. The problem set they're useful for is low-latency high-throughput stuff, and/or connectivity to high speed digital signals, for things that there isn't an existing custom solution and where you don't care about area or power consumption. That's not a huge market.

We do use them at my employer, a multinational chip company - but only in very small numbers, like one $50k board gets shared around project groups who use it for a few weeks each. Most of the work is done in simulation.

Re:Coming Soon: AWS Graviton2 Processor for AWS by kevin_thibedeau on Wednesday December 04, 2019 @10:32PM (#21709740)
Chiplets are more significant than you credit them for. They allow higher yields and make the production economics much more favorable for AMD, whereas Intel is throwing out a lot more silicon.
Re:Coming Soon: AWS Graviton2 Processor for AWS by StillBored on Wednesday December 04, 2019 @11:01PM (#21709866)
Yield might be part of it, but I'm sure intel can ship partially functional chips with a core here/there disabled.

Another of the big advantages for AMD is that their products aren't reticle limited. The basic design lets them have a single design they bolt into dozens of configurations that scale larger than what intel can fit on a single die. Hence 64 "big" cores in a single socket.

There are likely other advantages too (cooling?) that partially make up for the longer more complex core->core latencies.

Re:Coming Soon: AWS Graviton2 Processor for AWS by sitkack on Wednesday December 04, 2019 @11:38PM (#21710032)
Do a simulation, chiplets extract multiples of revenue more than binning on failed functional units. Lots of functional blocks are NOT redundant, leading to the total loss of part. At these small feature sizes and massive chip areas, yields are down. Chiplets avoid this.
Re:Coming Soon: AWS Graviton2 Processor for AWS by StillBored on Wednesday December 04, 2019 @11:59PM (#21710102)
I don't have anywhere close to enough information to know what the actual yield numbers being experienced by AMD's products vs Intel's (you can probably count on 1 hand the number of people who know such things). For sure its much harder to make a perfect large die, which is part of why most of the 7nm parts are so small (or experiencing really low yields). But its so completely different. Intel is on a very mature process with a larger feature size, and so much of their large die chips _ARE_ consumed by things that can be disabled (cache slices, cores, etc) that the probability of landing on some critical portion of the die that completely junks it are probably fairly low or we would be seeing a glut in the lower core count parts too and intel doesn't really seem to be having a problem sourcing the upper mid range xeon parts.

Bottom line, I don't believe that intels product lines prices in any way reflect what the actual yield curves are.

Re:Coming Soon: AWS Graviton2 Processor for AWS by solidasparagus on Wednesday December 04, 2019 @11:08PM (#21709900)
Chips with problematic cores are sold as lower end chips. For the same production cost, you are getting less revenue - failure rate plays a big role in profit margins.
Re:Coming Soon: AWS Graviton2 Processor for AWS by StillBored on Wednesday December 04, 2019 @11:27PM (#21709985)
Vs throwing the whole die away because you don't sell enough systems that small?

Its hard to tell, but intel still has a strong markup on 24 core parts being sold from 28 core dies. Intel has often be "caught" down selling parts to protect their higher margin parts. (AKA they are selling parts with things disabled that work)

Re:Coming Soon: AWS Graviton2 Processor for AWS by LegitShady on Thursday December 05, 2019 @12:24AM (#21710188)
they weren't "Caught" - binning is a common practice in the cpu industrty. this isn't a problem
Re:Coming Soon: AWS Graviton2 Processor for AWS by StillBored on Thursday December 05, 2019 @12:34AM (#21710218)
I wasn't talking about binning, I was talking about when you have binned at a certain level, but the product is sold under its capability because you want to maintain the illusion of scarcity of the better parts.

AKA its a perfect part, but its being sold with a couple cores disabled or at a frequency below whats its capable of.

Re:Coming Soon: AWS Graviton2 Processor for AWS by LegitShady on Thursday December 05, 2019 @04:20AM (#21710989)
You won't even know if it's a perfect part. There is likely a microscopic defect on a part of the cpu they can turn off that disqualified it from being perfect or having a feature of the high end part.
Re:Coming Soon: AWS Graviton2 Processor for AWS by johncolanduoni on Thursday December 05, 2019 @01:53AM (#21710473)
That’s part of binning and is common across manufacturers. There used to be some nvidia chips where you could reprogram the firmware and have a decent chance at getting a quadro for a fraction of the cost.
Re:Coming Soon: AWS Graviton2 Processor for AWS by commandersaki on Thursday December 05, 2019 @06:33AM (#21711561)
Ah yes the anti-vexxer argument. A good overview on AVX-512 and the criticism can be found here: https://blog.cr.yp.to/20190430-vectorize.html
Re:Coming Soon: AWS Graviton2 Processor for AWS by monocasa on Wednesday December 04, 2019 @10:30PM (#21709728)
> AVX-512 debuted on Xeon because datacenter operators asked for it.

It deputed on workstation accelerator cards.

> It does not “downclock a whole chip”, it gates the core where it is active and there’s not even that penalty on the current generation parts.

It very much could thermally throttle more than the one core.

> “10nm” is marketing fluff which has little or nothing to do with actual semiconductor construction.

"10nm", even as a proper noun, is a very important component of Intel's woes right now. They aren't getting the yields they were expecting, a major competitor surpassed the for the first time ever (TSMC) and that's how AMD is killing them right now.

> “Chiplet” is also marketing-speak for “wow this memory topology is hard to program around “. Not sure they should feel too bad about missing that boat.

No, it's marketing-speak for "near EUV process nodes have terrible yields compared to previous nodes, and need smaller dies combined on a multi chip module to get anything worthwhile for an acceptable cost". Current EPYC chips are a single NUMA node again, but still chiplets. They are absolutely kicking themselves for not bucking the trend and going chiplet, because then they would have been competitive with TSMC for yield/area. Single chips is putting all your eggs in one basket, but splitting the dies means you throw away way less chips. (Another way out is FPGAs and GPUs that practically can bin off way more of the chip).

> And the bets they made didn’t pan out: FPGAs aren’t popular because the people sophisticated enough to use them are also smart enough to tape out ASICs.

FPGAs are very interesting in a post Moore's law world. Their ability to dynamically reconfigure makes them interesting in cases where ASICs don't make sense. High level logic can be treated like code from a continuous delivery perspective (like Alibaba does with their memcache like FPGAs sitting on RDMA fabric). Data can be encoded in combinatorial logic and treated like any other infrastructure deployments (like Azure does with their routing CAMesque logic in their SDN FPGAs). ASICs don't give you anywhere near that flexibility, even in a world where they're a commodity. Don't confuse their tooling immaturity for a lack of usefulness.

> IoT is not a thing.

It's very much a thing; once again just an extremely immature ecosystem. Once high end CPUs are commidities that can been shopped around from each of the fabs, IoT external customer designs will almost certainly be a very important revenue stream for Intel. A modern fab is nothing to sneeze at, basically only countries with $20B to spend will have one, so we'll be seeing one or two per continent. It won't make sense for anyone else in the US to compete. As for how that affects IoT, tiny nodes will be amazing for little smart dust chips once the capital investment of these end nodes has been paid off.

Re:Coming Soon: AWS Graviton2 Processor for AWS by pjc50 on Thursday December 05, 2019 @06:00AM (#21711417)
IoT is a thing .. that Intel failed to get into. They don't have anything that scales down that well. That market is dominated by ARM, implemented by all sorts of lower tier vendors like MediaTek.

FPGAs really need a tooling unlock to take off so they can be useful to people who haven't been on the ASIC design course.

> It won't make sense for anyone else in the US to compete

TSMC?

Re:Coming Soon: AWS Graviton2 Processor for AWS by monocasa on Thursday December 05, 2019 @10:50AM (#21713291)
TSMC isn't a US company.
Re:Coming Soon: AWS Graviton2 Processor for AWS by pjc50 on Thursday December 05, 2019 @12:06PM (#21714004)
Correct, but they do a lot of fab work for other companies. It's not absolutely necessary to have your own fab to be competitive unless your volumes are huge... at which point you can afford it.

Apple have $245bn on hand, so they could have a dozen $20bn fabs if they felt the need. Bezos has $180bn and no idea what to do with it.

https://www.cnbc.com/2019/01/29/apple-now-has-tk-cash-on-han...

Re:Coming Soon: AWS Graviton2 Processor for AWS by monocasa on Thursday December 05, 2019 @01:48PM (#21715038)
They could, but the answer to "what should I spend $20b on" for both pretty clearly isn't "a fab where at the end of the day you might get a fraction of a percent better costs on bare dies from the vertical integration versus just buying from TSMC or whoever"

Fabs are both a commodity, and take a high capital investment. Unless you have a geopolitical reason to create one and you get .gov kickbacks to make it happen, then there's way better uses of your money.

Re:Coming Soon: AWS Graviton2 Processor for AWS by ksec on Thursday December 05, 2019 @05:18AM (#21711239)
Thank God for this comment I couldn't upvote this enough, got into much more detail that I could have bothered to reply.

2nd Comment into the page and literally everything said in that were wrong.

Re:Coming Soon: AWS Graviton2 Processor for AWS by goosehonk on Thursday December 05, 2019 @12:56AM (#21710289)
Basically all that stuff you said about IoT has been said verbatim for decades and yet here we are. Remember the "SmartMote"? Neither does anyone else. By the way that was _also_ an Intel-funded project.
Re:Coming Soon: AWS Graviton2 Processor for AWS by jonstewart on Wednesday December 04, 2019 @08:16PM (#21709077)
Well, and for 25-30 years, everyone’s been crowing about how they were doomed to fail because of x86 as a CISC design. Intel killed off most RISC competitors as Moore’s Law held in the 90 and they could just add more transistors to turn x86 into a facade. But that increase in transistors and doing whatever possible to keep x86 performant meant they were doomed to lose the power/performance war that came with mobile processors. ARM held on just long enough in the low margin embedded world to then conquer mobile. Intel was able to win price/performance through superior fabrication and economies of scale, but power/performance really does require a superior design.

If Intel recovers, it may need to jettison x86, or offload x86 interpretation to a secondary unit for desktop processor with it gone from server procs.

This would make me happy because it’s been crushing to think I might go my entire career/lifetime with little endian processors being the mainstream. :-/

Re:Coming Soon: AWS Graviton2 Processor for AWS by atq2119 on Wednesday December 04, 2019 @08:38PM (#21709210)
Little endian has nothing to do with CISC vs RISC or x86 though. Everybody is little endian today.

x86 helped with that historically, certainly, but fundamentally endianness just doesn't matter most of the time, and when it does, little endian makes more sense from first principles.

Re:Coming Soon: AWS Graviton2 Processor for AWS by amluto on Wednesday December 04, 2019 @11:30PM (#21709996)
I think big endian is better: with little endian, treating a pointer to one size integer as a pointer to a different size integer has a decent chance of working, which allows bugs and sloppiness to fester. With big endian, screwing up your pointer type is very unlikely to work, which is IMO a good thing.
Re:Coming Soon: AWS Graviton2 Processor for AWS by Reelin on Thursday December 05, 2019 @04:58AM (#21711154)
> Everybody is little endian today.

ACKCHYUALLY, PowerPC (POWER9 included) supports both big and little endian. Software wise, last I checked the Linux kernel, Debian (PPC port), Gentoo, FreeBSD, and several other major projects supported both. I believe KVM also supports flipping VM endianness versus the hypervisor.

Acknowledged, of course, that the spirit of what you said is indeed correct - the majority of systems in active use are little endian.

Re:Coming Soon: AWS Graviton2 Processor for AWS by my123 on Thursday December 05, 2019 @10:06AM (#21712843)
ARM too.

https://developer.arm.com/tools-and-software/open-source-sof...

See: > AArch64 GNU/Linux big-endian target (aarch64_be-linux-gnu)

Re:Coming Soon: AWS Graviton2 Processor for AWS by ksec on Thursday December 05, 2019 @05:29AM (#21711283)
>and when it does, little endian makes more sense from first principles

Could you explain why little endian would make more sense? While I dont take side in this debate, I have always thought Big Endian would make more sense from First principles.

Re:Coming Soon: AWS Graviton2 Processor for AWS by atq2119 on Thursday December 05, 2019 @12:33PM (#21714267)
There are two main applications where I find little endian is more logical: big integer implementations, and bit stream encoding.

With big integers, the logic is simple: if you use little endian, you can operate on the same memory representation of the bigints quite easily with machine integers of different sizes.

A similar phenomenon happens with bit encoding. Let's say you want to encode a sequence of 25-bit integers tightly packed in memory. How do you do that? With little endian, you get a somewhat more natural representation especially for seeking into the bitstream (especially for architectures that allow unaligned memory accesses).

Re:Coming Soon: AWS Graviton2 Processor for AWS by BeeOnRope on Friday December 06, 2019 @01:38PM (#21724715)
> With big integers, the logic is simple: if you use little endian, you can operate on the same memory representation of the bigints quite easily with machine integers of different sizes.

That's true with big endian too, but you just have to store your integers in the opposite way as you would on little endian: with the MSB at the lowest address (which of course is the same as the distinction between little and big endian in the first place).

Basically the bigint layout has to be compatible with the the endianess.

I don't know what bignum implementations do in practice on big endian systems though.

Re:Coming Soon: AWS Graviton2 Processor for AWS by api on Wednesday December 04, 2019 @08:57PM (#21709296)
If anyone wants to see why little endian is better try implementing a sigint. Big endian makes everything backwards in terms of iteration order.
Re:Coming Soon: AWS Graviton2 Processor for AWS by takeda on Wednesday December 04, 2019 @09:08PM (#21709343)
You are presenting argument in favor of little endian, yet you're provide enough information that is only useful for someone who already knows the answer.
Re:Coming Soon: AWS Graviton2 Processor for AWS by tedunangst on Wednesday December 04, 2019 @10:05PM (#21709627)
The answer is also only useful to those who know it? I mean, nerds love to shout about the superiority of this or that, but they're mostly just parroting their tribe motto. If you have reason to really care about endian order, I would encourage you to do more research than you'll find in an HN comment. Perhaps there's even more than one right answer depending on circumstance.
Re:Coming Soon: AWS Graviton2 Processor for AWS by takeda on Thursday December 05, 2019 @12:12PM (#21714049)
I don't have too much knowledge in that area, but my understanding is as follows: for a software engineer big endian simpler to use, for hardware engineer little endian is simpler to implement.

I think it's similar to scientific calculator vs RPN calculator.

Re:Coming Soon: AWS Graviton2 Processor for AWS by atq2119 on Thursday December 05, 2019 @01:28PM (#21714807)
I don't think big vs little endian makes a difference in terms of hardware implementation. It's just a simple swap of wires.
Re:Coming Soon: AWS Graviton2 Processor for AWS by takeda on Thursday December 05, 2019 @01:58PM (#21715166)
it's more optimal when you're doing pipelining, for example adding two numbers to do the operation you start from the lowest byte and add them together and move up. With little endian bytes are already positioned in the order you want.

x86 architecture also was big on backward compatibility. You have registers that can be accessed as 8bit, 16bit, 32bit (and I believe 64bit) adding the extra bytes after similarly makes it easier, because the little significant bits are always in the same place.

Again, I don't have extensive understanding of hardware side, so I might be wrong.

Re:Coming Soon: AWS Graviton2 Processor for AWS by jonstewart on Thursday December 05, 2019 @12:14AM (#21710158)
I know endianness is separate from CISC vs RISC, and mostly a pointless and useless debate.
Re:Coming Soon: AWS Graviton2 Processor for AWS by xxpor on Wednesday December 04, 2019 @10:39PM (#21709777)
Except MIPS and the network.
Re:Coming Soon: AWS Graviton2 Processor for AWS by wmf on Wednesday December 04, 2019 @11:39PM (#21710036)
MIPS processors have mostly been replaced by ARM already.
Re:Coming Soon: AWS Graviton2 Processor for AWS by saagarjha on Thursday December 05, 2019 @02:14AM (#21710544)
Not in routers.
Re:Coming Soon: AWS Graviton2 Processor for AWS by dirkf on Thursday December 05, 2019 @04:34AM (#21711056)
I work in that area. All consumer-grade router/gateway SoCs from Broadcom have been exclusively ARM for several years now. They were MIPS before.
Re:Coming Soon: AWS Graviton2 Processor for AWS by gonzo on Thursday December 05, 2019 @12:11PM (#21714045)
Caviun also went ARM, and is now owned by Marvell.
Re:Coming Soon: AWS Graviton2 Processor for AWS by goosehonk on Wednesday December 04, 2019 @09:25PM (#21709428)
ARM has never enjoyed a Op/J advantage over x86. They have low-power designs, yes, but they don’t do more work for a given amount of energy.

x86 won fair and square. The risc people failed to foresee that instruction density would be extremely important to performance. Intel didn’t beat them with physics. CISC is just fundamentally better.

Re:Coming Soon: AWS Graviton2 Processor for AWS by StillBored on Wednesday December 04, 2019 @11:09PM (#21709909)
<i>ARM has never enjoyed a Op/J advantage over x86.</i>

I'm not sure that exactly accurate, its more accurate to say, that there was a lack of market crossover that allowed similar power or perf envelopes.

That is because ARM did/does make much more efficient CPU's, they just aren't anywhere close to the perf of common x86 cores. AKA a low clocked in order ARM with small caches, etc is more efficient per op but it can't touch even a medium size x86. Intel sort of was in that market for a bit and their cores were efficient too, but the main selling point for an architecture is the software around it, and a 50 mhz in-order x86 can't exactly run modern windows in a reasonable way.

Now that ARM & friends are building higher perf parts, the power efficiency keeps getting worse. When someone makes a 5Ghz ARM core it will likely consume more than a couple mW.

The perf/power ratios have more to do with culture and market than ISA.

Re:Coming Soon: AWS Graviton2 Processor for AWS by amluto on Wednesday December 04, 2019 @11:26PM (#21709973)
I suspect that, at least for lower-power or lower-area designs, a compact ISA with a friendlier encoding than x86 would be a win. A significant problem with x86 is that a high-performance core needs to decode multiple instructions per cycle, but x86 has a nasty problem that the length of an instruction can’t be determined until it’s fully decoded. I think that modern front-ends try all possible offsets at once and throw out the wrong guesses. This costs area and power.

A design where all instructions have one of just a few sizes and where the first byte unambiguously encodes the length would be nicer.

RISV-V is decent in this respect.

FWIW, x86’s legacy is a security problem, too. The ISA is so overcomplicated that nasty interactions cause all manner of security bugs. As a recent example, the sequence mov (ptr), %ss; syscall with a data breakpoint at ptr could be used to root most kernels. With virtualization, this type of thing is much worse. A hypervisor needs to handle all the nasty corner cases in a guest user program without crashing itself or the guest kernel, and it needs to handle all the nasty corner cases in guest kernels without dying. There are various ways that native kernels can literally put the microcode in an infinite loop, and hypervisors need complex mitigations because an infinite-looping microcode bug triggered by a guest can’t be preempted by the host, and it will take down the system.

So yes, x86 is not fantastic.

Re:Coming Soon: AWS Graviton2 Processor for AWS by namibj on Thursday December 05, 2019 @05:44AM (#21711342)
Can you provide a link to the infinite-loop microcode issue?
Re:Coming Soon: AWS Graviton2 Processor for AWS by my123 on Thursday December 05, 2019 @10:10AM (#21712881)
Re:Coming Soon: AWS Graviton2 Processor for AWS by etaioinshrdlu on Wednesday December 04, 2019 @09:56PM (#21709594)
I had assumed the opposite, that ARM was better in terms of Op/J. Can you provide a reference to make it certain?

Also, I wonder if the low density of RISC could be countered by introducing execution of compressed/zipped machine code. Some compressors like brotli are highly tuned to the expected type of data to be compressed and are very compact. All entry points to basic blocks in the code are generally known at compile time, so it can be ensured that the jump destinations are decompressible without any context, avoiding the slow process of needing to scan backwards to start decompressing...

Re:Coming Soon: AWS Graviton2 Processor for AWS by kevin_thibedeau on Wednesday December 04, 2019 @10:41PM (#21709787)
Arm Thumb is a compressed ISA. Intel has been decompressing x86 instructions into an internal RISC machine since the Pentium Pro. The benefit is getting more instructions through the chokepoint from DRAM to L1 cache.
Re:Coming Soon: AWS Graviton2 Processor for AWS by tigershark on Thursday December 05, 2019 @03:10AM (#21710713)
The Apple arm chips are way more efficient than any x86. They have comparable performance with a much, much lower power requirement.
Re:Coming Soon: AWS Graviton2 Processor for AWS by spamizbad on Wednesday December 04, 2019 @09:33PM (#21709472)
The writing was on the wall in the early 90s. The SuperH ISA basically gave you the best of both world's: Fixed-width, relatively easy to decode instructions that were 16-bit, rather than 32 bits of many RISC ISAs.
Re:Coming Soon: AWS Graviton2 Processor for AWS by dogma1138 on Wednesday December 04, 2019 @09:17PM (#21709379)
All modern x86 CPUs are essentially “RISC” CPUs that translate x86 instructions into uOPS so they already do what you want to do.

I’m not seeing why the higher level x86 instruction set needs to be jettisoned or killed off...

Re:Coming Soon: AWS Graviton2 Processor for AWS by pjscott on Wednesday December 04, 2019 @09:59PM (#21709606)
And ARM processors these days tend to do the same, translating from the Thumb-2 variable-width instruction encoding into whatever each processor uses internally.
Re:Coming Soon: AWS Graviton2 Processor for AWS by floatboth on Thursday December 05, 2019 @04:46AM (#21711098)
Thumb-2 is for microcontrollers (and not all of them even). Anything unix-capable (Cortex-A series and custom cores) reads fixed width AArch64 instructions.
Re:Coming Soon: AWS Graviton2 Processor for AWS by pepemon on Wednesday December 04, 2019 @09:29PM (#21709456)
> All modern x86 CPUs are essentially “RISC” CPUs

Where can I read more about that?

Re:Coming Soon: AWS Graviton2 Processor for AWS by grantisu on Wednesday December 04, 2019 @09:40PM (#21709520)
If you can work around the formatting issues, there's some classic articles on Ars Technica, e.g. http://archive.arstechnica.com/cpu/4q99/risc-cisc/rvc-1.html
Re:Coming Soon: AWS Graviton2 Processor for AWS by scarface74 on Wednesday December 04, 2019 @10:04PM (#21709625)
Intel “won” because they had the money to invest in processors from owning the PC market. Now, Apple ships more ARM devices by itself than all personal computer sells combined (not counting the servers - it’s hard to find numbers on servers). Apple by itself can afford to pour money into ARM designs.

Now we see that Amazon makes enough money and has enough volume to invest in server processors.

Re:Coming Soon: AWS Graviton2 Processor for AWS by dman on Wednesday December 04, 2019 @08:24PM (#21709133)
This space will be interesting to watch! We live in extremely interesting times hardware wise.
Re:Coming Soon: AWS Graviton2 Processor for AWS by Abishek_Muthian on Wednesday December 04, 2019 @09:55PM (#21709592)
>ARM eating their lunch in mobile.

Not just mobile. Obviously, that's the content of the OP. But, ARM based servers have been available for quite a while for dirt cheap prices[1] and they are great for workloads where ARM libs are available.

Edge ML inference[2].

[1]https://www.scaleway.com/en/virtual-instances/arm-instances/

[2]https://developer.nvidia.com/embedded/jetson-nano-developer-...

Re:Coming Soon: AWS Graviton2 Processor for AWS by daxfohl on Wednesday December 04, 2019 @06:58PM (#21708486)
Also, end of Moore's law, slowing down the upgrade cycle and making CPU more of a commodity business.

I'll add a caveat to (d) because distributed can also mean distributed across cores, and whoever handles that the best gets a strong differentiator.

Re:Coming Soon: AWS Graviton2 Processor for AWS by dman on Wednesday December 04, 2019 @07:22PM (#21708684)
That is a good point.
Re:Coming Soon: AWS Graviton2 Processor for AWS by jiggawatts on Wednesday December 04, 2019 @08:52PM (#21709269)
> With a move to more distributed programming models the network is often in the critical path now, making cpu performance less relevant for many workloads

Oddly, Intel ought to have an edge here, because they have been selling chips with embedded 100 Gbps Ethernet controllers on-die.

However, I've never seen such a beast in data centre, I suspect they've "reserved" this feature for HPC workloads only.

Re:Coming Soon: AWS Graviton2 Processor for AWS by wmf on Wednesday December 04, 2019 @08:57PM (#21709294)
That was 100G Omni-Path (not Ethernet compatible) which has been subsequently canceled, I guess due to lack of demand. Intel's 100G Ethernet NICs were years behind other vendors due to the 10 nm fiasco.
Re:Coming Soon: AWS Graviton2 Processor for AWS by shaklee3 on Thursday December 05, 2019 @12:53AM (#21710277)
Intel had always said they were behind because they wanted to be. In other words, they didn't think 100G was on the rise. I tend to believe them since nic asics are much easier to make than an x86 processor.
Re:Coming Soon: AWS Graviton2 Processor for AWS by late2part on Thursday December 05, 2019 @07:47AM (#21711853)
It's a good tenant of personal responsibility to say that one's owns actions are the result of one's own choices.

So by that logic, I suppose they wanted to be? :-)

Re:Coming Soon: AWS Graviton2 Processor for AWS by amluto on Wednesday December 04, 2019 @11:06PM (#21709894)
Also, Intel is bizarrely behind on PCIe. Historically, a data center machine with big expensive GPUs or other accelerators also had a couple of expensive Xeons in it. Right now, AMD has a much better offering even ignoring cost. I’m sure someone outside x86 (Amazon? ARM itself? POWER?) will jump in, too.
Re:Coming Soon: AWS Graviton2 Processor for AWS by StillBored on Thursday December 05, 2019 @12:46AM (#21710260)
POWER has had PCIe gen4 for a couple years now too.
Re:Coming Soon: AWS Graviton2 Processor for AWS by shaklee3 on Thursday December 05, 2019 @12:55AM (#21710284)
I think they were intentionally behind. None of their products used/supported pcie4, so it was to their advantage to limit their competitors.
Re:Coming Soon: AWS Graviton2 Processor for AWS by ksec on Thursday December 05, 2019 @05:33AM (#21711303)
I would bet they were not, PCI-E 4.0 has always been on their Roadmap for 10nm+. The whole 10nm fiasco shifted all of their product roadmap from Modem, Chipset, Controller, to Custom Foundry off the wrong path.
Re:Coming Soon: AWS Graviton2 Processor for AWS by mister_hn on Thursday December 05, 2019 @02:13AM (#21710540)
About point i, using different languages than native is really weird and in the age of green computing really not efficient at all.

UIs based on JavaScript, Python or even Java are heavier and less efficient than what a platform can do with native compiled code.

There are now also loads of possibilities to build native code, squeezing the best performance, especially for critical systems.

I still don't understand why there's now a hype in using JavaScript or Python in microcontrollers as well

Re:Coming Soon: AWS Graviton2 Processor for AWS by pjc50 on Thursday December 05, 2019 @07:00AM (#21711670)
Speed of development currently trumps everything else. Developers are expensive, electricity is cheap, and software changes at a high rate. If we could reduce the "churn" perhaps people could transition to optimised versions, but optimisation makes rapid change harder.
Re:Coming Soon: AWS Graviton2 Processor for AWS by mister_hn on Friday December 06, 2019 @04:46AM (#21720381)
as PoC sure, but as productive system, I would always rely on the best performance out there
Re:Coming Soon: AWS Graviton2 Processor for AWS by saagarjha on Thursday December 05, 2019 @02:22AM (#21710565)
Not every system is critical, and not every application needs native compiled code.
Re:Coming Soon: AWS Graviton2 Processor for AWS by jl6 on Thursday December 05, 2019 @01:53AM (#21710475)
> i. GUIs moving to browsers and a lot of compute moving to runtime based languages like Python/JS means that any new ISA features are initially hard to utilize in killer apps on the client side. So if Intel ships a killer new set of instructions there is a significant lag between it doing something useful for the user.

I’d argue that the deployment of new native code has never been easier, because it will be the browsers that first make use of new instructions, and they have large sophisticated dev teams who push out frequent releases with minimal user effort to adopt.

Re:Coming Soon: AWS Graviton2 Processor for AWS by m463 on Wednesday December 04, 2019 @11:51PM (#21710079)
For desktop computing, Intel (or possibly "h. AMD") is still the best solution (imho)