13 ms·
AMD CEO Lisa Su reminisces about designing the PS3's infamous Cell processor
- tithe 2y agoPeter Hofstee (one of the chief architects of Cell) gave a talk at UT Austin around 2008. At the time, UT was building TRIPS[0], a processor capable of > 1 teraflop / sec. In the middle of his talk (with several TRIPS members present), he made an off-hand remark "I think I could build a petaflop processer...without too much trouble,"* which caused a small stir in the audience! [0] https://www.cs.utexas.edu/users/cart/trips/ https://www.cs.utexas.edu/users/cart/trips/ * I might be misremembering the exact quote, but this was the gist of it.
- wmf 2y agoFLOPS are easy; programming is hard. Cell was the wrong direction and TRIPS/TFlex hasn't happened either.
- lhl 2y agoPerhaps relevant to the story, he was also on the team that delivered the first petaflop supercomputer (the most powerful supercomputer at the time) around that same time frame (it was around 24K processors): Roadrunner is a 1.38 Pflop/s-peak (double precision) hybrid-architecture supercomputer developed by LANL and IBM. It contains 12,240 IBM PowerXCell 8i processors and 12,240 AMD Opteron cores in 3,060 compute nodes. Roadrunner is the first supercomputer to run Linpack at a sustained speed in excess of 1 Pflop/s. https://dl.acm.org/doi/10.5555/1413370.1413372 https://dl.acm.org/doi/10.5555/1413370.1413372 https://en.wikipedia.org/wiki/Roadrunner_(supercomputer) https://en.wikipedia.org/wiki/Roadrunner_(supercomputer)
- bbatha 2y agoWhat a pain in the ass machine that was to write code for. You had 3 different processors to manage with 3 different architectures and all of the challenges the game dev community had with keeping the SPEs hot. But the SPEs were not enough to solely rely on for number crunching performance unlike today's GPU compute machines, so you also needed to do number crunching on the opterons and the main cell core for optimal performance unlike with a GPU where the CPU is mostly just keeping the GPU memory full. Then to make matters worse the cell had a different endianess than x86 making shared memory very annoying to work with.
- sillywalk 2y agoI'm curious if you've ever heard of or used CellFS[0] , which was supposed to simplify programming for Cell? [0] https://www.osti.gov/servlets/purl/1000498 https://www.osti.gov/servlets/purl/1000498
- bbatha 2y agoHaven't heard of it. Internal communication was not a strong suit at LANL... You also had a ton of different teams who all got access to the hardware at roughly the same time and were shotgunning different approaches and coalescing on the better libraries wasn't really a priority at the beginning of roadrunner when I was there. LANL didn't really have project management at the code base level to direct people to upgrade stuff like that, its mostly independent researchers pulling the code bases in different directions. Most of those researchers were physicists in my world and didn't really care about the "engineering" of software, just that their code ran fast and correct enough to get to the next deadline. Then there is a small core of more computer science researchers who did projects like this. If they were successful enough they'd attempt to integrate it into the mainline codes. But their incentives generally were to publish papers about super computer code like this, not necessarily to integrate it into the mainline codes. So often getting something like this in the codes was giving a talk and hoping a physicist would see it and need the extra performance for their needs. I was not running codes that would utilize even a small fraction of roadrunner so my projects quickly moved to the GPU based test beds for the next gen computer so I didn't get to see these research coalesce. My understanding from people who stayed on roadrunner is that for the most part people didn't adopt too much fanciness for roadrunner as the rewrites were too deep and GPUs were on the horizon. There was a lot of vision about making generic heterogeneous compute frameworks but too my knowledge they didn't pan out and just writing against CUDA, OpenMP, and MPI won the day.
- peutetre 2y ago> The PlayStation 3 pretty much lost the generation handily to Nintendo's cheap, casual-friendly Wii and Microsoft's less powerful but easier Xbox 360. No it didn't. The PlayStation 3 outsold the Xbox 360. Have a look at the 7th generation charts on VGChartz: https://www.vgchartz.com/ https://www.vgchartz.com/ It's true the Wii sold the most. The 8th generation didn't go well for Nintendo. The Wii U was a flop. But they're back on top with the Switch.
- EcommerceFlow 2y agoYou're talking about an extremely end of cycle resurgence. For the vast majority of the lifecycle, the 360 outsold the PS3 and had better compatibility with multiplatform games.
- nixass 2y agoPS3 ended up selling more than double what Xbox was sold "only because of extreme end of cycle resurgence"? Cmon It's true the devs have become more comfortable develeoping games as the console matured but that's about it. Xbox was always flop comparing to PS
- busterarm 2y agoWhere do you get "more than double" from? Are you looking at the current generation or the PS4/XONE generation? For PS3 vs 360, the PS3 sold 87.40M units to the 360's 85.73M.
- merb 2y agoPS3 sold more because of blue ray support, but in the games compartment they were basically on par
- app13 2y agoThey're right. Toward the EOL the PS3 had a big resurgence as THE console of South America and Southeast Asia due to highly available used games, console jailbreaks etc. and of course FIFA.
- dehrmann 2y ago> but SMT wouldn't emerge until 2002 I think they're counting P4 hyperthreading, but I remember dual-CPU Pentium II boards.
- buildbot 2y agoIBM had SMT in 1968 - https://people.computing.clemson.edu/~mark/multithreading.html https://people.computing.clemson.edu/~mark/multithreading.ht...
- trynumber9 2y agoI am not following. The page says it was investigated but not done.
- wtallis 2y agoSMT isn't SMP.
- adrian_b 2y agoSMT (including that branded as Intel HTT) is something very different from multiprocessors, like the dual-CPU boards. The concept of multiprocessors was already well understood around 1963, i.e. the multiplication of the performance of a computer by the multiplication of the CPU hardware. On the other hand, the purpose of SMT is to enhance the throughput of a computer by ensuring that the existing execution units do not stay idle, by executing instructions from multiple program threads in order to keep them busy. The modern use of SMT has been started by a research paper published in 1992, as a proposed improvement to the superscalar out-of-order CPUs already popularized by IBM POWER, but the name SMT (simultaneous multi-threading) has been coined only later, in 1997 (in the IEEE Micro from September/October 1997). IBM had already used SMT in the experimental Advanced Computer System in 1968 (and they have filed for SMT patents in 1971: US 3,728,692 & US 3,771,138), but that project has been canceled and its superior architecture has been mostly forgotten for several decades. CPUs that could execute instructions from multiple program threads, but not during the same clock cycle, like in SMT (hence the "simultaneous" of SMT), are older than the IBM ACS, for instance such a processor with fine-grained multi-threading was the peripheral processor of CDC 6600 (in 1963). SMT can exist only in superscalar CPUs, because only there multiple instructions are initiated in the same clock cycle.
- buildbot 2y agoOh wow, I did not know Lisa Su had a hand in designing Cell - that’s really cool. In some ways the Cell architecture was very ahead of its time - if you look at it a bit funny, the PPE/SPE map to something like todays grace/hopper - big branchy core to orchestrate smaller but more numerous vector cores. Made designing/porting games a massive headache though because nothing else was like it.
- deleted 2y ago[deleted]
- Rinzler89 2y agoCorrection: Cell was ahead of it's time when they started drafting the concept for it in mid-2000 and the most powerful consumer CPU at the time was the Pentium 3, but by the time it launched on the market in 2005, X86_64 was the new undisputed king of CPU performance and ARM in mobile lower power sectors, with ATI and Nvidia leading the GPU race, leaving the Cell processor as an overpriced paperweight that was a jack of all trades, master of none and difficult to program to boot, and the new market had no use for such a thing. I think neither Sony nor anyone else expected the consumer CPU and GPU industry to evolve so quickly in that time, otherwise they would not have spent hundreds of millions developing anew architecture from scratch. Intel also made the same mistake back then when they tried to reinvent the industry with the new Itanium CPU architecture. Hindsight 20/20. Those years were indeed wild for tech progress. You bought a new CPU, suddenly two years later you have 64 bit CPUs as the new thing. You then bought a 64 bit CPU to be like the cool kids and suddenly dual core CPUs are all the rage.
- scrlk 2y agoIIRC, the original PS3 design was rumoured to have dual Cell processors. It didn't meet performance targets, so the Nvidia GPU was wedged in quite late on in the development cycle.
- Rinzler89 2y agoI think the story was a bit different. Sony had envisioned the the final Cell chip to be more powerful than what they launched (4 PPEs and 32 SPEs @ 4GHz versus 1 PPE and 8 SPEs @ 3.2GHz) and they though that would be enough to render graphics with it like they did on the PS2, and only realized later in development that it won't be enough so they went to Nvidia and asked for a discrete GPU.
- Der_Einzige 2y agoThere were memes circa this time on places like 4chan about "the power of the cell" and implying that it was capable of doing anything. Sony marketing about how good this chip was circa 2005-7 was strong.
- scrlk 2y agoThe power of the Cell bought us real time rendering of Giant Enemy Crabs, as well as real time weapon changes. All for 599 US dollars!
- toast0 2y agoIt's a shame they didn't license blast processing.
- jeroenhd 2y agoThe cell processor was pretty good at some calculations. Unfortunately, it wasn't great for writing video games and neither was the tooling. I recall various news stories about governments buying up PS3s because they could be used for cheap and effective computation at scale.
- astrange 2y agoOutnumbered by "the PS3 has no games" memes though. https://knowyourmeme.com/memes/playstation-has-no-games/photos/page/3 https://knowyourmeme.com/memes/playstation-has-no-games/phot...
- OCASMv2 2y agoMy favorite meme from the era: https://i.postimg.cc/rwn0kT7W/Xenon-Vs-Cell.jpg https://i.postimg.cc/rwn0kT7W/Xenon-Vs-Cell.jpg
- magicalhippo 2y agoHad a heterogeneous programming class, where we had to implement various things on the PS3, like a basic MPEG-ish encoder and such. Was an interesting experience, though all I remember now is how it required careful exploitation of the vector units in the SPEs to get any decent performance out of it, and how annoying it was to synchronize between the SPEs and the PPE. For each assignment the prof would include a benchmark, so we could compare the performance in class. Was a huge difference between the students that spent time optimizing and those which did a basic implementation.
- Waterluvian 2y agoI'm super curious what program/course was set up with developer/jailbroken PS3s to use as lab material. Was this specifically about game/console dev?
- selykg 2y agoI believe the PS3 had an option to install Linux on it at some point. No? That would've made it a neat option for classes like this.
- pjmlp 2y agoYes, it was called OtherOS.
- Waterluvian 2y agoOh right... I think somewhere around 1st gen they were cool with that. But didn't they end up getting killed in the market because they had to sell it for less than Five Hundred and Ninety Nine U.S. Dollars, effectively at a loss, and people were making compute centres out of them? I think a later gen locked it right down.
- pclmulqdq 2y agoReportedly the US government had no problem paying $599 per PS3 to build ML/AI supercomputers out of them.
- Rapzid 2y agoATI developed the graphics chips for 360 and Wii. Feels a little too revisionist to say AMD produced the chips even if they did purchase ATI a number of months before Wii released..
- fourfour3 2y agoIt’s a bit tricky even to say that ATI developed them - they were designed by ArtX (mostly ex SGI staffers who had also worked on the N64), who were bought by ATI.
- Rapzid 2y agoPerhaps but ArtX was acquired by ATI long before. The ATI logo was already on the GameCube at launch.
- wmf 2y agoMaybe Wii was ArtX but wasn't the 360 using a mainstreamish Radeon GPU?
- corysama 2y agoIt had some significant differences. Mainly the fixed SRAM render target. Fun fact is that a lot of tech from the 360 GPU made its way into Qualcomm Adreno GPUs. Reading about the tiled render pass OpenGL extensions in the Adreno was very reminiscent of working on the 360.
- deleted 2y ago[deleted]
- fourfour3 2y agoYou’re right - I should have clarified that in my comment! The Wii GPU is very much the GameCube one with some tweaks and faster clock speeds. The 360 one is absolutely an ATI custom Radeon part.
- Waterluvian 2y agoI'm curious about how such a bad idea made it to market. Not that the technical concept is bad, but the business decision to build an entire console generation on such a unique, ultimately migraine-inducing architecture.
- MBCook 2y agoRemember Cell was “the future”. It was going to go into the PS3, but also TVs and computers and whatever else. If you squint it’s a bit like Apple putting a ton of investment in the A series chips that then went into iPads and Macs (via the M series). Problem is: no one wanted it. So none of that panned out. If it had gone on to be something like Intel’s Core 2 Duo that showed up everywhere in hindsight it would look smart.
- initplus 2y agoDifference is that Apple invested heavily in backwards compatibility, even old x86 code performs well on their chips. Meanwhile cell requires a reworking of your entire program to take advantage of it.
- MBCook 2y agoThat was common for consoles at that time. The PS2 couldn’t actually run PS1 games, it just fell back to a PS1 embedded in the system. Same way the GBA played GB/GBC games. Apple wasn’t a great example but it was the best I could think of. It took Apple 10 years to go from the A4 in the first iPhone with an Apple chip to the M1 in the first Mac. They also were just using Arm, the same instructions that they had been using before and something well understood. They didn’t suddenly release something people weren’t really prepared for like a Transputer and just declare “this will be everywhere within three years“. They let the switch take its time as necessary. Sony had the arrogance to do both of those.
- bigstrat2003 2y ago> That was common for consoles at that time. The PS2 couldn’t actually run PS1 games, it just fell back to a PS1 embedded in the system. Also, the PS3 did the same for PS2. Sony eventually did away with that to cut costs, but the launch models had it.
- A4ET8a8uTh0 2y agoI have a weird problem with the article. It does start with a question over 'infamous' qualifier, but it goes into something deeper that has been bothering me over the past few years. Lets start from the end, game consoles these days are basically optimized PCs. They are effectively nothing like the first, second, or even third generation consoles that had fairly unique hardware, desirable exclusives and so on. Cell may have been difficult to program well for, but it speaks volumes about the current state of consoles that devs worry about being able to be lazy with ports. The idiot consumer will buy whatever anyway. The side effect of the first generations' relatively unique hardware profile is that games actually had to be optimized and tailored to the hardware. No lazy ports ( I still get pissy sometimes over ps3 dragon age port ). Exclusives had to be good or at least showcase what the console could do. So is that what makes Cell infamous? The thing made news when could be run in a cluster[1]. I have a different take. Cell is the remnant of the consoles, when they were still worth one's time. [1]https://en.wikipedia.org/wiki/PlayStation_3_cluster https://en.wikipedia.org/wiki/PlayStation_3_cluster
- MBCook 2y agoThe article gives the answer. It’s not about being lazy with ports. It’s that the asset budgets are so large that making games is way too expensive. For any normal company you basically _have_ to launch on multiple systems if you want a financial payback. And every time graphics get better the problem gets worse. More models, more textures, more detail, more everything. $$$ Unless you have a monster hit (Zelda, Last of Us) you may be unable to make your money back on one machine. Even if you could, why not just make more money by adding in the other machines? There’s a reason pretty much only 1st party studios do exclusives.
- A4ET8a8uTh0 2y agoIf there is one thing that Steam has proven, it is that games absolutely do not have to focus on 8k assets, celebrity likeness and voices. In other words, that is not really an answer. Or at least not a real answer. It is, at best, a part of it that glosses over why people play games.
- deleted 2y ago[deleted]
- driscoll42 2y agoThere's a wonderful blog post on the PS3 Architecture - https://www.copetti.org/writings/consoles/playstation-3/ https://www.copetti.org/writings/consoles/playstation-3/ that gives a good overview of the Cell processor with linked resources if you want more detail.
- hadrien01 2y agoWow this website is absolutely amazing! Full of details about consoles, and with a really pleasing mixture of text, images, and even 3D models.
- kevvok 2y agoThere’s a great book about the development of Cell and Xenon (which went into the Xbox 360) called “The Race for a New Game Machine” that was co-written by a couple folks who worked on them at IBM.
- khalilravanna 2y agoMy biggest lament with the PS3 is the forward incompatibility making many great games locked to the platform (MGS4, Demon’s Souls, etc.). Meanwhile in Xbox land there are *633* 360 games you can play on any new Xbox by just slipping the disc in. Now some of this is no doubt due to differing approaches to business by the corporate masters but from what I’ve read a lot of it is the unique and befuddling architecture of the PS3. https://en.m.wikipedia.org/wiki/List_of_backward-compatible_games_for_Xbox_One_and_Series_X/S#List_of_compatible_titles_from_Xbox_360 https://en.m.wikipedia.org/wiki/List_of_backward-compatible_...
- throwaway48476 2y agoXbox canceled development on their emulator though.
- copx 2y agoDespite its exotic architecture the PS3 can be emulated well on "normal" machines, though. I was amazed that I am actually able to play PS3 games on my (older, not at all top of the line) laptop thanks to the brilliant RPCS3 emulator. A PS5 is way more powerful than my laptop, so in theory SONY could just make all those PS3 games available through emulation.
- failuser 2y agoIt took a decade and it’s still not 100% accurate. By now PS5 is powerful enough, but Sony would rather sell you a remaster or remake.
- jimbobthrowawy 2y agoI think they'd rather you play the game on their streaming service that runs the game from a ps3-alike sitting in a rack.
- hinkley 2y agoThe PlayStation 3 is the primary reason I maintained ownership of discrete dvd/Blu-ray players and never got into the PlayStation ecosystem. There were a couple PS3 games I was interested in and if they had run on the PS4 I would have owned a 4 and thus likely a 5
- hehdhdjehehegwv 2y agoShe’s low-key one of the most successful engineers ever in terms of bringing cutting edge technology to the mass market, but AMD never gets the fawning press attention of NVIDIA, and still has the lingering image of being the poorer cousin of Intel. Of course, as a woman engineer to make it this far she’s used to not getting the limelight in a male dominated industry - which may also explain some of AMDs recent success.
- blitzar 2y agoTheir press should focus more on how much of a failure AMD are (vs NVIDIA in particular) rather than fawning puff pieces like this one.
- noobermin 2y agoThe death of the powerpc is a bit sad to me as it feels like the lineage of the 6502 has really ended as of now. As much as everyone hates too on x86, I fear one day it too will disappear and everything will be on some arm isa
- theandrewbailey 2y agoPowerPC's sort of descendant/predecessor POWER is still developed and sold. Raptor Computing seems to be the only company selling POWER based systems to the general public.
- fb03 2y agoI wonder what is the appeal of these systems, today? On what demand would one chose a POWER system like this one (which I think it's pretty cool) over a, say, more standard X86 or ARM server?
- theandrewbailey 2y agoRaptor's big selling point is open source firmware. There's not a single bit of closed source software anywhere on their system. It's why they don't have any POWER 10 systems.
- wk_end 2y agoWhat's the connection you had in mind between the 6502 and the PowerPC? As far as I know they're geneologically unrelated. The 6502 was descended from the 6800 - one of a few ur-microprocessors - and somewhat clumsily evolved into the 65816 before its brilliant but highly specialized design (hard to target for HLLs and which fundamentally assumed memory could be accessed roughly as fast as the CPU was running) couldn't keep up with the times. As far as I know that's pretty much it for its branch of the CPU family tree. Meanwhile - and I admittedly know less about this - as I understand it the PowerPC is ultimately descended from the IBM 801, which was a high-end workstation and server chip. There might've been some influence from Motorola, and Motorola made the 6800 - the 6502's father - so in that sense the 6502 and the PowerPC might be very distant cousins. Still, that's pretty tenuous. My understanding is that the original ARM team was directly inspired by the 6502 - so if its legacy lives on anywhere, maybe it's there.
- penguin_booze 2y agoTrivia: Lisa Su and Jensen Huang are relatives: https://www.tomshardware.com/news/jensen-huang-and-lisa-su-family-tree-shows-how-closely-they-are-related https://www.tomshardware.com/news/jensen-huang-and-lisa-su-f....
- TheMagicHorsey 2y agoIf China ever takes over Taiwan, America is so screwed. Actually, there is such a scattered supply chain for semiconductor chips, that any war that disrupts international trade in a material way, would bring that entire industry to its knees. So many critical suppliers in the semiconductor supply chain are single companies, or single country oligopolies.
- eunos 2y agoWell they (and Morris Chang) are supposedly 'recent' immigrants from Zhejiang in mainland so the next gen human resources are as good as secured
- rbanffy 2y ago> If China ever takes over Taiwan, America is so screwed. The 21st century will not be a remake of the 20th. Empires rise and fall, and that's in their nature to do so. So far, China has managed theirs very well, and I don't see a fall in the cards for this century.
- rldjbpin 2y agoside question: is there a taiwanese version to check if someone you're dating is related to you? see for context: https://news.ycombinator.com/item?id=5561505 https://news.ycombinator.com/item?id=5561505
- mrkramer 2y ago>The interviewer points out that Sony's PlayStation 3 is viewed as one of its least successful consoles, which is true. The PlayStation 3 pretty much lost the generation handily to Nintendo's cheap, casual-friendly Wii and Microsoft's less powerful but easier Xbox 360. In Europe, PS3 was widely popular especially in conjunction with Call of Duty because Xbox never really gained ground in EU, at least that was my impression growing up as an EU gamer. Wii was also popular af at the time but PS3 and Wii buyers were different audience, Wii was more casual type of gaming and it was suitable for family gaming while PS3 was for more serious gamers who played more hardcorish titles like COD, FIFA and PES and ofc there was and is PC master race for real hardcore gamers.
- Forgeties79 2y agoThat may be true but overall, the PS3 was the loser at the time and it took until basically the end of that console generation, consisting of many price cuts and years of developing a strong catalogue, for them to (narrowly) outsell the 360 worldwide. Considering the absolute dominance of PSX and PS2, it was definitely not what they were hoping for. Not quite as dramatic as Nintendo with the market loss from SNES to the N64, but I’m sure Sony had a lot of similar conversations. You also have to consider that Xbox was the distant third place console in the previous generation, so barely losing to Sony at the last minute was definitely considered a huge success. Especially after the disaster that was the RROD. If that hadn’t happened Microsoft likely would have beaten Sony’s sales.
- mrkramer 2y agoMy last gaming console was PS2 and yea I loved it because gaming consoles are meant for "couch gaming" with big TV screen and as one gaming friend of mine told me: "When you buy gaming console, you are set for the next 5 years." Moore's law kinda kills the fun for us PC gamers but I still prefer gaming on PC than on gaming consoles.
- Forgeties79 2y agoThere’s something really nice about consoles for me still. I love just dropping on my couch, pressing a button on my controller to start run console, pressing one more button to launch a game, and I am exactly where I left off last time with no load times. Takes me about seven seconds to get back in. As somebody with 2 kids it makes gaming more feasible haha
- light_hue_1 2y agoIf I could ask a single CEO one question, it would be Lisa Su. What is she thinking? She's sitting on what could be the 2nd most valuable company in the world. And she's doing nothing. AMD's GPUs are as good as NVidia's. But their drivers suck. They did all the hard work. Now they need to invest a relative pittance in fixing up their drivers and open sourcing the rest. But they won't. Absolutely nothing about this situation makes any sense. It's a company that's sitting on gold (actually, by weight, the value of GPUs is far higher than that of solid gold bars). But... they're throwing it all away for nothing? Is she getting paid off by NVidia to do this? AMD is the single most confusing entity out there.
- JackYoustra 2y agoThe other day I tried to rent a spot MI-300. I couldn't find a way to do that! Whereas fairly easy to rent an H-100. I think they're just behind a bit on their tsmc allocation! Their stock seems to think so, it's priced much more aggressively than Nvidia's.
- latchkey 2y agoMy company Hot Aisle is working on solving this problem. It has nothing to do with availability or pricing. You can't rent single MI300x today cause ROCm doesn't support virtualization. PCIe passthrough doesn't work yet. AMD knows about the issue and is working on it. We will have 8xMI300x for rent soon. Once AMD fixes their stuff, we will be able to rent out one at a time.
- JackYoustra 2y agoI see! That’s really cool, I’m quite curious about more about this. Any neat technical things you can share, or is it mostly just business challenges?
- latchkey 2y agoThanks! Oh it has been a wild ride so far and we just have 8 gpus! We just closed our second SAFE and are about to order 128 more, from Dell this time. That is its own whole story that I posted about on reddit. Cluster size of 16 boxes works well for 128 port 400g switches. Exciting times.
- djmips 2y agoYou might find that this is an article that's commenting on an interview and you might be equipped to interpret it better on your own. Here's the original interview which has more details that I found interesting. https://stratechery.com/2024/an-interview-with-amd-ceo-lisa-su-about-solving-hard-problems/ https://stratechery.com/2024/an-interview-with-amd-ceo-lisa-...
- mackman 2y agoI loved working on the cell. I remember writing my first spu code when the ps3 dev kit was a huge stainless steel box. I later went in to implement predictive physics for racing line optimization for midnight club on the spus. Was a lot of fun. Weird thing was the floating point unit had a different intermediate bit size than the ppu so for deterministic results you had to schedule threads to always be dispatched to ppu or spu deterministically. That was essential for network games where the sim had to run bit for bit the same across players.
- oppositelock 2y agoI'm a systems nerd, and I found working with it quite challenging, but rewarding. It's been many years, but I still remember a number of the challenges. SPE's didn't have shared memory access to RAM, so data transfer was your problem to solve as a developer, and each SPE had 256k of RAM. These things were very fast for the day, so they'd crunch through the data very quickly. We double-buffered the RAM, using about 100k for data, while simultaneously using the other 100k as a read buffer for the DMA engine. That was the trickiest part - getting the data in and out of the thing. You had 6 SPE's available to you, 2 were reserved by the OS, and keeping them all filled was a challenge because it required nearly optimal usage of the DMA engine. Memory access was slow, something over 1000 cycles from issuing the DMA until data started coming in. Back then, C++ was all the rage and people did their various C++ patterns, but due to the instruction size being so limited, we just hand-wrote some code to run on the SPU's which didn't match the rest of the engine, so it ended up gluing together two dissimilar codebases. I both miss the cleverness required back then, but also don't miss the complexity. Things are so much simpler now that game consoles are basically PC's with PC-style dev tools. Also, as much as I complain about the PS3, at least it wasn't the PS2.
- mackman 2y agoYep, all valid. When I started on it we had to do everything ourselves. But by the time I did serious dev on it our engine team had already build vector/matrix libraries that worked on both ppu and spu and had a dispatcher that took care of all the double buffering for me.
- teekert 2y agoI recently got a 2nd hand PS3, never was a gamer. I’m so impressed with it. Racing games are so real looking and GTA5 is still the most recent version of the game. The 2 Little Big Planet were an absolute joy to play with my son. There is still so much value in this ancient machine.
- jgord 2y agoThe actual interview text, seems to be here : https://stratechery.com/2024/an-interview-with-amd-ceo-lisa-su-about-solving-hard-problems/ https://stratechery.com/2024/an-interview-with-amd-ceo-lisa-...