Please register or login. There are 0 registered and 1306 anonymous users currently online. Current bandwidth usage: 326.30 kbit/s August 28 - 09:22am 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
Private Message - Add to Buddy List Replies: 10 - Views: 29293
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
MSI 9800GT OC 512MB
CORSAIR ValueSelect 2GB (2 x 1 GB) DDR 400
Antec 500W PSU
Want to enjoy fewer advertisements and more features? Click here to become a Hardware Analysis registered user.
Apr 29, 2008, 04:18pm EDT Reply - Quote - Report Abuse
Private 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.

Hans Moleman Apr 29, 2008, 05:00pm EDT Reply - Quote - Report Abuse
Private 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
MSI 9800GT OC 512MB
CORSAIR ValueSelect 2GB (2 x 1 GB) DDR 400
Antec 500W PSU
Apr 29, 2008, 05:09pm EDT Reply - Quote - Report Abuse
Private Message - Add to Buddy List  
>> Re: Can I permanently set affinity to one core for a program?
Happy to help + glad it worked. :_)

~Vel May 19, 2008, 07:18pm EDT Reply - Quote - Report Abuse
Private 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.

__________________________
Desktop: A4-5300 3.4GHz | MSI FM2-A85XA-G65 | 8GB | FireGL V7700 | 500GB | Windows 7 Ultimate x64 |
Laptop: Matte 15" MacBook Pro | i7 2675QM 2.2GHz | 8GB | 500GB | Mac OS X 10.8 | More in profile |
Dublin_Gunner May 19, 2008, 07:39pm EDT Reply - Quote - Report Abuse
Private 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.

Lancool PC K62
Phenom II x3 @ 3.5Ghz
4GB DDR2-800
ASUS GTX570 DirectCU II
Meats_Of_Evil May 19, 2008, 08:40pm EDT Reply - Quote - Report Abuse
Private 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? :/

-------------------------------------------------------------------------------------------------------------------------
Everything I write is Sarcasm.
Hans Moleman May 19, 2008, 09:34pm EDT Reply - Quote - Report Abuse
Private 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
MSI 9800GT OC 512MB
CORSAIR ValueSelect 2GB (2 x 1 GB) DDR 400
Antec 500W PSU
May 19, 2008, 11:45pm EDT Reply - Quote - Report Abuse
Private 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.

Dublin_Gunner May 20, 2008, 06:10am EDT Reply - Quote - Report Abuse
Private 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?

Lancool PC K62
Phenom II x3 @ 3.5Ghz
4GB DDR2-800
ASUS GTX570 DirectCU II
May 20, 2008, 06:13pm EDT Reply - Quote - Report Abuse
Private 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.


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.