Please register or login. There are 4 registered and 2057 anonymous users currently online. Current bandwidth usage: 127.07 kbit/s September 05 - 11:56am EDT 
Hardware Analysis
      
Forums Product Prices
  Contents 
 
 

  Latest Topics 
 

More >>
 

    
 
 

  You Are Here: 
 
/ Forums / Windows XP, 2000, 98 /
 

  Can I permanently set affinity to one core for a program? 
 
 Author 
 Date Written 
 Tools 
Hans Moleman Apr 29, 2008, 04:10pm EDT Reply - Quote - Report Abuse
Send Message - Add to Buddy List Replies: 10 - Views: 1327
I'm not sure how many people have had to deal with this, but many older games will not run properly on dual core processors. The only way to fix the problem is to bring up the task manager, right click the process, and manually set the affinity to Core 0. Does anyone know a way to permanently set the affinity of a program so it only runs on one core every time you start it? I'm so sick of constantly bringing up the task manager for this issue.

I've found a few lame programs that can set the affinity for you, but then you have to start that program, and run the game through that program which basically adds enough steps so as to completely negate any advantage it might have. If one of those program would run at startup and just sit in the background and do their thing it would be nice, but I can't find any like that.


AMD Athlon64 X2 3800+
ABit AN8 Ultra nForce4 Ultra Chipset
Foxconn FV-N79SM2D2-OC GeForce 7900GS 256MB
CORSAIR ValueSelect 2GB (2 x 1 GB) DDR 400
Maxtor MaXLine Pro 500GB 7200 RPM SATA 3.0Gb/s
ePOWER ZU-550W ATX12V Version 2.0
Want to enjoy less advertisements and more features? Click here to become a Hardware Analysis registered user.
McFly Apr 29, 2008, 04:18pm EDT Reply - Quote - Report Abuse
Send Message - Add to Buddy List

Edited: Apr 29, 2008, 04:19pm EDT

 
>> Re: Can I permanently set affinity to one core for a program?
Yes, I use:
http://www.robpol86.com/pages/imagecfg.php

Will set/reset the affinity mask of an executable.

overly detailed specs in user profile • Xfire: mcfly2000
AMD X2 3800+ @2.8GHz  |  DFI LP nF4 Ultra-D  |  4GB G.SKILL DDR400  |  ATI c3D X800GTO  |  Vista Ultimate x64 Edition SP1
Hans Moleman Apr 29, 2008, 05:00pm EDT Reply - Quote - Report Abuse
Send Message - Add to Buddy List  
>> Re: Can I permanently set affinity to one core for a program?
Awesome McFly. Thanks a lot for the help. It works perfectly.

AMD Athlon64 X2 3800+
ABit AN8 Ultra nForce4 Ultra Chipset
Foxconn FV-N79SM2D2-OC GeForce 7900GS 256MB
CORSAIR ValueSelect 2GB (2 x 1 GB) DDR 400
Maxtor MaXLine Pro 500GB 7200 RPM SATA 3.0Gb/s
ePOWER ZU-550W ATX12V Version 2.0
McFly Apr 29, 2008, 05:09pm EDT Reply - Quote - Report Abuse
Send Message - Add to Buddy List  
>> Re: Can I permanently set affinity to one core for a program?
Happy to help + glad it worked. :_)

overly detailed specs in user profile • Xfire: mcfly2000
AMD X2 3800+ @2.8GHz  |  DFI LP nF4 Ultra-D  |  4GB G.SKILL DDR400  |  ATI c3D X800GTO  |  Vista Ultimate x64 Edition SP1
~Vel May 19, 2008, 07:18pm EDT Reply - Quote - Report Abuse
Send Message - Add to Buddy List  
>> Re: Can I permanently set affinity to one core for a program?
I'm trying to do this and still having an issue. I followed the directions on the site but it still says

IMAGECFG: unable to map and load C:\Program Files\Zune\Zune.exe

The command I'm using is this.

imagecfg -a 0x1 "%programfiles%\zune\zune.exe"

Same result when doing -u {pathname} the line previous.

__________________________
Athlon X2 4850e 2.5ghz | Biostar TForce TA780G | 2gb G.Skill 800mhz | WD 320gb SATA 3.0Gb/s | Windows Vista Ultimate x86 SP1 | More in profile.
DublinGunner May 19, 2008, 07:39pm EDT Reply - Quote - Report Abuse
Send Message - Add to Buddy List  
>> Re: Can I permanently set affinity to one core for a program?
Hans, have you the MS dual core hotfix installed, and the AMD driver???

