I remember hearing somebody talk about programming hot loops in either the the PS3 or PS2 in Excel, to get a good handle on the concurrency question by having assembler in multiple columns next to each other
PlayStation 3 Architecture (2021)
21–30 of 63 posts
Re: PlayStation 3 Architecture (2021)
#22Earlier quoted context omitted.
Please see this: https://github.com/flipacholas/Architecture-of-consoles > A suggestion from me is to provide sources, and also maybe an epub of this What do you mean?
It seems they missed this. https://payhip.com/copetti
Re: PlayStation 3 Architecture (2021)
#23i always found this very appealing, having a blazing fast memory under programmer control so i wonder: why don't we have that on other cpus?
Re: PlayStation 3 Architecture (2021)
#24i did a bit dev on ps3 and i remember there was a small memory on the chip, like 256k that was accessible to programmer. i always found this very appealing, having a blazing fast memory under programmer control so i wonder: why don't we have that on other cpus?
Re: PlayStation 3 Architecture (2021)
#25I remember hearing somebody talk about programming hot loops in either the the PS3 or PS2 in Excel, to get a good handle on the concurrency question by having assembler in multiple columns next to each other
That would be the PS2’s VUs which had an upper and lower pipe and it was easier to write instructions for each in separate columns. Then in one SDK we received program called vcl which took a single list of instructions, doing all the pipelining for you, as well as optimizing loops and assigning registers automatically. It was a godsend.
Re: PlayStation 3 Architecture (2021)
#26Re: PlayStation 3 Architecture (2021)
#27I remember discussion at the time about how the PS3 was a uniquely difficult architecture to emulate. Was that true? Have those difficulties now been overcome? I see RPCS3 exists but I’ve no idea if it has done the difficult parts.
Re: PlayStation 3 Architecture (2021)
#28Re: PlayStation 3 Architecture (2021)
#29i did a bit dev on ps3 and i remember there was a small memory on the chip, like 256k that was accessible to programmer. i always found this very appealing, having a blazing fast memory under programmer control so i wonder: why don't we have that on other cpus?
Pure speculation from my side, but I'd think that the advantages over traditional big register banks and on-chip caches are not that great, especially when you're writing 'cache-aware code'. You also need to consider that the PS3 was full of design compromises to keep cost down, e.g. there simply might not have been enough die space for a cache controller for each SPU, or the die space was more vaulable to get a few more kilobytes of static scratch memory instead of the cache logic.
Also, AFAIK on some GPU architectures you have something similar like per-core static scratch space, that's where restrictions are coming from that uniform data per shader invocation may at most be 64 KBytes on some GPU architectures, etc...
Re: PlayStation 3 Architecture (2021)
#30Can it run deep learning workloads?
The PS3 was used a few time in clusters – some NN work was done on it back in the day. My understanding (somewhat echoed in TFA) is that when programming Cell, you really needed to think about communication patterns to avoid quickly running into memory bandwidth limitations, especially given memory hierarchy and bus quirks. https://open.clemson.edu/all_theses/629/