News for hackers. Stuff that matters.
Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by tedunangst on Wednesday November 29, 2023 @06:08PM (#38466630)
> Furthermore, these R8g instances provide up to three times more vCPUs and memory than Graviton 3-based R7g instances.

So, uh, 75% more bandwidth but 200% more cores is a net reduction in available bandwidth per core. If you rented 32 cores of a server before, you got a certain amount of bandwidth. If you now rent the same 32 cores, you'll have about half the realized bandwidth?

Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by krasin on Wednesday November 29, 2023 @06:46PM (#38467081)
Memory bandwidth is becoming the ultimate spec. In related news, Apple reduced memory bandwidth in their M3 chips by 25% compared to M1/M2: https://www.macrumors.com/2023/10/31/apple-m3-pro-less-memor...
Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by Aurornis on Wednesday November 29, 2023 @08:27PM (#38468000)
> Memory bandwidth is becoming the ultimate spec.

Only in applications that are constrained by memory bandwidth. Many applications are not constrained by the memory bandwidth on modern architectures with significant cache.

If you have an application constrained by memory bandwidth, carefully selecting the server would make sense.

> In related news, Apple reduced memory bandwidth in their M3 chips by 25% compared to M1/M2:

Not exactly. M3 Max has the same 400GB/sec memory bandwidth as the top end M1 and M2 chips. It’s only certain lower tiers that have less memory bandwidth than their equivalent tiers in previous gens.

But it probably doesn’t matter for most applications.

Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by admax88qqq on Wednesday November 29, 2023 @09:53PM (#38468865)
> Only in applications that are constrained by memory bandwidth.

Sure but I think OPs point is that memory bandwidth is the bottleneck in more applications that you think.

Cache only helps if you're accessing the same data over and over.

My gut instinct is the amount of applications that do a lot of processing but only on a small amount of data are in the minority. The opposite seems a lot more common.

Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by eightnoteight on Thursday November 30, 2023 @12:27AM (#38470007)
exactly, a typical REST server spends a lot of compute time in json encoding and decoding. which could be sped up significantly if there is better memory bandwidth
Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by glhaynes on Thursday November 30, 2023 @01:01AM (#38470204)
My first guess would've been that JSON encode/decode wouldn't be memory bandwith-bound because it involves so many operations on single bytes at a time, most of which would be in the cache after the page has been brought in initially. Of course maybe much of that is done with SIMD these days?

Anyway, I have near-zero experience in this area so I'm mostly just posting this hoping for someone to explain why I'm wrong.

Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by densh on Thursday November 30, 2023 @03:01AM (#38470927)
Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by gpderetta on Thursday November 30, 2023 @04:29AM (#38471490)
I don't see how the link clarifies things. simdjson is fast enough that JSON decoding can approach single-core bandwidth capacity, but it doesn't follow that a JSON-heavy load is bandwitdh constrained. In fact the existence of simdjson points to json decoding being compute bound.
Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by densh on Thursday November 30, 2023 @03:31PM (#38478658)
It’s a bit more nuanced than that. Scalar code that does lots of branching and loads one value at a time (e.g. single character) often can’t hit memory at peak bandwidth rate. On the other hand well vectorized code that loads vectors of multiple values at a time can properly saturate the available hardware resources.
Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by glhaynes on Sunday December 03, 2023 @07:09PM (#38512152)
The earlier post was referring to "a typical REST server" in a context of the claim that memory bandwidth "is becoming the ultimate spec".

simdjson (impressive as it may be) existing as an interesting project seems likely to imply that most JSON parsing isn't done with such performant methods on "the typical REST server".

EDIT: Seeing that it's used in many projects including Node.js shifts me back to thinking more highly of the claim that memory bandwidth is becoming the ultimate spec!

Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by jltsiren on Wednesday November 29, 2023 @11:23PM (#38469618)
I would assume that applications that process data faster than a few gigabytes per CPU-second are rare. It's more common that things are constrained by computation or memory latency.
Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by Xorlev on Thursday November 30, 2023 @12:19AM (#38469967)
You'd think so, but for datacenter workloads it's absolutely common, especially if you're just scheduling a bunch of containers together. Computation also doesn't happen in a vacuum, unless you're doing some fairly trivial processing you're likely loading quite a bit of memory, perhaps many multiples of what your business logic is actually doing.

It's also not as easy as GB/s/core, since cores aren't entirely uniform, and data access may be across core complexes.

Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by jltsiren on Thursday November 30, 2023 @12:39AM (#38470076)
I'm not sure what you mean by datacenter workloads.

The work I do could be called data science and data engineering. Outside some fairly trivial (or highly optimized) sequential processing, the CPU just isn't fast enough to saturate memory bandwidth. For anything more complex, the data you want to load is either in cache (and bandwidth doesn't matter) or it isn't (and you probably care more about latency).

Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by terlisimo on Thursday November 30, 2023 @01:06AM (#38470232)
I had these two dual-18-core xeon web servers with seemingly identical hardware and software setup but one was doing 1100 req/s and the other 500-600.

After some digging, I've realized that one had 8x8GB ram modules and the slower one had 2x32GB.

I did some benchmarking then and found that it really depends on the workload. The www app was 50% slower. Memcache 400% slower. Blender 5% slower. File compression 20%. Most single-threaded tasks no difference.

The takeaway was that workloads want some bandwidth per core, and shoving more cores into servers doesn't increase performance once you hit memory bandwidth limits.

Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by mirsadm on Thursday November 30, 2023 @02:23AM (#38470687)
This seems very unlikely. The CPU is almost always bottlenecked by memory.
Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by jltsiren on Thursday November 30, 2023 @03:55AM (#38471291)
It's usually bottlenecked by memory latency, not bandwidth. People talk about bandwidth, because it's a simple number that keeps growing over time. Latency stays at ~100 ns, because DRAM is not getting any faster. Bandwidth can become a real constraint if your single-threaded code is processing more than a couple of gigabytes per second. But it usually takes a lot of micro-optimization to do anything meaningful at such speeds.
Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by TerrifiedMouse on Thursday November 30, 2023 @02:12AM (#38470624)
> My gut instinct is the amount of applications that do a lot of processing but only on a small amount of data are in the minority. The opposite seems a lot more common.

I doubt that. The easily way to find out is to disable the L3 cache on your CPU. If your theory is right, the performance drop should be minimal on most applications.

Note: Even with the L3 cache disabled there is still the L1 and L2 caches but those are pretty small.

Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by vilunov on Thursday November 30, 2023 @10:03AM (#38474332)
I suspect that L3 impacts performance a lot. I dabbled in running a Windows VM with a GPU passthrough, and I had to spend a lot of time to properly pin virtual cores to physical ones so that CPU caches are utilized properly, as I suspected that it was the reason for decreased performance. I managed to get only L1 and L2 to be utilized properly and it somewhat helped, but L3 was still underutilized due to double-scheduling in both Win VM and Linux hypervisor. Even the basic OS shell suffered from lags, not to mention games.
Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by fswd on Wednesday November 29, 2023 @07:17PM (#38467408)
I'm so glad we're seeing memory specs next to the core count, awesome.
Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by ChuckMcM on Wednesday November 29, 2023 @11:28PM (#38469644)
Narrators voice: It was always the ultimate spec, it is now becoming more obvious to more people.

One of the interesting things for me is how memory "operations" (which is to say transactions of the memory controller) can completely obliterate "bandwidth."

In the past (not sure how true this is on current microarchitectures) the controller between cache and DRAM worked by opening a "page" of dynamic memory. That was an artifact of how DRAMs use both a column address select and a row address select and then multiplex the address bits. So to "read" memory you needed to select the column, then select the row, and then read the memory. The good news was that if you needed the next word of memory in order, you could just read again. And again. Periodically if you were reading the chip would have to ask you to wait while it refreshed its contents.

Anyway, this memory operation of opening a new page was a lot slower than reading the next word in memory. So if you're requests were bouncing all around memory your effective bandwidth was limited by how fast your memory controller could open new pages. That could be one tenth the nominal serial access bandwidth. Controllers had multiple "page" registers so they could hold the state of two (or more) different DIMMS and try to interleave their access across DIMMs to hide the latency aspect of page mechanics.

Generally though, when you get to the point where your measuring memops and trying to layout your physical memory to minimize them you're in a different realm of system optimization.

Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by jjtheblunt on Wednesday November 29, 2023 @11:51PM (#38469804)
I think Seymour Cray significantly prioritized this in his designs.
Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by charleshn on Thursday November 30, 2023 @01:17AM (#38470298)
It's a shame more people aren't familiar with arithmetic intensity and the roofline model [1], which give a simple mental model for performance profiles on both CPU and GPU.

I always find this graph [2] covering decades of hardware evolution fascinating.

[1] https://en.m.wikipedia.org/wiki/Roofline_model

[2] http://www.nextplatform.com/wp-content/uploads/2022/12/donga...

Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by fulafel on Thursday November 30, 2023 @01:20AM (#38470318)
"Becoming the ultimate spec" is one perspective, another is "the drive toward increasingly bandwidth-starved cores starts to hit limits in some applications". Bandwidth per core has been decreasing due to increasing core counts and slowly improving per socket mem BW, and cores have gotten faster at compute.

Anyone know some example bytes per flop machine balance numbers for current and eg 20 year old systems? For older ones one source is https://www.cs.virginia.edu/stream/peecee/Balance.html - the "machine balance" for 2003 boxes seems to be between 10 and 17 there. Sadly the "MW/s" unit for machine words is not self-explanatory, what is the word size used.

Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by GeekyBear on Thursday November 30, 2023 @02:04AM (#38470569)
Given that the "reduced" bandwidth is still more than double that of an Intel or AMD HEDT chip, you're still doing much better than you would with x86.

Intel and AMD both tend to choke bandwidth (memory and PCI lanes) on anything below their server chips.

Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by seuraughty on Thursday November 30, 2023 @05:15AM (#38471795)
The high memory bandwidth is impressive, but you’d actually have to contrive some set of artificial circumstances to saturate it. In almost all use cases the user won’t tell the difference.

https://www.anandtech.com/print/17024/apple-m1-max-performan...

Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by phkahler on Wednesday November 29, 2023 @07:12PM (#38467362)
>> So, uh, 75% more bandwidth but 200% more cores is a net reduction in available bandwidth per core.

My guess is that most cloud customers use fairly little compute and low average bandwidth. But everyone wants "dedicated" cores so this makes a ton of sense and Amazon is raking in billions due to stupidity. Remember the recent story how a couple clicks cut the company cloud bill by a shit-ton. That's probably the norm.

Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by pants2 on Wednesday November 29, 2023 @08:28PM (#38468005)
Ever since the Spectre/Meltdown attacks came out, it became a big liability not to do dedicated cores.
Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by jacquesm on Wednesday November 29, 2023 @08:55PM (#38468288)
And with the crappy scheduling your typical OS provides and containerization as the virtualization mechanism of choice it makes good sense to assign one or more cores to a container.
Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by ithkuil on Thursday November 30, 2023 @02:33AM (#38470751)
I wonder if there is a timing attack that can be subjected to if you don't also have dedicated bandwidth to main memory
Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by athrun on Wednesday November 29, 2023 @06:52PM (#38467154)
apparently the 75% improvement is per core: https://news.ycombinator.com/item?id=38451909
Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by tedunangst on Wednesday November 29, 2023 @07:04PM (#38467287)
Well, somebody is lying. Amazon previously claimed graviton3 had 300GB/sec memory bandwidth.

https://www.mgt-commerce.com/blog/aws-announces-general-avai...

300 x 1.75 = 525, ~536. Per chip.

If the new chip has more cores, then where is the extra bandwidth hiding?

Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by phonon on Wednesday November 29, 2023 @11:04PM (#38469475)
50% more cores per chip. 75% more bandwidth per chip. So more bandwidth per core.
Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by scq on Wednesday November 29, 2023 @07:34PM (#38467584)
That comment reads more like they're talking about compute performance, not memory bandwidth.
Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by jacoblambda on Wednesday November 29, 2023 @06:53PM (#38467163)
~~Probably however Graviton3 instances will not be going away any time soon (Grav2 instances are still around). They'll likely fill a different niche where the Grav4 instances are going to be better for larger workloads that can make use of the whole CPU whole Grav3 instances will be available for people with smaller workloads.~~

Edit: Nevermind. A reply confirms the memory uplift is per core.

Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by diffeomorphism on Thursday November 30, 2023 @01:44AM (#38470460)
> 200% more cores

The article says R7g is 64 cores for a full CPU and R8g is 96. Where are you getting the 200% from?

Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by ksec on Thursday November 30, 2023 @08:39AM (#38473355)
The key here is 3x more vCPU. I wasn't even aware ARM had SMT design, so it is highly likely to be the first dual socket / CPU design for ARM.

That is 192 CPU per instances. I assume AWS will continue to work with AMD and provide 256 vCPU. Would love to see them being compared. ( ARM with Physical CPU core and AMD are SMT thread. )

Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by notjoemama on Wednesday November 29, 2023 @08:02PM (#38467811)
Just curious if anyone else had the thought, “Amazon is in the chip business?” and then subsequently wondered if the regulatory agencies should step in and force Amazon to start spinning their sub-entities off into independent companies. I mean, I’ve thought that about Walmart for years. Kinda weird…Amazon making chips.
Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by TaylorAlexander on Wednesday November 29, 2023 @08:10PM (#38467861)
I am sympathetic to this thinking but also Google and Apple make chips too, it would be perhaps hard to make a claim for why Amazon should be split without splitting Google and Apple too, but I think Apple in particular has such a good case for making their own chips that Amazon could prob use this as a defense of their own efforts. This is perhaps more a symptom of the lower cost of entry for chip fab today than we have had in the past.
Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by anigbrowl on Wednesday November 29, 2023 @10:10PM (#38469011)
I would like to see both Google and Amazon broken up. Apple I'm not sure about, they are huge and have a lot of verticals, but when you get down it they sell personal computing devices above all else and so have a stronger defense for arguing that their custom hardware is the core product. They do have a walled garden, which is a Bad Thing, but OTOH you can use their gear perfectly well without ever creating an Apple ID, and likewise you can use the whole internet perfectly well without ever purchasing an Apple device. In contrast, I have difficulty wrapping my head around the sheer scope of Google's and Amazon's enterprises, they're like entire tribes of 800lb gorillas.
Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by andromeduck on Thursday November 30, 2023 @04:07AM (#38471361)
Google has been building their own hardware since they started - first racks & servers then networks/data center then boarfs, semi custom cokponents and then components.

Mandating that SW/Services companies be forbidden from silicon is every bit as absurd as prevention hardware manufacturers from toching software. The playing field for software is incredibly level these days - everyone uses the same IP vendors, design services & contract fabs.

If you want smaller companies, reform it'll be much easier to get rid of tax pyramiding that favours mega corps.

Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by anigbrowl on Friday December 01, 2023 @09:37PM (#38495346)
Mandating that SW/Services companies be forbidden from silicon

I'm not arguing that at all. Just that they shouldn't cross so many markets at once.

Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by giantrobot on Wednesday November 29, 2023 @08:35PM (#38468081)
Why in the world would Amazon need to spin out their chip design group? They are building things they use to run their business. There's plenty of potential anti-trust issues with Amazon. Having their own chip designs to use in their data centers is nowhere on that list.
Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by rescbr on Wednesday November 29, 2023 @08:48PM (#38468201)
They should spin-off the whole of AWS, not specifically the chip group.
Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by johnvanommen on Thursday November 30, 2023 @12:25AM (#38469997)
The only reason Amazon is profitable is because of AWS.
Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by pinkgolem on Thursday November 30, 2023 @01:07AM (#38470239)
Is that not exactly the problem where amazon takes profits from AWS & uses them to agressivly drive other retailers out of the online shopping business?
Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by throwaway2990 on Thursday November 30, 2023 @01:59AM (#38470545)
No.
Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by candiddevmike on Wednesday November 29, 2023 @08:58PM (#38468333)
They acquired a company that does this, Annapurna Labs
Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by reissbaker on Wednesday November 29, 2023 @10:48PM (#38469342)
I don't think vertical integration should be made illegal, and "Amazon Web Services offer exclusive Amazon-designed chips" doesn't to me seem like an abuse of monopoly power any more than "Apple iPhones use exclusive Apple-designed chips" does. What is the abuse of power that forcibly splitting apart the company would solve?
Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by wmf on Wednesday November 29, 2023 @11:05PM (#38469478)
I'd be worried if they had some wonder-chip with no competition that they rented out at exploitative prices but that's not really the situation.
Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by reissbaker on Saturday December 02, 2023 @04:22PM (#38502164)
Yeah, there's plenty of competition in the chip market — Apple, Intel, AMD, Samsung, and Qualcomm all are in the CPU business, and Amazon entering it as well seems like increased competition and a win for customers. And AWS is facing heavy competition from Azure now that MS has the exclusive OpenAI deal, so I'm not too worried about consolidation there either.
Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by bob1029 on Thursday November 30, 2023 @04:29AM (#38471491)
Vertical integration can take us to dark places, but it can also provide incredible product experiences.

I think with Apple, Amazon, Microsoft and Google, you have a good competitive landscape to work with right now. All of these players already making their own chips. ~4 solid verticals that are somewhat compatible and highly competitive with each other in large, mostly-overlapping regions.

Honestly, things feel pretty OK to me when you factor it all in. If it was just Microsoft or Apple doing the vertical chip thing and they were going absolutely hockey stick over it, then perhaps. But there are several competent players doing this now.

Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by notjoemama on Thursday November 30, 2023 @11:42AM (#38475642)
Thanks for the perspective. I guess where I’m coming from is Google was a web search company. They’ve expanded into mobile and that also means their own mobile OS. They also got into browsers. Similar could be said about Apple. To me it’s less about vertical integration and more about expansion. Walmart used to be grocery. Then they added retail. Neat experience at the time as a consumer, but it killed local retail and has gut punched other national retail. Since then they’ve added auto service and pharmacy. At what point does someone come in and say, ok giant corporation, you’ve proven you’re so large you can enter into most if not all markets and decimate your competitors but it’s not a long term net benefit because we’re consolidating everything under too few umbrellas. Maybe I’m wrong to think that and I do recognize the benefits of scale. I’m just not convinced a civilization is thinking long term enough when I keep seeing small businesses go under and medium businesses get acquired (aka: bought up). It seems like this is a meaningful part contributing to the disparity in wealth.
Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by rmccue on Wednesday November 29, 2023 @08:04PM (#38467824)
Very annoyingly, a lot of the Graviton processors are only available on larger sizes (minimum of a .medium, but often much larger), and they’re still not filtering down to the smaller sizes. Hopefully AWS will finally start making them available some time soon.
Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by cherioo on Wednesday November 29, 2023 @11:46PM (#38469773)
T4g might be what you are looking for
Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by ericpauley on Thursday November 30, 2023 @08:00AM (#38472932)
Yup. M7g.medium is one vCPU so by definition to go smaller you can’t get a dedicated core anymore.
Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by ChrisArchitect on Wednesday November 29, 2023 @05:22PM (#38466109)
Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by jrflowers on Wednesday November 29, 2023 @06:41PM (#38467022)
I want a desktop with Graviton4/Trainum2 chips
Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by deadmutex on Wednesday November 29, 2023 @07:48PM (#38467689)
Just grab a beefy x86 CPU (e.g. one based on AMD zen4) and put it in SMT=1, and you'll probably have a much better experience. A lot of windows/Linux software is already optimized for x86, and you'll get good performance uplift per logical thread from SMT=1.
Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by stingraycharles on Wednesday November 29, 2023 @08:04PM (#38467822)
Is this true? You mean this implies single threaded applications will perform better?
Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by zamadatix on Wednesday November 29, 2023 @08:22PM (#38467950)
If you're referring to the SMT=1 part it means not more than 1 hardware threads will be assigned to a hardware core at a time, not that the processes are single thread.

If you're referring to the general performance of single thread apps between the two yes.

Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by wmf on Wednesday November 29, 2023 @07:17PM (#38467413)
You'll have to settle for Grace Hopper.
Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by pmw on Wednesday November 29, 2023 @09:34PM (#38468678)
Me too. The closest we can get in consumer hardware is the Ampere Altra Dev Kit: https://www.ipi.wiki/products/com-hpc-ampere-altra

It’s a Neoverse N1 architecture, whereas the new Gravitron is Neoverse N2.

It is an E-ATX form factor, and I can’t tell whether the price makes it a good value for someone who simply wants a powerful desktop rather than ARM-specific testing and validation.

Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by nixgeek on Wednesday November 29, 2023 @10:02PM (#38468941)
Slight correction here, Graviton 4 is actually based on Neoverse V2.
Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by thrtythreeforty on Wednesday November 29, 2023 @10:20PM (#38469111)
I work on Trainium (SoC design and firmware), the main thing you would lack is the Nitro management plane. The instance is not responsible for managing the Trainium chip at all. Additionally, the platform is most desirable when it's connected via side links to other Trainium chips (the 32xlarge instance type). Even more out of band management.

Of course this could all be redesigned to be a desktop PCIe card, but the design assumption that it lives in AWS is literally baked into the silicon.

Never mind the power and cooling requirements. You probably wouldn't appreciate it being next to you while you work.

Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by jrflowers on Thursday November 30, 2023 @12:43AM (#38470107)
> Never mind the power and cooling requirements. You probably wouldn't appreciate it being next to you while you work.

I would use it to make jerky

Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by buildbot on Thursday November 30, 2023 @02:06AM (#38470584)
I use my dual 4090 system to heat my Cat, trainium seems like it might be even better for the purpose!
Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by buildbot on Thursday November 30, 2023 @02:07AM (#38470587)
Were any power and cooling requirements shared? Or more design info? Super curious about the details of this chip!
Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by thrtythreeforty on Thursday November 30, 2023 @01:07PM (#38476775)
No physical requirements are shared to my knowledge. You can glean some info about Trainium (1st gen)'s architecture from the Neuron docs [1], but even then AWS doesn't do nearly as deep dives/whitepapers as Nvidia does for each GPU architecture generation. The architecture is much more specialized for machine learning than a GPU's is (although recent generations like Hopper are adding more and more ML-specific features). If you think about a plain old feed-forward neural network, you do three broad classes of operations: matmul, activation, and reductions. Each Neuron core has a dedicated engine for each of those steps (Tensor Engine, Scalar Engine, and Vector Engine).

This is the tip of the iceberg and all the other zoo of Pytorch primitives also need to be implemented, again on the same hardware, but you get the idea. Never mind the complexity of data movement.

The other Neuron core engine is the piece I work a lot with, the general-purpose SIMD engine. This is a bank of 8x 512-bit-wide SIMD processor cores and there is a general-purpose C++ compiler for it. This engine is proving to be even more flexible than you might imagine.

[1]: https://awsdocs-neuron.readthedocs-hosted.com/en/latest/gene...

Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by buildbot on Friday December 01, 2023 @03:06PM (#38491563)
Awesome, thanks for link and details!
Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by jwestbury on Thursday November 30, 2023 @06:37AM (#38472284)
Have you done any show & tells for the hardware? I miss working in Blackfoot and going to those, back when all of AWS was there. Always fun looking at S3 and EBS chassis!
Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by thrtythreeforty on Thursday November 30, 2023 @01:10PM (#38476809)
We do "Annapurna ED" video series where we talk about various things Annapurna is doing internally (very interesting to see what Graviton is up to) but I don't think these get shared to the broader company.
Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by snird on Wednesday November 29, 2023 @05:14PM (#38466031)
One of the employees in the team developing Graviton4 is kidnapped by Hamas in Gaza: https://www-geektime-co-il.translate.goog/amazon-aws-employe...
Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by wslh on Wednesday November 29, 2023 @05:45PM (#38466368)
I hope he is released very soon.

Also, thank you for sharing the https://www.geektime.co.il/ site, it seems it has original content and you can follow it translated in English.

Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by anigbrowl on Wednesday November 29, 2023 @08:48PM (#38468208)
What happens the older chips? Do they just keeping delivering services to a lesser AWS tier, or do they get junked? I'm not much into cloud stuff and didn't even realize Amazon made its own silicon these days.
Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by SoftTalker on Wednesday November 29, 2023 @11:59PM (#38469846)
Lifecycle replacement on a server is 5-6 years. At that age they aren't competitive for the power consumed, and failures become more common.

Now, I manage many servers at my job that are much older than that, but only because the operations budget and the capital expenditures budget do not take this into account.

Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by iszomer on Thursday November 30, 2023 @12:07AM (#38469890)
They get recycled and put back into inventory as spare parts for existing SKUs they currently have deployed. And just fyi, Annapurna Labs (creator of the Graviton family) was acquired by Amazon AWS back 2015 iirc.
Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by sesuximo on Wednesday November 29, 2023 @09:40PM (#38468745)
I don’t know for sure, but many companies use old hardware for less intense tasks like being a cpu attached to a massive disk for cold storage
Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by gtirloni on Wednesday November 29, 2023 @09:03PM (#38468398)
The A1 (graviton1) instance type was introduced in 2018 and it's not available anymore for purchase, but I don't think they've forced anyone to migrate.

Customers will want to migrate anyway because the newest types offer much better performance and pricing. At which point AWS may decide there's no demand for new instances of that type and just remove it from the API.

Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by LeifCarrotson on Wednesday November 29, 2023 @09:11PM (#38468453)
Well sure, you can remove the digital asset from the API and it's completely gone, but what are they doing with the physical asset?

Selling them? Running other services on them? Just keeping them in reserve? Or all turned into e-waste?

Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by buildbuildbuild on Wednesday November 29, 2023 @09:16PM (#38468493)
E-waste as customers migrate. I’ve never seen a physical Graviton for sale.
Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by pwarner on Wednesday November 29, 2023 @10:48PM (#38469336)
In the past they used to become cheaper at least via spot pricing
Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by candiddevmike on Wednesday November 29, 2023 @08:57PM (#38468314)
Would be incredible to buy them on eBay!!
Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by bee_rider on Wednesday November 29, 2023 @09:27PM (#38468599)
I wonder how they’ll compare to Ampere’s chips. I hope Ampere holds on, it is nice to have chip designer that primarily, like, designs and sells chips as a business model.
Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by rawrawrawrr on Wednesday November 29, 2023 @11:16PM (#38469568)
Fun fact, a Nvidia RTX 4090 has ~1TBps memory bandwidth, for an apples to oranges comparison.
Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by LispSporks22 on Thursday November 30, 2023 @12:40AM (#38470087)
Is that up there with the z16? I'm a mainframe n00b still, but it seems like some z16 configuration at least would be.
Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by bob1029 on Thursday November 30, 2023 @04:17AM (#38471420)
I think we are talking about entirely different classes of hardware.

The z16 is designed to run applications that cannot fail. In some cases, the datacenter is expressly built around these systems to accommodate their unique capabilities.

The Graviton line is designed to run as many applications per unit of volume and power possible for a multi-tenant, hyperscale ecosystem.

If a CPU core goes bad on a Graviton chip, you would likely need to redeploy your EC2 instance (or it would be done for you automatically). This would almost certainly have some downtime for your application. In the z16, if an entire CPU goes out, you hypothetically won't drop a single transaction if you followed IBM's guidance.

Re:Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GB... by joebocop on Thursday November 30, 2023 @02:17AM (#38470651)
Norton Anti-virus going to grind this thing to a halt