Noll, Jeffrey T UTAS wrote:
We have 3 processes that are synchronized with an interprocess mutex. Basically one of them has a multiplier which allows the others to run at a synchronized accelerated rate. Under XP we typically can get it to run at 5000 times realtime. New desktop refreshes are coming out running Windows 7 and the same code with faster machines with more memory are maxing out at 250 times with 95%+ cpu idle time.
Sorry for replying through email, but my response wasn't accepted by the mailing list moderator, apparently... Here's the original message that I've tried sending to the list: -->-- Noll, Jeffrey T UTAS wrote:
Works great under XP, our new Windows 7 desktops it are dog slow by a factor of around 50. Any ideas why this would be? Thanks!
Do a "(void) timeBeginUpdate(1);" at the top of main(), including <windows.h>. Does it make it any better? -sh --<-- The function call instructs the kernel to run at context switch HZ that's appropriate for demanding tasks. Be sure to use it when appropriate. Hopefully it's fine to try to help through private email. cheers, -sh