• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Development Discussion v
« Previous 1 … 8 9 10 11 12 … 117 Next »

Fastmem
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode
Fastmem
06-22-2020, 02:18 AM
#1
Miksel12 Offline
Member
***
Posts: 143
Threads: 7
Joined: Jan 2019
As far as I know, Yuzu doesn't use Fastmem. But the performance on a modern midrange pc seems to be really good when using Yuzu. This PR for Dynarmic: https://github.com/MerryMage/dynarmic/pull/528 adds Fastmem but it seems that the performance difference is not as big as with Dolphin. With Dolphin the difference I have seen between Fastmem and non-Fastmem can range between 1.5 and 4x.

I was wondering if this is because of the difference between Wii and Switch or if the implementation is different?
Find
Reply
06-28-2020, 07:14 PM
#2
merry
Unregistered
 
dynarmic has multiple methods for memory access.

The simplest method is with callbacks on each memory read / write. This is what dolphin does when fastmem is disabled (± some optimisations around predictable addresses).

One thing that dynarmic does that dolphin does not is: Inlining page-table access code into emitted code. This is much faster than a function call.

Fastmem does not really as big of a speed improvement over inlined page-table access because it's a smaller reduction in codesize per emulated memory access.
Reply
06-28-2020, 11:12 PM
#3
Miksel12 Offline
Member
***
Posts: 143
Threads: 7
Joined: Jan 2019
I see, thanks for your answer. Is implementing inlined page-table in Dolphin possible? And would/could it make memory locking trivial performance wise?
Find
Reply
« Next Oldest | Next Newest »


  • View a Printable Version
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma