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
drugo

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


thanks


My System SpecsSystem Spec
.

13 Jun 2010   #2
zigzag3143

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 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 System SpecsSystem Spec
13 Jun 2010   #3
drugo

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 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 System SpecsSystem Spec
.


13 Jun 2010   #4
Bill2

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

My System SpecsSystem Spec
13 Jun 2010   #5
madtownidiot

 

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
dlmax63

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
Thread Forum
Can I force a specific program to use 100% CPU?
not sure if this is the right place to post, I have an animation program that renders in AVI, but it takes over 6 hours to render a 5 minute video. and my CPU usage is only topping out at 40% (45% when set to Real Time priority)! is there any program or way to force that animation program to use...
Hardware & Devices
When Task Manager can't force a program to close, what then please?
Hello I have been trying to open Picasa for a couple of hours now - it no longer responds when double-clicked in 'my programs', or if I right click and choose 'open' No other programs are affected and everything else works as it should. By Googling I've discovered that the program is...
General Discussion
Force shortcut/program to start minimized?
Well, basically I want to force a program to start minimized. I tried making a shortcut and changing the Run property value from "Normal window" to "Minimized". Sadly, that didn't seem to do anything this time... Just for the record (I hope I'm not breaking any rules), here's the program...
General Discussion
How to force more threads to run a single core application?
Hi everyone. This is my first time posting, so bear with me if I posted in the wrong place, wrong title etc.. I'm running X3: Albion Prelude on my laptop, and performance starts to lag the more I play the game. I'm guessing this is because the game has to keep track of and process more data as the...
Performance & Maintenance
how to force any *.sdf file to open with My program ?
hi how to force any *.sdf file to open with My program ? for example: every *.sdf file will open with this program: d:\MyProg.exe i need any registry value for this how to do it ?
General Discussion
How to force 32 bit program to run
I am trying to run a 32 bit program to run on my Win7. I have tried several different earlier versions (XP,Vista,etc) and can't get it to work. It's a program from a credit union that only works on 32 bit. Any suggestions ??
Software

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 18:26.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App