|
|
Joined: Jan 2012
Posts: 1,180 Likes: 17
Very Senior Member
|
Very Senior Member
Joined: Jan 2012
Posts: 1,180 Likes: 17 |
Bit of a head scratcher here, this is on an i7-4790K (four physical cores), 16GB and a dedicated fast SSD, on Windows 10
MAME compilation for some time has become very slow, over 1h for a SUBTARGET=MESS build with -j9
The build environment is MSYS64 from the current tools. If you look at the statistics for the eight virtual cores, they're all busy but maybe at 10-20% maximum.
Now I have kept an old set of build tools that was manually updated from the 2016 archive ... I tried that today, and all virtual cores are at roughly 90%, the same build is done in just over 20min.
What's happening here?
NCR DMV- DEC Rainbow- Siemens PCD- ITT 3030-Oly People- Acorn A5000- Olivetti M20
|
|
|
|
Joined: May 2004
Posts: 1,772 Likes: 34
Very Senior Member
|
Very Senior Member
Joined: May 2004
Posts: 1,772 Likes: 34 |
unrelated, but I don't recommend using an SSD drive for compilation, you'll smash the write limit on them very quickly and end up with a dead SSD, compiling is very I/O intensive.
Last edited by Haze; 09/28/17 08:47 PM.
|
|
|
|
Joined: May 2004
Posts: 1,007 Likes: 118
Very Senior Member
|
Very Senior Member
Joined: May 2004
Posts: 1,007 Likes: 118 |
That might have been true for very old SSDs, but it's really a non-issue now. Even the cheap ones support writing terabytes of data. I don't even have a traditional HDD in my system anymore.
|
|
|
|
Joined: Aug 2012
Posts: 74
Member
|
Member
Joined: Aug 2012
Posts: 74 |
having some trouble compiling the latest build from git. Part way through I get this: mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/bin/ar.exe: unable to rename '../../../../mingw-gcc/bin/x64/Release/mame_mame/libie15.a'; reason: File exists
ie15.make:265: recipe for target '../../../../mingw-gcc/bin/x64/Release/mame_mame/libie15.a' failed
make[2]: *** [../../../../mingw-gcc/bin/x64/Release/mame_mame/libie15.a] Error 1
|
|
|
|
Joined: Mar 2001
Posts: 17,234 Likes: 260
Very Senior Member
|
Very Senior Member
Joined: Mar 2001
Posts: 17,234 Likes: 260 |
Try a make clean and a re-make. It sounds like a file got stuck somehow.
|
|
|
|
Joined: Aug 2012
Posts: 74
Member
|
Member
Joined: Aug 2012
Posts: 74 |
Just tried that and I get the same error but at a different spot. 4/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/bin/ar.exe: unable to rename '../Archiving libvsystem.a...
Compiling src/mame/video/crt.cpp...
../../../mingw-gcc/bin/x64/Release/mame_mame/libmicrokey.a'; reason: File exists
microkey.make:279: recipe for target '../../../../mingw-gcc/bin/x64/Release/mame_mame/libmicrokey.a' failed
make[2]: *** [../../../../mingw-gcc/bin/x64/Release/mame_mame/libmicrokey.a] Error 1
makefile:724: recipe for target 'microkey' failed
make[1]: *** [microkey] Error 2
Compiling src/mame/drivers/gts3a.cpp...
make[1]: *** Waiting for unfinished jobs.... I used the following commandline: [MINGW64] C:\msys64\home\mfora\mame>make -j9 avx2=1 NOWERROR=1 USE_NETWORK=1 TOOLS=1 ARCHOPTS=-march=native
|
|
|
|
Joined: Mar 2001
Posts: 17,234 Likes: 260
Very Senior Member
|
Very Senior Member
Joined: Mar 2001
Posts: 17,234 Likes: 260 |
Try turning down the j9 to j5 or something. It seems like something in your system doesn't like the full stress.
|
|
|
|
Joined: Aug 2012
Posts: 74
Member
|
Member
Joined: Aug 2012
Posts: 74 |
Nope still doesn't like that Archiving libflac.a...
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/bin/ar.exe: unable to rename '../../../../minCompiling src/osd/windows/winutil.cpp...
gw-gcc/bin/x64/Release/libflac.a'; reason: File exists
flac.make:319: recipe for target '../../../../mingw-gcc/bin/x64/Release/libflac.a' failed
make[2]: *** [../../../../mingw-gcc/bin/x64/Release/libflac.a] Error 1
makefile:52: recipe for target 'flac' failed
make[1]: *** [flac] Error 2
make[1]: *** Waiting for unfinished jobs....
|
|
|
|
Joined: May 2004
Posts: 1,007 Likes: 118
Very Senior Member
|
Very Senior Member
Joined: May 2004
Posts: 1,007 Likes: 118 |
Maybe your anti-virus is interfering.
|
|
|
|
Joined: Mar 2001
Posts: 17,234 Likes: 260
Very Senior Member
|
Very Senior Member
Joined: Mar 2001
Posts: 17,234 Likes: 260 |
Ooh, yeah, I forgot about that. Set your AV to exclude the MAME tree.
|
|
|
1 members (1 invisible),
217
guests, and
0
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
Forums9
Topics9,328
Posts122,128
Members5,074
|
Most Online1,283 Dec 21st, 2022
|
|
These forums are sponsored by Superior Solitaire, an ad-free card game collection for macOS and iOS. Download it today!
|
|
|
|
|