I just noticed this on the Valve wiki and thought it was worth sharing. Ryan Maclean, one of the mappers on No More Room In Hell, found and fixed a bug in VRAD that has a pretty big impact on multi-threaded compiles:
As of around ~5-10 years ago up until at least October, 2017 all known copies of VRAD have a thread sharing bug which causes performance to scale poorly to multiple threads, particularly on outdoor scenes with -final set (despite showing 100% CPU usage). The fix to this bug for SDK 2013 is available here: https://github.com/ValveSoftware/source-sdk-2013/pull/436 and edited DLLs are available here: http://www.content.tophattwaffle.com/Content/modded_vrad_dll.zip. Valve released a patched version of VRAD for CS:GO.
The GitHub page and zip file both contain some impressive benchmarks. I also tested the fix by compiling my map gm_boreas with my own VRAD build on an i7-8700K, and found that it brought my total compile time from 15m30s to around 8m20s. Pretty good!
If you're mapping for GMod, you'll probably want to use the Source 2013 files that are included in the zip file. The fix has no adverse effects on your map.
See also this video by TopHATTwaffle:
https://www.youtube.com/watch?v=YeMW2uWAWrU
someone needs to merge this into the existing updated compilers
Just need this fixed for the updated compilers and it will be perfect
I made a pull request for that when I saw TopHatWaffles video, its been merged into the repo just need him to build an updated version.
https://gmod.facepunch.com/commits/2018/January/#5018
Hopefully this is the "Potential vrad.exe performance improvements" that was mentioned!
Sorry, you need to Log In to post a reply to this thread.