The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    Limiting CPU Usage?

    Discussion in 'Windows OS and Software' started by Peon, Sep 21, 2009.

  1. Peon

    Peon Notebook Virtuoso

    Reputations:
    406
    Messages:
    2,007
    Likes Received:
    128
    Trophy Points:
    81
    I have a program that always uses 100% CPU even though it's not necessary. Naturally, this is causing everything else to slow down.

    Is there a way to restrict a program's CPU usage through the OS? The program runs smoothly on a Pentium 3, so as little as 10% CPU usage should be more than enough.
     
  2. Kocane

    Kocane Notebook Deity

    Reputations:
    395
    Messages:
    1,626
    Likes Received:
    15
    Trophy Points:
    56
    well perhaps making it only use one core and priority set to low might help.. i usually do that
     
  3. newsposter

    newsposter Notebook Virtuoso

    Reputations:
    801
    Messages:
    3,881
    Likes Received:
    0
    Trophy Points:
    105
    I really, REALLY like PRIO ( http://www.prnwatch.com/prio.html) when necessary to adjust process priority.

    Prio does a lot more and it works on XP, Vista, and Win7.
     
  4. Peon

    Peon Notebook Virtuoso

    Reputations:
    406
    Messages:
    2,007
    Likes Received:
    128
    Trophy Points:
    81
    The machine in question is single-core, sadly. Nonetheless, thanks for the priority suggestions, I had completely forgotten you can do that, and PRIO looks very interesting.

    It's a shame the CPU can't be partitioned the way a hard disk can.
     
  5. newsposter

    newsposter Notebook Virtuoso

    Reputations:
    801
    Messages:
    3,881
    Likes Received:
    0
    Trophy Points:
    105
    cpus can be partitioned, even (in theory) single cores. The cpu needs to support amd or intel virtual machine extensions and you need software to take advantage of it.

    as you suspect, this is hardly worth the effort on a single core, but you might want to read up on the machine extensions as well as core partitioning, virtual machines, threads, processes, priority setting, etc.