Results 1 to 3 of 3
  1. #1
    New Lounger
    Join Date
    Feb 2002
    Location
    Tasmania, Australia
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Controlling CPU utilization

    Is it possible to control how an application utilises a CPU? For example can an application which may take over a processor and show 100% CPU utilization be controlled so that CPU utilization reaches a maximum of say 70% whilst it is running?

  2. #2
    New Lounger
    Join Date
    Feb 2002
    Location
    Tasmania, Australia
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Controlling CPU utilization

    Thanks Mark, I'll check out the article

  3. #3
    Uranium Lounger
    Join Date
    Jan 2001
    Location
    Cincinnati, Ohio, USA
    Posts
    7,089
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Controlling CPU utilization

    Strictly speaking, no. That is a matter of how the program is written. You can, however, change the priority of a process (with a few exceptions) from among the following settings:

    <UL><LI>Low
    <LI>BelowNormal
    <LI>Normal
    <LI>AboveNormal
    <LI>High
    <LI>Realtime (bad, bad idea there)[/list]In some cases, this can make a difference in the CPU utilization. In most cases changing priority is a bad idea unless you are willing to take chances. For example, there are times when you may want to set a process to "high" such as CD burning, or defragmenting. What this does is to change how many timeslices a process receives from the processor - Low will not get nearly as many cycles as High will. It will still run, but if another process has a higher priority, it will be the first bumped off.

    There is an excellent, albeit somewhat technical, explanation of how this works on the WinNT Magazine site. If you're interested, check out <A target="_blank" HREF=http://www.winntmag.com/Articles/Index.cfm?IssueID=22&ArticleID=302>Inside the Windows NT Scheduler, Part 1</A>, which will tell you what you want to know and then some.
    -Mark

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •