Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Top of Line PC's Versus MAME  (Read 1918 times)

0 Members and 1 Guest are viewing this topic.

Scott84

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 717
  • Last login:May 17, 2022, 08:24:59 pm
Top of Line PC's Versus MAME
« on: September 17, 2005, 01:48:47 am »
Im wondering if anyone has the new AMD Athlon XP 4800+ kicking around and want to see how the CHD Games run on them?

Just curious how good CHD games would run on one of the best processors out!

Thanks if anyone can test it!
"Computer games don't affect kids, I mean if Pac Man
affected us as kids, we'd all be running around in
darkened rooms, munching pills and listening to
repetitive music." -- Marcus Brigstocke

Minwah

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7662
  • Last login:January 18, 2019, 05:03:20 am
    • MAMEWAH
Re: Top of Line PC's Versus MAME
« Reply #1 on: September 17, 2005, 08:10:39 am »
Lots of the CHD games run ok on oldish hardware.  A better test would probably be some of the 3d games, IMO.

MaximRecoil

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1729
  • Last login:September 12, 2022, 09:50:44 pm
Re: Top of Line PC's Versus MAME
« Reply #2 on: September 17, 2005, 05:30:11 pm »
Mame would run about the same as on the equivalent speed single core AMD 64. Mame is single threaded. However, in addition to running all of the games the same, with the dual core processors you could also say, encode a video in the background without slowing down Mame.
« Last Edit: September 17, 2005, 05:31:46 pm by maxim_recoil »

pointdablame

  • I think Drew is behind this conspiracy...
  • Trade Count: (+7)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5034
  • Last login:Yesterday at 11:13:52 pm
  • Saint and Woogie let me back in!
Re: Top of Line PC's Versus MAME
« Reply #3 on: September 17, 2005, 06:33:53 pm »
If you're looking to do this test, you'd want something like an FX-57 on a phase change system or a EE Pentium4 on phase change.  Get that CPU as fast as you can and then test.  That's the best way to do it.
first off your and idiot

Man I love the internet, haha.

Buddabing

  • Wiki Master
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 1845
  • Last login:February 12, 2015, 02:51:45 pm
  • I'm a llama!
Re: Top of Line PC's Versus MAME
« Reply #4 on: September 20, 2005, 11:01:21 am »
What Maxim and pointdablame said....

I personally would be interested in a price/performance comparison, ie. what Intel and AMD processor of each family (A64, AXP, P4, etc) is the minimum necessary to run X at some number of FPS, using the canned build and an optimized build, with certain MAME options set.

This would be quite a large project.
I have changed my nickname to "Cakemeister". Please do not PM the Buddabing account because I do not check it anymore.

Please read the wiki!

Lilwolf

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4945
  • Last login:July 31, 2022, 10:26:34 pm
Re: Top of Line PC's Versus MAME
« Reply #5 on: September 20, 2005, 01:14:01 pm »
I would love to see someone play all games and rate the fps on them... And sort them that way

So you can say Game X runs... so all lower on the list might have preoblems..

basically just rank the requirements for them all.

Boz

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 371
  • Last login:March 23, 2025, 03:55:29 pm
    • Battle Chasers Upright Cabinet
Re: Top of Line PC's Versus MAME
« Reply #6 on: September 22, 2005, 12:25:23 pm »
I thought the bottleneck for many of the CHD's was spindle speed. Am I wrong?

In addition, I wasn't aware that mame is single-threaded. It looks like it's developed in some C variant so I'd wonder if it's a strict limitation of the ROMs that forces the mamedevs to only spawn a single thread

-In2

Silver

  • Wiki Contributor
  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1668
  • Last login:April 16, 2025, 04:09:53 pm
  • Cunning like the Fox.
    • Mods'n'Mods
Re: Top of Line PC's Versus MAME
« Reply #7 on: September 22, 2005, 06:50:11 pm »
I thought the bottleneck for many of the CHD's was spindle speed. Am I wrong?

Not sure I quite follow - spindle speed is a physical aspect of a hard drive. The spindle speed of the cpu you run mame on is irrelevant. I don't know how CHD's are read by mame but I suspect that loading the image directly as it does is almost always faster than the original game could supply data off there own HDs.

