Good evening, community.
I fear that my question is fairly global. But that is exactly the reason why I don't know where to search for the problem.
I have a PBWin created application that manages two worker-threads permanently during runtime.
Both threads change their individual icon in the main-window's statusbar always after 60 loops.
The synchronisation is done by using Window's CRITICALSECTION.
Normally the programm performes very fast, indicated by the fast change of the thread's icons, mentioned above.
But on some XP-machines the application works with reasonable reduced -speed. The speed is alway steady: either fast or slow on some machines.
This seems not to be related to the CPU-speed. I have one user with a
2.1 GHZ-CPU, but the application performes very slowly.
I'm using GFX-Tools, but don't know if there is a relationship to the question.
During runtime there should be no contact to the main-disk, because all data is loaded before into the processor.
The problem doesn't occour on WIn98 and on Vista as far as I have seen.
Interesting: On one XP-machine the programme starts to hurry, if one opens IE; after closing IE, it again creeps.
Additionally I should mention, that the running programme only uses 1% of CPU-capacity.
Where do I have to start searching?
Thanks for help and greetings from Germany
Heinz Grandjean
I fear that my question is fairly global. But that is exactly the reason why I don't know where to search for the problem.
I have a PBWin created application that manages two worker-threads permanently during runtime.
Both threads change their individual icon in the main-window's statusbar always after 60 loops.
The synchronisation is done by using Window's CRITICALSECTION.
Normally the programm performes very fast, indicated by the fast change of the thread's icons, mentioned above.
But on some XP-machines the application works with reasonable reduced -speed. The speed is alway steady: either fast or slow on some machines.
This seems not to be related to the CPU-speed. I have one user with a
2.1 GHZ-CPU, but the application performes very slowly.
I'm using GFX-Tools, but don't know if there is a relationship to the question.
During runtime there should be no contact to the main-disk, because all data is loaded before into the processor.
The problem doesn't occour on WIn98 and on Vista as far as I have seen.
Interesting: On one XP-machine the programme starts to hurry, if one opens IE; after closing IE, it again creeps.
Additionally I should mention, that the running programme only uses 1% of CPU-capacity.
Where do I have to start searching?
Thanks for help and greetings from Germany
Heinz Grandjean
Comment