rpcs3 icon indicating copy to clipboard operation
rpcs3 copied to clipboard

Need for Speed: Most Wanted - LLVM runs slower than ASMJIT

Open Ordinary205 opened this issue 2 years ago • 3 comments

Quick summary

Using LLVM recompiler runs significantly slower than ASMJIT.

Details

Heres the performance comparison between LLVM and ASMJIT.

LLVM recompiler: 9.2/10.8/11.8 FPS

Screenshot

LLVM

ASMJIT recompiler: 14.8/16.8/18.4 FPS

Screenshot

ASMJIT

I disabled the RSX tiled memory to show better performance results. The strange thing about LLVM is that it's supposed to be faster than/tied with ASMJIT, which is why I thought it would be necessary to post this bug.

Attach a log file

LLVM.log.gz

ASMJIT.log.gz

Attach capture files for visual issues

No response

System configuration

AMD Ryzen 5900X 12-Core Processor | 24 Threads | 15.89 GiB RAM | RTX 3080 driver 545.84.0.0 | Windows 10 Pro 22H2

Other details

No response

Ordinary205 avatar Oct 21 '23 08:10 Ordinary205

I've done some research by testing other SPU options. I've noticed that SPU Interpreter dynamic slightly improves the performance over ASMJIT, although this does causes a huge audio slowdown when enabling these options.

ASMJIT: 15.3/16.8/18.1 FPS

Screenshot

ASMJIT

Interpreter dynamic: 16.4/17.4/18.5 FPS

Screenshot

SPU dynamic

Interpreter static: 10.5/12.2/13.2 FPS

Screenshot

SPU static

I've ranked each SPU options from slowest to fastest:

  1. Interpreter dynamic (fastest)
  2. ASMJIT recompiler
  3. Interpreter static
  4. LLVM recompiler (slowest)

The ASMJIT performance seems to have regressed when enabling RSX tiled memory, while the LLVM performance works totally fine.

Ordinary205 avatar Dec 13 '23 16:12 Ordinary205

performance in this game has been improved a lot. A retest is needed

digant73 avatar Jun 08 '25 10:06 digant73

Can someone retest this?

FarmerJoe7355 avatar Nov 13 '25 16:11 FarmerJoe7355