Previous Thread
Next Thread
Print Thread
#122032 02/28/23 04:21 AM
Joined: Feb 2021
Posts: 12
T
Member
OP Offline
Member
T
Joined: Feb 2021
Posts: 12
I noticed that MAME emulator is running in single thread process. I think that multi-threading could help emulator to speed up so much when running device drivers in separate individual thread processing with interprocess communication.

That could be good for emulating headless mainframe computers like IBM 360, PDP-10 and VAX systems - just display console panel controls.

Does MAME handle multithreading?

Joined: Mar 2001
Posts: 16,989
Likes: 84
R
Very Senior Member
Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,989
Likes: 84
MAME can thread things (polygon drawing in 3D games is threaded, for instance), but most emulated systems have all of the components in the same time domain so you'd blow a lot of potential performance on synchronization. (ETA: it's worth noting that sync is much much cheaper on today's heavily multi-core CPUs than it was 15 years ago when 2 cores was 2 sockets, so that might be worth investigation in a fork at some point, but for now there are a lot of lower-hanging ways to improve perf available).

Last edited by R. Belmont; 02/28/23 03:05 PM.

Link Copied to Clipboard
Who's Online Now
5 members (sairuk, Olivier Galibert, Pernod, 2 invisible), 15 guests, and 5 robots.
Key: Admin, Global Mod, Mod
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics9,171
Posts120,123
Members5,039
Most Online1,283
Dec 21st, 2022
Our Sponsor
These forums are sponsored by Superior Solitaire, an ad-free card game collection for macOS and iOS. Download it today!

Superior Solitaire
Forum hosted by www.retrogamesformac.com