This is a new thread based on a discussion here http://www.sawstudiouser.com/forums/...3&postcount=11
As mentioned in the above thread, changing the affinity for SAC to run on only one CPU can help with performance on some systems. In my case, it eliminated dropped buffers when using a remote. Yes, you can use the /onecpu switch at boot. But some times you don't want to eliminate both CPUs. Or you can use the single cpu menu setting in SAC itself, but that didn't work for me. I needed to set to a specific CPU. Setting affinity manually to the second CPU was the answer. But in a volunteer situation, having it done automatically is best.
Enter a utility program called Imagecfg. This is a microsoft utility that was available in the 2000 server toolkit and may already be in the windows directory for Vista and up, but is not in XP. You can download it here. http://www2.robpol86.com/guides/ImageCFG/
This page gives instructions on it's use. The only thing you really need to know is the command line switch for setting the process affinity (-a) and the CPU value.
The information on the web on Imagecfg.exe is slightly confusing. There are discussions on using batch files for the program you want to change, etc. But none of that is necessary. Run once, Imagecfg PERMANENTLY changes the hex image of the effected program itself. Because of the nature of SAC, you can run the program once on any computer and simply copy the effected SAC.exe to any machine that needs to run SAC on a single, specific CPU.
So, here's what you do. Put imagecfg.exe in the SAC directory. (You can actually run it from anywhere, even a flashdrive.) From a command prompt, use this string.
C:\SAC\imagecfg -a 0X02 "C:\SAC\SAC.exe"
SAC will now run on the second CPU EVERY TIME it loads. (Change the "2" for other CPUs)
You know it worked if the date on SAC.exe has changed to that days date. Test further by looking at the affinity for SAC in the task manager.
Hope this is helpful.
Connect With Us