TIP: Click on subject to list as thread! ANSI
echo: nthelp
to: Randall Parker
from: John Beckett
date: 2005-03-06 08:43:28
subject: Re: WinXP task scheduling is pretty lousy

From: John Beckett 

Randall Parker

wrote in message news::
> I find that Borland C++ Builder builds slow down by a few orders of magnitude
when
> BCB is in the foreground compiling and I have a bunch of browser pages in
FireFox
> pegging the CPU. I would have expected the OS to give the foreground task
more time
> to run. But maybe most of the Flash CPU overhead is in some driver and time
in the
> driver isn't doled out by the task scheduler.

Complex schedulers like that of Windows provide a certain minimum amount of
CPU time to a process once it is decided that the process deserves another
turn. The time can be abandoned if the process blocks (e.g. reads data from
disk), but if the process has calculations to do, it will get its full
period.

I have temporarily forgotten the name of the period. It's only
milliseconds, but it means that if processes are using the CPU they will
get a reasonable share. This is on the principle that you hope the process
will finish whatever work it is trying to do, rather than waste CPU cycles
switching mindlessly from one process to another.

John

--- BBBS/NT v4.01 Flag-5
* Origin: Barktopia BBS Site http://HarborWebs.com:8081 (1:379/45)
SEEN-BY: 633/267 270 5030/786
@PATH: 379/45 1 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.