I came across these nice little registry tweaks while I was fixing up my main PC and figured I'd share here since they seem ideal for a Mame cabinet:
Warning: If you've never edited your registry before or feel a little uneasy doing so, this isn't for you. Making a mistake in your registry can seriously screw up your Windows setup, so make a backup first.
Run REGEDIT.
Under the key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management
Change the following...
DisablePagingExecutive : double click and change its 'Valua Data' from 0 to 1
LargeSystemCache : double click and change its 'Valua Data' from 0 to 1
Exit and reboot.
With these changes made, the first time Mame is run you probably won't notice any difference (ie it will take a few seconds for Mame to execute). However, the second time you run it Mame should execute instantly, since it's already been loaded into memory.
This tweak will require more memory than before, so if you notice your system has any memory issues afterwards, change the settings back to the way they were. It's not for everybody, but figured I'd share anyway.