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: Advance Projects (AdvanceMenu, etc) first launch super slow  (Read 1898 times)

0 Members and 1 Guest are viewing this topic.

telengard

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 772
  • Last login:March 07, 2023, 10:23:01 am
  • Yeah, it's a classic! 21+ on BYOAC and still goin
    • S T U R C A D E
Advance Projects (AdvanceMenu, etc) first launch super slow
« on: September 28, 2017, 11:22:21 am »
I'm running Windows XP SP3 in my cabinet and the first launch of advmenu takes an eternity.  Subsequent launches are normal.  This makes the boot time of my cabinet a bit longer than I'm used to.  Anyone else having this issue.  My guess is it's an SDL issue, but not sure what to do.
S T U R C A D E     M.A.M.E. Cabinet
http://www.briansturk.com/mame.html

telengard

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 772
  • Last login:March 07, 2023, 10:23:01 am
  • Yeah, it's a classic! 21+ on BYOAC and still goin
    • S T U R C A D E
Re: Advance Projects (AdvanceMenu, etc) first launch super slow
« Reply #1 on: October 11, 2017, 02:13:51 pm »
I'm running Windows XP SP3 in my cabinet and the first launch of advmenu takes an eternity.  Subsequent launches are normal.  This makes the boot time of my cabinet a bit longer than I'm used to.  Anyone else having this issue.  My guess is it's an SDL issue, but not sure what to do.

I've gathered a little more info last night using Process Monitor.  It seems after a fresh boot, it takes a lot of time reading all of the xml files (and the HUGE mame.xml) and then iterates over all of the rom folders and snaps, etc.  This takes quite a while.

What I don't understand is why it is doing it only that first launch, and then after subsequent launches it only takes a second or two.  I checked my clock and that is running OK, so it can't be that.
S T U R C A D E     M.A.M.E. Cabinet
http://www.briansturk.com/mame.html

behrmr

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 459
  • Last login:April 23, 2021, 09:17:13 am
Re: Advance Projects (AdvanceMenu, etc) first launch super slow
« Reply #2 on: October 11, 2017, 03:35:12 pm »
Probably OS cache is now loaded with all of those files. Subsequent launch is reading essentially from RAM vs Disk