the mechanisms of CPU time-slice allocation among processes in Windows 2000

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Who can tell me the mechanisms of CPU time-slice allocation among processes in Windows 2000? Any difference to UNIX?
I wrote an application on the console but found that it was running very slowly while the console's windows was not put on the top. What are the differences in the CPU time-slice allocation among Windows Applications, Console Applications and Windows Services
 
moonriver said:
Who can tell me the mechanisms of CPU time-slice allocation among
processes in Windows 2000?

I'd recommend "Inside Windows 2000"; Although it covers far more than just
threading, it has an excellent chapter on the subject.
Any difference to UNIX?

I assume you only forgot the smily, didn't you?
I wrote an application on the console but found that it was running very
slowly while the console's windows was not put on the top. What are the
differences in the CPU time-slice allocation among Windows Applications,
Console Applications and Windows Services?

Go to "Control panel -> System properties -> Advanced -> Performance
Options". If you choose "Applications", the current foreground application
will get a "thread boost", i.e. more CPU time; Otherwise, all processes will
get the same share of the CPU.

AFAIK the task scheduler treats windows applications/console
applications/services equal.

Niki
 
Back
Top