The issue in speed is of emulation of the system. The fact that CHD games are often talked about as slow is because they tend to be newer games (they had HD's after all) and therefore tend to be based on newer and faster hardware, hence take more power to emulate.


Quote
In addition, I wasn't aware that mame is single-threaded. It looks like it's developed in some C variant so I'd wonder if it's a strict limitation of the ROMs that forces the mamedevs to only spawn a single thread

What a program is written in has almost no bearing on whether it is single or multithreaded. The original systems design/roms are completely irrelevant.

Writing multithreaded applications is very hard. There are also exceptionly few programmers that have a lot of experience writing multithreaded applications (multiple processors have never threatened to be mainstream until recent multicore processors). People tend to imagine that complex emulated games could be sped up by sticking 1 emulated cpu on one processor and emulating the other on the 2nd cpu/core. The problem is that these emulated cpus have to communicate on an extremely exact timing schedule that takes an *unbelieveable* amount of tough programming to achieve across seperate cpus. So much so that it has been suggested that even if all the effort was gone to, the overhead all the extra code to keep the emulated cpus in sync would probably cancel out all the speed advantage, taking you back to square one, except with a program thats probably twice as hard to debug, and probably buggier.

At most you can offload some non-emu related tasks, like drawing the bitmaps to the screen etc..., to a 2nd cpu, but you would only gain a tiny amount. The best advantage is that all OS related tasks could be kept on one core, allowing mame exclusive access to the 2nd core. I'm sure this could help by 5%(?anyone?). So sadly thats the best to hope for, at least until programmers spend a few years really getting to grips with multicore, or someone releases a highly optimised auto-matic multithreading compilier. (I don't see that happening).

SirPoonga

  • Puck'em Up
  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 8188
  • Last login:July 20, 2025, 03:37:24 pm
  • The Bears Still Suck!
Re: Top of Line PC's Versus MAME
« Reply #8 on: September 22, 2005, 07:25:14 pm »
I thought the bottleneck for many of the CHD's was spindle speed. Am I wrong?
No, the CHD has nothing to do with the performance of most CHD games, it's the fact they are newer games that ran on newer 3d graphics chipsets that need to be emulated.

Boz

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 371
  • Last login:March 23, 2025, 03:55:29 pm
    • Battle Chasers Upright Cabinet
Re: Top of Line PC's Versus MAME
« Reply #9 on: September 22, 2005, 09:40:28 pm »
Not sure I quite follow - spindle speed is a physical aspect of a hard drive. The spindle speed of the cpu you run mame on is irrelevant.

Considering we are talking about CHD's (compressed hard drives!?!?!, duh me ::)), I should have been more clear. I have a 2.53/1Gb and a drive that moves data at between 4,500 and 5,500 Kb/s. Any time I have tried to run a game with a CHD, I notice, even when the game appears to be fully loaded, that I'm running up against significant I/O on my physical drive. That's really what I was talking about. I used "spindle speed" more as techie slang. With that, I guess I suspected one of the major reasons for the poor performance was because my drive couldn't handle the intense I/O.

What a program is written in has almost no bearing on whether it is single or multithreaded. The original systems design/roms are completely irrelevant.

Understood. Agreed. I shot myself in the foot again by not being clear. >:( I was talking about the free-threading benefits of writing in a C variant as opposed to the only other OO language with which I am familiar VB6. I know nothing of the language, but, from past conversations I have always had the impression that something like C++ gives the author the option of free-threading -- though, admittedly, I can't even talk about the topic intelligently. However, given what you've outlined as the hurdles to writing multi-threaded apps, as well as the years of experience the Mame Devs have, I'm sure it was a consideration at one point and abandoned when it didn't make sense (likely for the reasons you outlined).

Interesting lesson though. Thanks for clearing up some of my misconceptions.

-In2

paigeoliver

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10994
  • Last login:July 06, 2024, 08:43:49 pm
  • Awesome face!
Re: Top of Line PC's Versus MAME
« Reply #10 on: September 23, 2005, 01:17:14 am »
Um, the significant I/O on your system might be you using swap space.

I hate swap space with a passion. Prior to XP I would disable it on every system I owned. I haven't experimented with disabling it on XP though.
Acceptance of Zen philosophy is marred slightly by the nagging thought that if all things are interconnected, then all things must be in some way involved with Pauly Shore.

picasso

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 78
  • Last login:December 01, 2014, 12:54:32 am
Re: Top of Line PC's Versus MAME
« Reply #11 on: September 23, 2005, 11:45:10 am »
If you are worried about I/O you could creadte a very large RAM drive and see if that speeds things up  :)