PlayStation 3 Emulator Accelerated - RPCS3 Runs Up to 48% Faster on Ryzen 9 9950X3D

News

Translated with AI from the Russian original.

The creators of the RPCS3 project continue to delight players with optimizations. Recently, they announced another technical achievement — the PlayStation 3 emulator can run faster.

A developer under the nickname Megamouse noticed that “after compiling the first modules, PPU compilation only loads the CPU by about 20%.” He decided to investigate the reasons for this system behavior:

My search led me to memory allocation and deallocation operations in LLVM: it seems they all use one common lock. The problem is that over time, memory becomes fragmented, and many threads have to wait until a sufficiently large contiguous block is freed again.

Megamouse proposed a solution that allows improving the performance of the RPCS3 emulator — switching to SegmentHeap (a memory allocation mechanism in Windows). During Gran Turismo 6 tests on a PC with an AMD Ryzen 9 9950X3D processor, “PPU/SPU recompilation time was reduced from 2 min 50 s to 1 min 55 s; 48% faster!”

 

However, Megamouse warned that this solution requires additional testing. He admits that technical problems may arise:

I don't know if [SegmentHeap] will break anything or how it will affect overall performance. But now, during PPU compilation, my CPU is almost constantly loaded at nearly 100%, and the compilation itself is more than three times faster.

Never miss our newsAdd this site to your preferred sources to see us more oftenAdd on Google

Now on the front page