Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


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


13 Jun 2010   #1

windows 7 ultimate 64bit
 
 
force a program to use only 1 core,how can i do?

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 Windows 7 to let a program use only 1 core?


thanks

My System SpecsSystem Spec
.

13 Jun 2010   #2

Win 8 Release candidate 8400
 
 

Quote   Quote: Originally Posted by drugo View Post
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 Windows 7 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 System SpecsSystem Spec
13 Jun 2010   #3

windows 7 ultimate 64bit
 
 

Quote   Quote: Originally Posted by zigzag3143 View Post
Quote   Quote: Originally Posted by drugo View Post
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 Windows 7 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 System SpecsSystem Spec
.


13 Jun 2010   #4

Windows 7 x64 pro/ Windows 7 x86 Pro/ XP SP3 x86
 
 

My System SpecsSystem Spec
13 Jun 2010   #5

 

find the process in task manager, right click on it, select set affinity, choose which core you want it to use.. only way I know how, though I'm baffled as to why you would want to do that.

Processor Affinity - Set for Applications

and

Processor Affinity - Add Set Affinity to Context Menu
My System SpecsSystem Spec
08 Sep 2010   #6

Windows 7 Professional x64
 
 
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 System SpecsSystem Spec
Reply

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




Thread Tools



Similar help and support threads for2: force a program to use only 1 core,how can i do?
Thread Forum
Solved Force shortcut/program to start minimized? General Discussion
Force program to NEVER be on top. Software
Force bandwidth limit on program without using NetLimiter? Software
Solved How to force more threads to run a single core application? Performance & Maintenance
how to force any *.sdf file to open with My program ? General Discussion
How to force 32 bit program to run Software
Force a program to use a specific DNS Network & Sharing

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 04:29 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33