Posts: 3
Threads: 1
Joined: Feb 2011
Reputation:
0
Looked around and couldn't find the answer to this. Why does the emulator only use 2 threads? It seems like it would be much more effective if it could run with 4 or 6 even for those with X6 processors.
I suppose it must be somewhat hard to get it to run with more than 2 threads or it would have been done before?
Posts: 30.372
Threads: 16
Joined: Dec 2008
Reputation:
638
Location: 127.0.0.1
Quote:It seems like it would be much more effective if it could run with 4 or 6 even for those with X6 processors.
Actually, not really. That's mainly why making pcsx2 work on more than 2 cores would be a hard work for little gain.
CPU : AMD Ryzen 7 3800X
Mobo : Asus PRIME B450-PLUS
GPU : NVIDIA GeForce RTX 3070
RAM : 16 Go
Posts: 195
Threads: 0
Joined: Feb 2009
Reputation:
5
07-12-2011, 11:46 PM
(This post was last modified: 07-12-2011, 11:47 PM by pseudonym.)
Because emulation is fundamentally a serial process and while the PS2 has chips which perform their tasks in parallel with the CPU the only one which has so far proved practical to thread has been the GS because the others force syncs too often. We have plans but they aren't happening this year.
Or if that means nothing to you: because threads aren't fairy dust.
Posts: 3.559
Threads: 21
Joined: Jul 2010
Reputation:
61
Location: Australia
its not impossible, but not on any of the devs targets
Posts: 30.372
Threads: 16
Joined: Dec 2008
Reputation:
638
Location: 127.0.0.1
(07-13-2011, 12:10 AM)Codemastadink Wrote: How would it have little gain? If it could utilize twice the cores then that's effectively twice the processing power. I don't get it? O.o
you don't get it.
processing power can't be "added" like that.
it would allow more tasks to be made at the same time. now, as Pseudonym said, synchronisation between cores would be hardly as accurate as the PS2's ones.
CPU : AMD Ryzen 7 3800X
Mobo : Asus PRIME B450-PLUS
GPU : NVIDIA GeForce RTX 3070
RAM : 16 Go
Posts: 30.372
Threads: 16
Joined: Dec 2008
Reputation:
638
Location: 127.0.0.1
that's what I got from Pseudonym's explanations
CPU : AMD Ryzen 7 3800X
Mobo : Asus PRIME B450-PLUS
GPU : NVIDIA GeForce RTX 3070
RAM : 16 Go