Settings

Theme

IBM Unveils Next Generation Dual-Architecture Processor for IBM Z and LinuxONE

newsroom.ibm.com

123 points by porridgeraisin · 90 comments

Reader

9 threads
userbinator

The article is quite short on details but I wonder if this is an ARM core that can also execute IBM Z, or the other way around; in other words, which ISA does it execute its first instruction at the reset vector? In that past I've worked on a conceptual design for an "x86+" CPU, which would start as a regular x86 but then be able to execute code of other architectures like ARM, MIPS, PPC, etc. isolated in their own code segments, similar to how V86 mode works.

u1hcw9nx

Not explained in the article:

Every single physical core on the chip decodes and executes both s390x and Arm AArch64 instructions, dynamically switching between the two ISA modes and convert them into micro ops. Mode switching is hypervisor-driven.

And those chips are fast. 5.7 Ghz 2nm node.

For who: When you need to run Linux programs on high security, mission critical environment. Others should not care.

classichasclass

This feels like a baby step towards Arm being able to emulate z/Arch workloads, maybe with a bit of secret sauce for certain specific operations, which doesn't seem very much like IBM.

  • nxobject

    I thought about that, too. I think they’re doing this for the same reason IBM has supported Linux LPARs: since a lot of customers who lease System/z currently probably get overprovisioned hardware that they’ll never fully use, why not try a last-ditch attempt to sell the excess capacity as ARM LPARs?

    Now you’re thinking like a Big Blue sales rep.

    • rbanffy

      IIRC, they had different licensing prices for cores that would run z/OS workloads and cores that would run Linux on s390x (and other tier for Java, I think). This looks like they’ll have one for Linux on ARM as well.

  • bitwize

    Not even the weirdest thing IBM did to get compatibility between their mainframes and other CPU architectures. To build the XT/370 and AT/370 expansion cards, they custom-ordered modified 68000s that decoded System/370 instructions instead of the 68k instruction set, with most of the instructions handled by the new microcode and the few stragglers software-emulated:

    https://en.wikipedia.org/w/index.php?title=PC-based_IBM_main...

  • stinkbeetle

    ARM can emulate z workloads. https://hercules-390.github.io/html/index.html

    (or QEMU, for partition level emulation).

avhception

Huh. ARM instead of ppc64le?

  • rbanffy

    ARM has better software support for AI applications and half of their presentation was about their inference accelerators that can go in the mainframes (and POWER machines).

    IBM mainframes are almost designed by their users. The previous generation skipped a lot of speed boost on the CPU side because their users didn’t want the machine to blow over their power delivery limits.

    Now, with their architecture behind it, I’m sure these ARM Linux partitions will have the fastest ARM cores ever made. My experience with Linux on s390x is that it feels like a normal server that’s just ludicrously fast - almost as if it came from the future.

    • Melatonic

      Does anyone else make an ARM CPU that is expressly designed for performance with good cooling ?

      • wmf

        It's not entirely clear what you're asking but... AGI, Vera, X2, Spark.

    • avhception

      At least back in the day, there was talk about Nvidia + ppc64le. Wasn't there even a supercomputer with that setup? But I guess that has fallen by the wayside.

      • __lm__

        We have some older Power9 with NVIDIA V100. Nvidia drivers stopped a while ago (before V100 were considered “old” also for x86_64).

        The main problem is software support by most machine learning libraries. While it is normal to have to compile many things from source when the binary is not provided even by some third party, in some cases the software will not compile on ppc64le and surely is not tested to work.

      • shrimppersimmon

        In 2019 the two fastest machines in the world, Summit & Sierra (see top500.org) used ppc64le + Nvidia GPUs.

      • rbanffy

        Yes. There was a generation of POWER that offered NVLink.

christkv

