Results 1 to 5 of 5

Thread: Tweaking a CPU for programs?

  1. #1
    Senior Member mikeo01's Avatar
    Join Date
    Oct 2011
    Location
    Wales!
    Posts
    1,402
    Thanks
    294
    Thanked
    98 times in 88 posts
    • mikeo01's system
      • Motherboard:
      • MSI B85i Gaming
      • CPU:
      • Intel Xeon 1230V3
      • Memory:
      • G.Skill RipJaws 2133MHZ
      • Storage:
      • Plextor M5S 128GB
      • Graphics card(s):
      • VTX3D R9 290
      • PSU:
      • Coolermaster VS450
      • Case:
      • Corsair 250D
      • Operating System:
      • Windows 8 PRO, Ubuntu
      • Monitor(s):
      • LG 22" W2261VP

    Question Tweaking a CPU for programs?

    I don't know if this is the right section, but it is to do with software I guess.

    Basically is there a way to allow my CPU to fully use a program. Say I want to run an Anti-Virus scan, is there a way to allow the program to fully use the CPU, instead of about 30% of it EVEN if I set priority to realtime/high. (excluding background tasks).

    Is there a batch file I could create to allow for a program to use as much CPU power as possible?

    Want to be able to apply the same technique to all other programs I wish to fully use.

    I have a triple core processor, so using the full multi-threading ability or full cores it has to offer. Don't want to be wasting processing power that I can use to its max.

    The reason I want to do this is to reduce latency in programs (say windows media player) and to get jobs done as fast as possible (scanning). As I won't be using my computer when scanning, so to max out the CPU would get the job done quicker.

    Hopefully you'll see my logic in this

    Thanks for any replies.

  2. #2
    Not a good person scaryjim's Avatar
    Join Date
    Jan 2009
    Location
    Gateshead
    Posts
    15,196
    Thanks
    1,231
    Thanked
    2,291 times in 1,874 posts
    • scaryjim's system
      • Motherboard:
      • Dell Inspiron
      • CPU:
      • Core i5 8250U
      • Memory:
      • 2x 4GB DDR4 2666
      • Storage:
      • 128GB M.2 SSD + 1TB HDD
      • Graphics card(s):
      • Radeon R5 230
      • PSU:
      • Battery/Dell brick
      • Case:
      • Dell Inspiron 5570
      • Operating System:
      • Windows 10
      • Monitor(s):
      • 15" 1080p laptop panel

    Re: Tweaking a CPU for programs?

    Probably not. I imagine the reason you don't see full CPU usage in some tasks is because the CPU is not the bottleneck for that task. For instance, when scanning the scanner is going to be the bottleneck, not your CPU - your CPU can deal with the data faster than the scanner can provide it, so it's mostly going to be sitting there waiting for data to handle.

    Also, you mention having a triple core CPU, but some tasks simply don't parallelise; that is, the algorithm for that task is a sequence of steps that have to be carried out one at a time in order. Multiple threads / cores only help when parts of a task can be independently worked on at the same time, so if the task a program does can't be broken down like that, it will only ever use one core / thread effectively.

    Bottom line - if a program is only using 30% of your CPU that's because it only needs 30% of your CPU, and you should be pleased that this means you've got 70% of your CPU that can be doing something else!

  3. #3
    Registered+
    Join Date
    Feb 2012
    Posts
    27
    Thanks
    0
    Thanked
    2 times in 2 posts

    Re: Tweaking a CPU for programs?

    If you want a certain process to have a higher priority you can do that in the task manager in the processes window. But as scaryjim said, it's not your CPU that is at full use for things such as scanning

  4. #4
    dct
    dct is offline
    Registered+
    Join Date
    Jan 2012
    Location
    London
    Posts
    20
    Thanks
    1
    Thanked
    1 time in 1 post

    Re: Tweaking a CPU for programs?

    Scanning files on disk is inherently IO bound and thus will take long time regardless of CPU availability. Moving to SSD will probably improve the bottleneck there.

  5. #5
    Senior Member DrATty's Avatar
    Join Date
    Jan 2007
    Location
    West Midlands
    Posts
    654
    Thanks
    18
    Thanked
    57 times in 53 posts
    • DrATty's system
      • Motherboard:
      • ASUS P5n32-e SLI 680i
      • CPU:
      • E6700 Quad Core Extreme 2.66GHz (Would go faster!)
      • Memory:
      • 2Gb OCZ 7200 (Dual Channel@900MHz at last !!!)
      • Storage:
      • 1Gb RAID for OS & Programs; 5Tb storage
      • Graphics card(s):
      • Nvidia 8800 GTX 768Mb
      • PSU:
      • 1000W OCZ
      • Case:
      • Mystique
      • Operating System:
      • XP & 7
      • Monitor(s):
      • NEC 19" CRT (4:3) - 1600x1200
      • Internet:
      • 2Mb/s Broadband (Direct to PC; distibuted over wireless LAN)

    Re: Tweaking a CPU for programs?

    I used software that set the affinity of a program (effectively the core or cores it used) under XP. A search suggested a few programs that might do what you want. I'm fairly sure that I used SysInternals Process Explorer.
    I haven't experimented with Windows 7. My experiences with XP were mixed but some programs benefitted. The gains became unnoticeable when I moved to a faster processor. That was some time ago and I'd guess you'd see little difference with a modern PC. You won't do any harm if you don't set the priority of a thread too high.
    ... I use now a big vent for the whole machine now, but I cant use it forever, it is my grandma's ventilator...

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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