sleep(1) lasts up to 70 ms on idle Athlon 64 X2

A

Andreas Bormann

- Win2000 Prof SP4, update rollup 1 for SP4 installed
- Athlon 64 X2 5600+, 1 GB
- AM2NF3-VSTA, nForce3 250, MCP


Hi,

after upgrading to a new Athlon 64 X2 5600+ I experienced the well
known problem of multimedia and graphics applications on this dual
core platform: occasional jerking and bumpy replay and performance.

To find out more about it I wrote a Delphi (Win32) application which
continuously calls sleep(1) and measures the waiting time spend in
that call. I used both timeGetTime and QueryPerformanceCounter to do
that and compared the results.

I found that the sleep call usually last the expected 1-2 ms but
occasionally (once in a few seconds) the call can last up to 70 ms.
This is true while there are no other applications with cpu usage are
running. And it holds even if I set the affinity to one processor and
the priority to realtime while the cpu usage is almost idle!

So I assume these occasional time exceeding sleep calls may be the
cause of the stuttering. It should be a bug in the Win2000 scheduler.
There exists the well known hotfix KB896256 to fix that issue in
WinXP. Does anyone know a corresponding fix for Win2000?

Andreas
 
D

Dave Patrick

If such a thing exists you'll probably need to call Microsoft product
support to get it.

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top