Is this like the Transmeta processors doing code translation in hardware?

  • bryanlarsen

    No, this is more like any modern processor, which translates instruction codes into micro-ops. To over-simplify IBM just has two of these units per thread rather than one.

    • christkv

      I wonder how they handle potential differences in memory barriers, instruction order scheduling and other stuff and do they run the core in one mode continuously or do the mix instruction streams from different instruction sets? Anybody got a link to an article?

      • rbanffy

        Possible different micro ops for different semantics.

        They also don’t mix instructions sets within the same process - the diagram I saw had ARM Linux as a guest under z/VM or KVM. For generations now no OS (not VM, not z/OS) hasn’t seen the bare metal machine, only ran under the PR/SM hypervisor, which is what does the logical partitions now.

        In order to properly run OSs for the 360 and 370 generations, s390x also has instructions for setting up CPU flags to more precisely emulate older machines. From an s390x binary you can, IIRC, do a jump to an address telling it that, from the jump forward the ISA is the one of a 360 until it encounters a return, which restores 390 mode.

      • cpgxiii

        In general implementing a weaker memory model (e.g. aarch64) on a stronger memory model (e.g. x86_64 or s390x) is fairly easy, while the reverse is more difficult (see Apple's processors which have a dedicated "stronger" mode to better support execution of translated x86_64 code). It all requires some additional complexity, but starting from a complicated high-performance CISC architecture which already supports a wide range of backwards compatibility modes you are already going to have many of the building blocks on hand to support something new.

      • trwei

        Z’s memory model is much stronger than arm, so running arm on z memory model requires almost no design changes. The inverse is not true.

      • bryanlarsen

        I had much the same question, which is one of the reasons I used the term "over-simplify". my guess is that many of the units have a toggle "arm mode / z mode", which would mean that mixing streams would be unlikely. I wonder if they chose ARM over x86 or other options partly because important aspects like the memory model of ARM and z were more similar than the memory models of x86 and z.

  • stonogo

    They were pretty clear at Hot Chips that it's native

    • to11mtm

      .... I -so- miss RealWorldTech write-ups, I'd love to see what David Kanter would have to say about this thing...

      • ccgreg

        David recently announced he was leaving MLCommons, so maybe we'll get him back as an industry analyst.

    • pulse7

      "code translation in hardware" microcode is called "native"

      • wahern

        Yep. All modern Intel and AMD architectures, save maybe some Atom variants, effectively JIT compile the incoming instructions. It's part of the reason the faster-than-static Java/JVM promises never came to fruition. The goal posts moved after the mainstream chips coopted the approach, in a sense, and they continue to move as pipelines get deeper and broader and transistor count goes up.

        Transmeta was a classic failure--right idea, wrong place & time.

        • to11mtm

          Eh?

          Intel and AMD were more or less 'Jitting' since the PPro and K5, and that's ignoring NexGen's Nx586 (which was shipping in hardware about a year before the PPro).

          All of them are way before Transmeta shipped a CPU. Where Transmeta tried to innovate was by using VLIW rather than a RISC-like core, along with their other special tech (Which they later licensed to lots of companies, including Intel,) to provide reasonable mobile performance with a low power draw. Oh, there's also the bit where Transmeta CMS is much more software based (likely, partially to push enough to software and avoid an x86 CPU license lawsuit) but even modern Intel chips AFAIK are still doing more translation on the CPU layer.

      • rbanffy

        IBM’s microcode is really something. Not too long ago I heard about writing “millicode” as something that’s not at the microcode level, but not quite up at the ISA level.

        • bonzini

          Millicode used custom extensions to the ISA but is otherwise regular s390 code. For example there is a separate register file and the "original" registers are available with either (I don't remember exactly) special instructions or special memory addresses.

          Intel by the way did the same for SGX, they called it xucode.

  • LoganDark

    Transmeta did code translation with a software JIT. The hardware side had specific support for x86 semantics, similar to how Apple's M-series has supporting hardware for Rosetta's AOT translation, but neither executes x86 machine code directly.

SeifHashish

why is IBM moving forward that way

markus_zhang

I was curious, is it conceptually similar to Data General Fountainhead project?

  • stonogo

    If by that you are asking whether it has a dynamic ISA controllable at runtime, it appears not. This looks to be a Z processor with arm instructions implemented.

crmd

I was reading HN comments yesterday shitting on modern IBM for being a non tech consulting company that has not innovated since the mid nineties.

  • pavlov

    More like mid-2000s, even with the least charitable interpretation.

    There was a time when IBM dominated console CPUs for a massively successful generation (PS3, Xbox 360, Nintendo Wii).

    • to11mtm

      It's a little more complex than that, IMO.

      For starters, IBM did also do the CPU for the GameCube, and that was likely a part of the Wii using an upgraded PPC arch for that.

      On the flipside, there is the theory (I think even Copetti brings it up in their XBox 360 Architecture breakdown [0]) that IBM using the Cell PPE for the 360's tri-cores left a sour taste in Toshiba, but more-so Sony's mouths.

      I think the big 'X factor' though, was that, for as much pain as it caused AMD in the short term, (it's so easy to forget their 'malaise' era, i.e. Early Bulldozer and the GloFo split pains to their margins[1]), AMD made all the 'right' choices to let the console vendors have their cake and eat it too.

      Namely, AMD was more than happy to do a custom core if there was a volume contract (similar to what IBM was willing to for the 360/GC/Wii) but also now had a capable, in-house GPU. (And thankfully had Bobcat as a stepping point towards Jaguar[2])

      There's part of me that asks, if AMD had an ARM core, if we would have all Consoles powered by AMD chips now. Nintendo likely bought into Tegra because it was an ARM core, and for better or worse their mobile stuff by the time of making that choice had 15+ years of proven ARM success (GBA, DS, 3DS) behind it.

      (See also, Intel in the 2010s scrambling with half-assed promises of integrating custom functionality or FPGAs with x86 cores.)

      [0] - https://www.copetti.org/writings/consoles/xbox-360/

      [1] - From what I recollect, the GloFo split and how the contracts were drawn up as far as their production, had a huge impact on their ability to produce due to yields and thermals, as well as the contracts for how GloFo got paid; it was at least part of them diversifying with TSMC as soon as they reasonably could.

      [2] - As a Rant, I am pretty sure, if Jaguar had Desktop/Mobile versions that included a Dual channel DDR controller, they would have cleaned up on the low cost laptop market. I had one with, I think it was an A5000 or A5200, and for how tiny the battery was it could last wayyyy longer than any of the intel laptops I had for the time, but churned if you were doing memory heavy stuff.

      • monocasa

        > On the flipside, there is the theory (I think even Copetti brings it up in their XBox 360 Architecture breakdown [0]) that IBM using the Cell PPE for the 360's tri-cores left a sour taste in Toshiba, but more-so Sony's mouths.

        It's more than a theory. It's pretty much spelled out explicitly in The Race For A New Game Machine how salty not just Sony and Toshiba were in the broad sense, but also the Sony and Toshiba engineers that the IBM team worked with felt pretty betrayed.

      • wildzzz

        Intel did release a few generations of their Xeons with an Arria built in but it's been a couple years since the last release. It's a cool idea but I think all the money dried up quick once the AI boom started. Plus they spun off Altera so I doubt they'll be doing it again.

      • wmf

        I think Nintendo used Tegra because it was super cheap. AMD has access to the same ARM cores as everyone else (see Seattle and Sound Waves) but a semi-custom chip would have been more expensive than an overstocked Tegra.

        • to11mtm

          To your point... yeah, Switch was the only 'real' big volume hit for Tegra that I remember (Although I did like my 2012 Nexus 7) with any staying power.

          Hell Nvidia was so desperate they did the whole Shield thing...

    • rbanffy

      Having a presence in the consumer market is not a requirement for being innovative.

      IBM stopped building servers based on x86 because the margins were too thin for their tastes, but they never stopped building on top of POWER and Z.

    • Retric

      Xbox 360 used an Intel CPU.

      PS3 used the Cell processor but it’s debatable how much that was an asset vs handicap. Total PlayStation sales dropped for that generation vs both PS2 and PS4. The manufacturing costs didn’t fall nearly as fast as expected and it was a poor fit in terms of cross platform development etc.

      PS4 moved to AMD.

      • rbanffy

        > Xbox 360 used an Intel CPU.

        No. It was a PowerPC based one called, IIRC, Xenon.

        • Retric

          Wow, you’re right.

          Xeon vs Xenon

          I had always assumed with chip names that similar it was an Intel product. How on earth didn’t they get sued?

          • eschaton

            Because simple similarity doesn’t usually result in a lawsuit? Especially if one of the words isn’t a public product name and also happens to be an existing word with no existing specific use in the industry.

            • Retric

              Failing to defend trademarks for such similarity named and closely related products has extremely high risks.

              • eschaton

                “Xenon” is a pre-existing word. Intel’s not going to lose protection on “Xeon” for IBM using “Xenon” as an internal codename for their own CPU.

          • to11mtm

            I'm guessing that they were safe in that it was more or less a 'codename' for a specific product's CPU that nobody else could buy, versus a product out on the market, left enough clear separation to avoid Trademark complaints.

            The combined might of IBM and Microsoft's legal teams, even (possibly even moreso?) then, was better than Intel's to be sure.

        • monocasa

          And in fact it was basically a Cell PPE with a larger vector unit strapped to the side of it.

  • monocasa

    To be fair, IBM did this in the 90s with the PowerPC 615, which had PowerPC and x86 decoders on the same core.

    • rbanffy

      But those ARM and s390x decoders have a “Telum III” architecture behind them with a cache that’s pretty innovative.

      IBM has never stopped innovating. It’s just that most people can’t afford their machines.

      • monocasa

        Yeah, their cache work is undeniably really cool.

        That being said I think it's a natural consequence of the difference between a mainframe and commodity servers. A mainframe is going to be running pretty disparate workloads simultaneously, so it makes sense to steal from your neighbor if they aren't using their cache. Whereas it's more likely that a commodity server is just running the same server on each core, and if you have a different workload, you pick a different shape of server to run it on. There are pros and cons to both.

        I do wonder about the spectre consequences of borrowing cache lines from other cores though.

        • rbanffy

          Even though their CPUs are insanely fast, the real power of mainframes is in their IO. The amount of data you can push through those machines is absolutely mind blowing.

          • bitwize

            Historically this was because each I/O "channel" was a separate computer that handled the actual communication with the device, be it a terminal, disk, tape drive, card reader, printer, etc. and exchange data with the CPU via DMA. This allowed mainframe CPUs, which in the past weren't particularly fast, to handle huge workloads involving hundreds or thousands of users. These days, even commodity computers get blazing fast I/O to bus mastering devices. Where the mainframes win today is on reliability, built-in redundancy, hot-pluggability and expandability of components (you can just plug in CPUs, memory, disks, and network interfaces as long as you can afford them with the machine still running), and service and support. (Mainframes phone home immediately if they detect problems and an IBM service person will be on site the same day to fix it.)

        • Melatonic

          What's unique about their cache ?

          • monocasa

            Basically for Telum II, (I don't know what changed here from Telum III, the core under discussion with the ARM decoders) each CPU core has a giant 36MB L2 cache. Then, rather than a discrete L3 cache, the cores keep track of L2 residency needed for that core's working set, and allocate the rest of their L2 to a shared pool that is the L3 cache. Then the same thing with L4 being the same pools in all of the other chips on the same drawer (which you can kind of think of as close to a single server).

            https://chipsandcheese.com/p/telum-ii-at-hot-chips-2024-main...

            • Melatonic

              Wow that is a massive cache. Pretty cool. Guessing it would great for data throughput !

  • wmf

    The z mainframe team does good technical work but then the high price cancels out all the value of that work. I'm not sure if that counts as innovation or not.

    • tempest_

      At this point no one is buying into mainframes are they?

      So they are just selling to the existing pool of users for which the price just has to come in under the cost/risk of rewriting all their ancient stuff.

    • bitwize

      A single mainframe can handle workloads that would take dozens of x86 cloud servers, with nine nines of uptime. If you can afford it it pays for itself in terms of reliability and scalability.

      • wmf

        That may be true but the dozens of x86 servers are cheaper and easier to use.

        • bob1029

          Sometimes quality of service matters more than cost.

          If the consumer segment started to develop a sense that their payment cards were glitchy or unreliable, our economy could suffer real consequences. Error free, secure, instant payment experiences are essential. Go visit a local grocery store and measure how long it takes to authorize a transaction each time a card is presented to the terminal. Pay special attention to how fast the Visa and American Express networks are. At my local Kroger the terminal and network setup is so fast that you can use the chip reader almost like a mag stripe reader.

          https://usa.visa.com/about-visa/newsroom/press-releases.rele...

  • vablings

    There are already microcontrollers that have both arm + riscv support. This isn't something insane.

    • dmitrygr

      RP2350 has separate cores for that. This is one core that speaks both.

      • bmitc

        To my understanding, the RP2350 has two ARM cores and two RISC-V cores, the two pairs are separate, and only one architecture can be used at a time on the chip.

        • dmitrygr

          nope. two "slots", each selectable from {ARM, RISCV}. In each, you pick one. so you can configure it at two arm cores, arm + riscv, or two riscv cores. dual-arch is possible, if you desire it

  • petcat

    well that's nonsense. IBM does incredibly cool stuff.

    https://research.ibm.com/blog

    • bmitc

      What does IBM actually do? I just can never understand their business and operating model. It seems like they just do a bunch of random stuff and sell to the most enterprisey of enterprises.

      • ksec

        >What does IBM actually do?

        You should dive into the topic of Mainframe. There are a lot of financial transaction to other critical infrastructure are dependent on it. And not just because of backward compatibility but technical superiority.

      • pram

        Much like Oracle, they extract money from companies trapped on Db2

    • rbanffy

      Their research is usually behind paywalls. I miss the days when they published their journals and made PDFs available for download.

  • Nursie

    I was one of them, but I don't think IBM hasn't innovated, my contention is more that they have de-emphasised software and hardware in favour of services, and they've moved away from consumer-facing activity to be entirely B2B, and that there is an overall feeling of slow decline.

    Their hardware advances are real, Power chips are still excellent and IBM's mainframes are pretty unique, but the niche for both of those seems less relevant over time and some of this stuff looks to me like hype-work to keep the name relevant while the leadership place ever more emphasis on enterprise services and consultancy.

    Maybe I'm wrong, but they aren't a company that get mentioned in the same breath as Microsoft, Google, Nvidia or Apple, not any more.

    • flomo

      Yeah, a huge chunk of IBM's service revenue has always been effectively mainframe services, with wall street accounting spin.

      I suspect that almost zero companies adopted mainframes after 1980 or so, so it's ALL legacy market. However, IBM always invests a lot of money in hardware to keep the mainframe perceptually leading edge and "sexy", so they can hold-on to those customers. So you gotta give them credit for that.

      (IBM and Microsoft were always 'in the same breath' for years, Microsoft totally out-smarted them, and IBM gave up on that.)

  • porridgeraisinOP

    Those takes are wrong with or without this particular processor.

34679

Right click -> Open image in new tab -> zoom in

If you haven't already.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection