Sorry for this kinda gamerbrained question.

The Xbox 360, Playstation 4, Xbox One, honestly most consoles after the Playstation and Saturn have shared memory pools. It allows flexibility in how much memory and VRAM developers want to assign, right? Why does the PS3 not have a shared 512MB pool of GDDR3? It caused all kinds of problems, most notably with Bethesda games.

Is it the Cell Broadband Engine needing the specialty XDR memory? Is it an artifact of the Nvidia RSX graphics chip being added late in development? Looking back I a)most wonder if the split memory was more of a problem than the Cell tbh.

  • Onno (VK6FLAB)@lemmy.radio
    link
    fedilink
    English
    arrow-up
    14
    ·
    4 months ago

    Likely it was a tradeoff between various competing and contradictory constraints, most of which will probably never be revealed.

    • ashinadash [she/her]@hexbear.netOP
      link
      fedilink
      English
      arrow-up
      10
      ·
      4 months ago

      :/

      Sony also did this on the Vita, which has a way more lopsided 512mb system ram/128mb vram config, so it’s happened more than once. Just strikes me as so weird, and usually consoles with split ram have more system than video ram…

  • PaX [comrade/them, they/them]@hexbear.net
    link
    fedilink
    English
    arrow-up
    12
    ·
    4 months ago

    I was writing something much longer blob-no-thoughts but I started actually reading about the PS3’s memory map and uhh

    The memory pools aren’t really split* orrr… I guess it depends what you mean by “split”. The RSX can actually access the Cell’s XDR memory, it’s just somewhat slower because the RSX isn’t directly connected to the XDR memory bus so it has to ask the Cell BE to make accesses. For comparison, it seems the Xbox 360’s main memory is connected to the GPU which results in longer latencies for the CPU to access memory but apparently Microsoft partially mitigated this by the addition of more cache memory for the CPU.

    *https://www.psdevwiki.com/ps3/RSX (scroll to: “RSX Memorymap”)

    • ashinadash [she/her]@hexbear.netOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      4 months ago

      You can tell me abt the memory map if u desire ✨ but uh

      Because of the VERY slow Cell Read speed from the 256MB GDDR3 memory, it is more efficient for the Cell to work in XDR and then have the RSX pull data from XDR and write to GDDR3 for output to the HDMI display.

      There are also bandwidth differences up to 10gb/s between the different busses. Add the high latency of GDDR3 compared to the XDR RAM, and the fact that the Cell doesn’t seem to have access to the GDDR3… The RSX having to request access from Cell puts me in mind of Pentium Ds and other really early dual core CPUs, lol.

      But this basically all means that using the two pools as a single continuous memory chunk would be impossible, right? The Xbox 360 sounds much more normal to me, I would bet without knowing that the PS4 and XBO also have large caches to offset GDDR latency. The OG Xbox has a large CPU cache as well =) which seems much funnier than this weird split ram shit.

    • ashinadash [she/her]@hexbear.netOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      4 months ago

      Thus, there’s no shared memory between PPU or others SPUs. Instead, the SPU contains local memory used as working space.

      To program this unit, developers use the PPU to invoke routines provided by the PlayStation 3’s Operating System, these upload the executable specifically written for the SPU to the SPU of choice and signal it to start execution.

      agony-consuming sony nooooooooo bro this sounds soooooooooo annoying!!!

    • ashinadash [she/her]@hexbear.netOP
      link
      fedilink
      English
      arrow-up
      4
      ·
      edit-2
      4 months ago

      This blog fucks, what an excellent source, ty.

      It has also really convinced me that the PS3 is even more of a mess than I thought cowboy-cri yeehaw SPE executable…

    • ashinadash [she/her]@hexbear.netOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      4 months ago

      Yes, but in a limited fashion and the Cell could not access GDDR3, yes? Plus the RSX has to request access to XDR via the Cell. I’m pretty sure using it all as one continuous ram chunk would have been tough at least.

      “Difficulty programming for it” meaning ‘weird hardware design’ or ‘bad SDK/devkits’? Having just looked at the Element Interconnect Bus, and the state of multithreading in 2006… Oh boy bocchi-cry

      • KnilAdlez [none/use name]@hexbear.net
        link
        fedilink
        English
        arrow-up
        2
        ·
        4 months ago

        Yes to everything. The Cell processor was ambitious to say the least, but confusing hardware design and poor support from sony for developers lead to poor performance in many of the games that were developed for it. Or devs simply didn’t make games for the Playstation at all, a trend that would continue to this day. This actually reminded me of a parody song from a now defunct gaming website I used to listen to.

        • ashinadash [she/her]@hexbear.netOP
          link
          fedilink
          English
          arrow-up
          3
          ·
          4 months ago

          a trend that would continue to this day.

          blocky-wat The PS4 outsold the Xbox One 2:1 and the PS5 continues this trend, they’re also pretty normal architecturally?

          But yeah no kidding, it just seems to me like this bizarre PPE/SPE orchestra is so much worse than simply three cores with simultaneous multithreading. (and a unified, flexible memory pool) It’s like they tried to reinvent the multitasking wheel…

          • KnilAdlez [none/use name]@hexbear.net
            link
            fedilink
            English
            arrow-up
            2
            ·
            4 months ago

            The PS4 outsold the Xbox One 2:1 and the PS5 continues this trend, they’re also pretty normal architecturally?

            Just joking since the PS5 is also lacking in games. The PS4 did fairly well with game support, especially towards the end of it’s life.

            Someone at sony said “get a supercomputer for our console” and this is how it ended, though The PS3 did have some success in that field. Then GPGPUs became popular like 2-3 years later so it was all for naught.

            • ashinadash [she/her]@hexbear.netOP
              link
              fedilink
              English
              arrow-up
              3
              ·
              4 months ago

              O yea it doesn’t have any gaems, true =)

              I saw that the PS3/Cell had OpenCL stuff too, hilarious. What was Sony’s sales pitch with this? They want it to be a media center, a superpowered gamer box (lol) and… also a highly parallel mainframe-ass computer? Is that gonna sell to gamers? wut

              • KnilAdlez [none/use name]@hexbear.net
                link
                fedilink
                English
                arrow-up
                2
                ·
                4 months ago

                I can only guess as to what is going though Sony executives’ heads sometimes. Though the ps3 did it’s most important job (to sony) extremely well: pushing the Blu-Ray to be the dominant format for HD home video.

    • ashinadash [she/her]@hexbear.netOP
      link
      fedilink
      English
      arrow-up
      11
      ·
      edit-2
      4 months ago

      what-the-hell

      …yes comrade, all consoles do. All consoles are. MIPS (PS1, PS2) is from computers. PowerPC (Gamecube, Wii, Wii U) is from computers. 6502 (NES, SNES) is from computers. 68000 (Mega Drive) is from computers. Quick, what console is NOT a PC at heart?

      The Xbox and One both use x86, and they have some software roots in Windows, but not only does that not really relate to the question I asked, all Xbox systems have shared memory anyway.

      reddit-ass "well ackshually smuglord " comment

      In a word: so?

      • BelieveRevolt [he/him]@hexbear.net
        link
        fedilink
        English
        arrow-up
        11
        ·
        4 months ago

        I can outpedant both of you by saying that ”PC” is practically always used to mean ”IBM PC compatible”, meaning x86/x64 architecture, therefore most consoles aren’t based on PCs smuglord

        • ashinadash [she/her]@hexbear.netOP
          link
          fedilink
          English
          arrow-up
          7
          ·
          edit-2
          4 months ago

          The last four minus the Switch are smuglord that is pretty dang pedantic tho, “PC” usually means any home computer nowadays. Plus, PowerPC…

          Serious, do you unironically think I was being pedantic? Given that “xbox has pc roots” is a sort of ambiguous nothing-statement that doesn’t relate in any way to my question, (which is about the PS3) I thought pointing out that all consoles are just specialised, simplified computers was apt.

          • BelieveRevolt [he/him]@hexbear.net
            link
            fedilink
            English
            arrow-up
            9
            ·
            4 months ago

            ”PC" usually means any home computer nowadays

            Macs still exist, and if the only computer you had was a Mac, you wouldn’t say ”I have a PC”. The distinction is also useful for historical purposes, you wouldn’t call an Amiga or Commodore 64 a PC.

            Serious, do you unironically think I was being pedantic?

            No, not really, I also thought that statement was irrelevant. The only way I can interpret is as being in any way relevant is that the original Xbox was based on regular PC hardware, but the 360 wasn’t, it used a custom PowerPC chip, so I don’t know what their point was. If it was to say ”the 360 wasn’t based on custom hardware unlike the PS3”, then that’s flat out incorrect.

            • ashinadash [she/her]@hexbear.netOP
              link
              fedilink
              English
              arrow-up
              5
              ·
              4 months ago

              This is true u rite, I just thought it funny that PPC took “PC” anywho. And yeah Amigas are “micros” usually…

              See me either, thank you kel-bliss I sat and puzzled over the comment trying to figure out what the point was. While we’re here, is the Xenon CPU in the 360 a native three-core die? That would make it I think the only native tricore die ever? Save maybe the Wii U’s thing?

        • ashinadash [she/her]@hexbear.netOP
          link
          fedilink
          English
          arrow-up
          9
          arrow-down
          1
          ·
          edit-2
          4 months ago

          It’s a pointless entirely offtopic “heh gotcha” style comment that contributes nothing, in addition to lecturing me on things I already know. I wasn’t even being mean or rude really.

          Also click their username, they are a lib.

      • PaX [comrade/them, they/them]@hexbear.net
        link
        fedilink
        English
        arrow-up
        6
        ·
        4 months ago

        Good post, it really is just different types of computers (although game consoles continue to get less and less interesting architecturally :( )

        Also I started writing a response to your original post (interesting question tbh) that is quickly scaling out of control kitty-cri-screm

        • ashinadash [she/her]@hexbear.netOP
          link
          fedilink
          English
          arrow-up
          8
          ·
          edit-2
          4 months ago

          Says rhe redditor who came into this post to be pointlessly pedantic - " smuglord You factually rebuked my well-ackshually so I will say no more smuglord "

          You could always actually answer A) the OP question, B) how what you said is relevant.

      • Oisteink@feddit.nl
        link
        fedilink
        English
        arrow-up
        1
        ·
        4 months ago

        That was / is slot-in, but yes. consoles was built more on the basis of coin-ups than what was the pc at the time. They had split personalities and was often compromised by several cpu/systems, while IBM’s pc was a single cpu thing. There was the co-processor but that was tightly knit to the processor and not independent.

        • Oisteink@feddit.nl
          link
          fedilink
          English
          arrow-up
          1
          ·
          edit-2
          4 months ago

          This modular design what was made them able to do what they did - and imo what ps4 was the last iteration of for sony, with nintendo having the gamecube. The PS4 could do amazing things, but only like 12 programmers in the world was able to use it fully.

          edit: Gc, not wii. Actually the gc was their first unified memory system. Sorry nintendo architects, my mistake

  • ashinadash [she/her]@hexbear.netOP
    link
    fedilink
    English
    arrow-up
    2
    ·
    4 months ago

    My conclusion about the PS3’s architecture is that while it lacks a shared memory pool or UMA due to the RSX being slapped on late in development, and UMA would have helped… broooooooo this thing has problems for days desolate The way every Cell SPE is essentially an island, with its own small memory devs upload executables to, and how they all work on a Ring bus, or Token Ring architecture… just why, Sony? Who even? Most game engines weren’t even dual threaded yet, Unreal 3 is not gonna run well on this bro. Bro why tho.