There should be no need for permanently setting the affinity is you do.

I had issues with older programs until I installed those properly, then everything was perfect.

E6400 L628 @3.4
Thermalright Ultra 120 Extreme
Abit Quad GT
2GB Team Xtreem DDR2-850 4 4 3 10
Leadtek 8800GT 512
OCZ GameXstream
Meats of Evil May 19, 2008, 08:40pm EDT Reply - Quote - Report Abuse
Send Message - Add to Buddy List

Edited: May 19, 2008, 08:40pm EDT

 
>> Re: Can I permanently set affinity to one core for a program?
Hey thanks for that app Mk Fly.

Way out of topic but whats up with the Latvia nickname? You moved over there or something? :/

Antec 900 Case
Windows XP Home Edition
Q6600 G0 @ 3.2ghz / Zalman 9500
Evga 680i NF-68 T1
OCZ x2Gb SLI DDR2@800/ 4-4-4-12-1t timings
8800gt @ 700/1750/975
OCZ GameXStream 700w
Seagate160gb,Hitachi 260gb HD
X-fi Xtreme Music
3DMark06(Free)-14,439
Hans Moleman May 19, 2008, 09:34pm EDT Reply - Quote - Report Abuse
Send Message - Add to Buddy List  
>> Re: Can I permanently set affinity to one core for a program?
DublinGunner said:
Hans, have you the MS dual core hotfix installed, and the AMD driver???

There should be no need for permanently setting the affinity is you do.

I had issues with older programs until I installed those properly, then everything was perfect.


You know, I just went over everything and realized that when I put the registry entry in for the hotfix I had the hexidecimal value set as 0 instead of 1. I think that's why I was having trouble. Now it looks like I won't need that program. Either way, I've learned new things. Thanks.

AMD Athlon64 X2 3800+
ABit AN8 Ultra nForce4 Ultra Chipset
Foxconn FV-N79SM2D2-OC GeForce 7900GS 256MB
CORSAIR ValueSelect 2GB (2 x 1 GB) DDR 400
Maxtor MaXLine Pro 500GB 7200 RPM SATA 3.0Gb/s
ePOWER ZU-550W ATX12V Version 2.0
McFly May 19, 2008, 11:45pm EDT Reply - Quote - Report Abuse
Send Message - Add to Buddy List  
>> Re: Can I permanently set affinity to one core for a program?
Meats of Evil May 19, 2008, 05:40pm PDT
Way out of topic but whats up with the Latvia nickname? You moved over there or something? :/

I've moved back. I'm currently living in a derelict warehouse with a few others.

overly detailed specs in user profile • Xfire: mcfly2000
AMD X2 3800+ @2.8GHz  |  DFI LP nF4 Ultra-D  |  4GB G.SKILL DDR400  |  ATI c3D X800GTO  |  Vista Ultimate x64 Edition SP1
DublinGunner May 20, 2008, 06:10am EDT Reply - Quote - Report Abuse
Send Message - Add to Buddy List  
>> Re: Can I permanently set affinity to one core for a program?
MkFly said:
Meats of Evil May 19, 2008, 05:40pm PDT
Way out of topic but whats up with the Latvia nickname? You moved over there or something? :/

I've moved back. I'm currently living in a derelict warehouse with a few others.



Cool. I wish I had a derelict warehouse with a 'net connection.

Will you be arriving in Ireland at any stage?

E6400 L628 @3.4
Thermalright Ultra 120 Extreme
Abit Quad GT
2GB Team Xtreem DDR2-850 4 4 3 10
Leadtek 8800GT 512
OCZ GameXstream
McFly May 20, 2008, 06:13pm EDT Reply - Quote - Report Abuse
Send Message - Add to Buddy List  
>> Re: Can I permanently set affinity to one core for a program?
It was once more of a factory than a warehouse I suppose.

overly detailed specs in user profile • Xfire: mcfly2000
AMD X2 3800+ @2.8GHz  |  DFI LP nF4 Ultra-D  |  4GB G.SKILL DDR400  |  ATI c3D X800GTO  |  Vista Ultimate x64 Edition SP1

Write a Reply >>


 

    
 
 

  Topic Tools 
 
RSS UpdatesRSS Updates
 

  Related Articles 
 
 

  Newsletter 
 
A weekly newsletter featuring an editorial and a roundup of the latest articles, news and other interesting topics.

Please enter your email address below and click Subscribe.