performance - How to give 100 percent CPU usage to a process

07
2014-07
  • Jose Pita

    (windows 8.1 machine with i3) Is it possible to put a process using 100% of my CPU?

    I have a rather "slow poke" CPU and after a while working with an application, it gets really slow.

    I'm wondering if it is possible to give that application the ability to use all of the processing power in order to make it faster.

    I already set the priority to realtime on task manager and the affinity is for all 4 processors...

    Does this depend on who programmed the app?

  • Answers
  • Moses

    Long story short, no.

    In order for Windows to even function, there are a number of services and processes that are constantly running. In order to dedicate 100% of your CPU to one process, you would essentially need to not have an operating system, in which case the process likely could not run anyway.

    By default, applications will use as much CPU usage that they can get, unless they give you an option to throttle the usage.

  • MonkeyZeus

    You cannot give exclusive CPU rights to any single process. PERIOD

    The App requests resources from the OS to make sure everything remains stable and operational

    Why you ask? It would be so excellent you say?

    Think about this scenario:

    You have a true dual-core, no hyper-threading

    Give Excel 100% of Core 1

    Give Word 100% of Core 2

    Wanna watch a YouTube video while Excel is open? think again...

    Also, how is Windows supposed to juggle it's background processes

    I know this was a little brash but I hope it clears up your misconception of why you think your idea is good.

  • Flup

    Bear in mind that your application might be using resources other than the CPU. In your case, if you're upped its priority and you're still not seeing full CPU usage, it's probably waiting for disk or network I/O... and there's very little you can do about speeding that up other than buying new hardware!


  • Related Question

    windows xp - XP 100% CPU on Login, by random processes
  • Ro.

    Possible Duplicate:
    XP 100% CPU on Login, by random processes

    I have a serious issue on my Windexs XP machine.

    When I start it up it takes ages to login, then when I bring up task manager I find that its running at 100% CPU However, the process taking the CU are random (and there are usualy about 4 of them). They change a bit, but the CPU never drops below 100% at all.

    I have to hit the reset button and try boot again to resolve the issue, usually it takes two or three times to get a login without the problem, and then I just put the machine in standby mode when I'm not using it.

    I can't remember when this started happening, but its deffo more than a year ago.

    Its not just services though ... Things like NetMeter or TaskbarShuffle take up the CPU ... Then whenever I kill the processes, the CPU doesn't drop below 100% for even a second as some other random process takes the CPU.

    I know its not a virus ... What could it be ? Driver issue ?

    Any suggested paths for resolution would be appreciated.

    Cheers, Ro


  • Related Answers
  • Peter Mortensen

    The first step is to install Process Explorer (Sysinternals) in order to gather more information.

    For instance it has a hierarchical view of processes (which process started a given process, all the way back to System and explorer.exe)