Re: Drastic slow-down in the execution time of my program
Marcelo R wrote:
I am not sure this is the best place to ask this; suggestions of
alternative forums will be greatly appreciated.
you might try microsoft.public.wi32.programmer.kernel. It's not quite
on-topic there either, but it's a good audience.
[detailed description elided]
Any ideas or suggestions of how to go about troubleshooting this
thing? I have been working with C for twenty years, but I am really
not all that familiar with Windows' innards.
You've definitely got a head-scratcher there, and it sounds like you've
already ruled out most of the usual suspects.
A couple of ideas: What if you make your test program do nothing at all -
does it still sometimes take a long time to run?
Can you make your test program write out incremental progress so that you
can see where the slowdown is occurring (i.e. all at the start, evenly
spread, etc). You said you've tried this on a virgin install of XPSP2 with
no divers - is the frame grabber hardware already present though? Any other
hardware devices beyond disk, memory and human interface that you can remove
from the system for testing?
Misbehaving network hardware can sometimes cause all sorts of odd pauses, as
can misbehaving IDE/ATA interfaced storage devices. I couldn't tell for
sure from your original post, but I'm assuming that you've reproduced this
behavior on several of your industrial PCs while being unable to reproduce
it anywhere else, yes?
-cd