Re: Windows service Vs Console app performance

From: William Stacey [MVP] (staceywREMOVE_at_mvps.org)
Date: 06/25/04


Date: Fri, 25 Jun 2004 05:28:04 -0400

Agree, but priority is a funny thing. Moreover VS is foreground app, any
other open windows, task bar applets, mouse, etc. It adds up. I would
still suspect this is the issue. Easy to test. Ollie, have you tested this
yet? Please post back.

-- 
William Stacey, MVP
"Russell Hind" <no-one@no-where.com> wrote in message
news:#0wI4voWEHA.2816@TK2MSFTNGP11.phx.gbl...
>
>
> William Stacey [MVP] wrote:
>
> > I know w2k+ you can set priority of system for forground programs (i.e.
> > your console, winapps, etc) and services to be different.  Default is
> > higher prio for programs (which is normally better for interactive
> > use.)  Try changing performance options in System Icon to Background and
> > see if that changes speed for you.  See the JPG.
> >
>
> But as I've mentioned, this should only help if he has other processes
> running using lots of CPU time, then the service will not get as much
> time on the CPU.
>
> But if the CPU is basically idle so only his service is running, then it
> can have as much CPU time as it wants, bar what is needed for the OS, so
> it may make a small difference if non-essential OS services are now
> higher priority, but not to the extent the user is seeing.
>
> Maybe he has another processor intensive task running at the same time?
>
> Cheers
>
> Russell


Relevant Pages

  • Changing Program Process Priority Defaults
    ... changing the program priority. ... It was distributed to limit the CPU time that the SETI ... >My kids love playing a Disney Lama Game. ... >automatically force the default to normal priority? ...
    (microsoft.public.windowsxp.general)
  • Re: -mm seems significanty slower than mainline on kernbench
    ... If it does we probably have to wear the cost as ... At the most it changes the frequency at which load balancing occurs. ... priority tasks were balanced more frequently and ended up getting their own ... a kernbench is only about 1% of the total CPU time and the extra ...
    (Linux-Kernel)
  • Re: DirectShow Thread Priority
    ... > I'm not persuaded that it does run at a higher priority. ... other CPU-intensive tasks going on during video rendering, ... will take most of the CPU time anyway. ... difference in performance by the encoder. ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: cooperative multitasking scheme
    ... You must first define what you want priority to mean. ... each level has certain percentage of the CPU time. ... You really need to know what you want the priority system to achive before ... you look at ways of implementing your schedular. ...
    (comp.arch.embedded)
  • Re: Possible fix for Windows Update systems hangs
    ... This posting is provided "AS IS" with no warranties, ... > was using 99% of the CPU time. ... > From TaskManager set the Priority of the EXPLORER ... > Run ADD/REMOVE PROGRAM from control panel. ...
    (microsoft.public.windowsupdate)