Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Setting Permanent Process Affinity
New Posts  All Forums:Forum Nav:

Setting Permanent Process Affinity

post #1 of 2
Thread Starter 
Hi, I was looking how to permanently set process affinity, and have finally found a way and i'm glad to point out that it works, even on Vista! I am using it myself for gaming.

Method

Download imagecfg.exe from here

on this site, there is enough instruction for you to follow, but for the lazy people, i will repeat this.

1. Download imagecfg.exe
2. Move it to %systemroot%\\system32 (example C:\\Windows\\system32)
3. Run CMD and type the following (example imagecfg -a 0x1 c:\\path\o\\file.exe)

4. Use the following commands to set the executable to your desired core/s

imagecfg -a 0x1 for CPU core 0

imagecfg -a 0x2 for CPU core 1

imagecfg -a 0x3 to reset to both cores

I hope this will help to solve problems
Blacky ~ Newzi
(13 items)
 
  
CPUMotherboardGraphicsRAM
Core 2 Quad Q6600 G0 A-BIT IP35 Pro BFG 8800GTX flashed Ultra Crucial Ballistix 4GB 1066Mhz 
Hard DriveOptical DriveOSMonitor
Samsung Sata-II 250GB WesternDigital RaptorX 150GB Samsung 18x SATA DVD-RW Win Xp Pro Sp2 / Vista Ultimate Samsung 204BW "Black" 
KeyboardPowerCaseMouse
Saitek Eclipse Black/Blue OCz GameXtreme 1050W CM Stacker 810 Dual PSU Logitech MX518 
Mouse Pad
Steelpad S&S 
  hide details  
Reply
Blacky ~ Newzi
(13 items)
 
  
CPUMotherboardGraphicsRAM
Core 2 Quad Q6600 G0 A-BIT IP35 Pro BFG 8800GTX flashed Ultra Crucial Ballistix 4GB 1066Mhz 
Hard DriveOptical DriveOSMonitor
Samsung Sata-II 250GB WesternDigital RaptorX 150GB Samsung 18x SATA DVD-RW Win Xp Pro Sp2 / Vista Ultimate Samsung 204BW "Black" 
KeyboardPowerCaseMouse
Saitek Eclipse Black/Blue OCz GameXtreme 1050W CM Stacker 810 Dual PSU Logitech MX518 
Mouse Pad
Steelpad S&S 
  hide details  
Reply
post #2 of 2
Nice Find. +REP for you .

Whilst we're on the subject.... Although it's not permanent (i.e. you have to run your prog it from the app each time) there is a nice little app call "Launch'n'Set" which I use when I want to set a prog to run with a specific core.

Get it here if you are so inclined; it's twelfth from the bottom...

Highly-Annoyed
    
CPUMotherboardGraphicsRAM
Q6600 @ 3.6GHz (400x9) Gigabyte EP45-DS3P HD4850 512MB 630/1000 4GB DDR2-800 OCZ Gold Rv.2 
Hard DriveOptical DriveOSMonitor
700GB SATA300 Storage Sony: 1x DVDROM, 1x DVDRW XP Home SP3 17" LCD (Black/Silver) 
KeyboardPowerCaseMouse
Dell Quietkey Spacesaver Corsair TX 750W Antec SLK3700-BQE (Black) Logitech RX250 USB 
Mouse Pad
Black Generic 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
Q6600 @ 3.6GHz (400x9) Gigabyte EP45-DS3P HD4850 512MB 630/1000 4GB DDR2-800 OCZ Gold Rv.2 
Hard DriveOptical DriveOSMonitor
700GB SATA300 Storage Sony: 1x DVDROM, 1x DVDRW XP Home SP3 17" LCD (Black/Silver) 
KeyboardPowerCaseMouse
Dell Quietkey Spacesaver Corsair TX 750W Antec SLK3700-BQE (Black) Logitech RX250 USB 
Mouse Pad
Black Generic 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Operating Systems
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Setting Permanent Process Affinity