Re: CPU, Increase Percentage by Björn
Björn
Wed Aug 17 04:12:48 CDT 2005
"Bernie Hunt" <bhunt@optonline.net> wrote in message
news:#t1dj9uoFHA.1464@TK2MSFTNGP14.phx.gbl...
> Is there a way to dictate how much of the processor's time is given to a
> script? My scripts normally do a lot of database accessing, so it's not
> uncommon to pin the CPU. I have one scrpt that when run, stays down around
1
> or 2% of the processor usage. At that rate it takes 20 minutes to run.
>
> Any ideas on how to get it more of the CPU?
>
> Note: During this time, the System Idle Process is runing above 90%.
>
> Thanks,
> Bernie
>
>
The only way you can increase the CPU usage is to decrease DB access times.
As long as the CPU runs below 100%, you can be sure that the script uses as
much processor time as it needs. Obviously, the script won't use the
processor at all while it's waiting for a response from a DB call, that's
why you only see 1-2% CPU usage. If you could find a way to cut down on the
DB access times, you would surely see an increase in CPU load.
--
Björn Holmgren