force a program to use only 1 core,how can i do?

drugo

New member
Member
VIP
Local time
7:22 PM
Messages
476
Hi
how can i do to force a program to use only 1 core ?

i know i can do it with task manager ,but it's boring run the program and go in the task manager and click on the program and set only 1 core


is there a way to force w7 to let a program use only 1 core?


thanks
 

My Computer

Computer type
PC/Desktop
OS
windows 7 ultimate 64bit
Hi
how can i do to force a program to use only 1 core ?

i know i can do it with task manager ,but it's boring run the program and go in the task manager and click on the program and set only 1 core


is there a way to force w7 to let a program use only 1 core?


thanks

Drugo

There are two ways. First when the software is developed it can be written that way and second using Program manager. why would you want to use only one core any way? windows is much more efficient when run equality on all cores.


Ken
 

My Computer

Computer Manufacturer/Model Number
HP Pavillion dv-7 1005 Tx
OS
Win 8 Release candidate 8400
CPU
[email protected]
Memory
4 gigs
Graphics Card(s)
Nvidia 9600M
Sound Card
HD built-in
Monitor(s) Displays
17" Wxga
Screen Resolution
1440x900
Cooling
none
Internet Speed
45Mb down 5Mb up
Hi
how can i do to force a program to use only 1 core ?

i know i can do it with task manager ,but it's boring run the program and go in the task manager and click on the program and set only 1 core


is there a way to force w7 to let a program use only 1 core?


thanks

Drugo

There are two ways. First when the software is developed it can be written that way and second using Program manager. why would you want to use only one core any way? windows is much more efficient when run equality on all cores.


Ken

because i encoded a video file , and the encoder overload my cpu , it pushes to 100% all my 4 cpu
 

My Computer

Computer type
PC/Desktop
OS
windows 7 ultimate 64bit
Last edited by a moderator:
Yes, you can specify the affinity

I had the same need (in my case for Nero Vision 9). The program would crash about half the time unless I restricted it to one core. What I did was to change the target command to force a single core whenever I would run the program.

Go to the program location and right click on it, then choose "properties". In the "Target" field, add

"C:\Windows\System32\cmd.exe /C start "" /affinity 2 "

(omit the quotes) in front of what is already there for the program. Your original target will have quotes around it already,... leave them there.

Note: I want to use CPU 1, so I specified "2". You may specify which CPU to use by substituting for the 2
1 = use CPU 0
2 = use CPU 1
3 = use CPU 1 and 0

My system is a Core 2 duo and it works like a charm. There are probably other affinity codes for those of you with more cores, but I'd only be guessing at what they are.
 

My Computer

Computer Manufacturer/Model Number
Dell Studio 1735
OS
Windows 7 Professional x64
CPU
Intel Core2 T8100 (2.1Ghz)
Motherboard
Dell
Memory
4GB
Hard Drives
2x WD 500GB
Back
Top