Welcome to Emulationworld

Forum Index | FAQ | New User | Login | Search

Make a New PostPrevious ThreadView All ThreadsNext ThreadShow in Flat Mode*


SubjectRe: Multi-threaded emulation? Reply to this message
Posted byMitaine
Posted on07/29/06 02:06 PM



> Some games uses multi CPUs... I suppose it would be possible to distribute each
> on separate threads so that each core can process one. Maybe this is already
> done, I'm not familiar with MAME's sourcecode in this area... anybody knows?

There's like one monster thread each month on mame.net/msg about this "issue" and the bottom line is : not worth the hassle. Multi-CPU games run full speed on today's single-cpu PCs and there's no speed gain splitting CPU and graphics on, say, sfrush - same framerate with or without rendering. Splitting one emulated CPU on 2 physical ones would probably generate more overhead than speed and no one wants to undertake this kind of experiment since it would be a lot of work for very uncertain results and an obfuscated source code.
That said, PCSX2 seems to have a lot of multithreading going on and people who are interested in the subject should look at that project instead of MAME - it makes more sense in every way.





-
Entire Thread
Subject  Posted byPosted On
*Dual core and emulation.  Inverno07/24/06 06:01 AM
.*I'd like to know as well  RoushiMSX07/24/06 08:00 PM
..*Multi-threaded emulation?  newsdee07/29/06 01:43 PM
....Re: Multi-threaded emulation?  Mitaine07/29/06 02:06 PM