Notices

Overclockers Forums > Software > Microsoft Operating Systems
Microsoft Operating Systems Microsoft Operating Systems and Applications
Forum Jump

setting affinity and locking it

Post Reply New Thread Subscribe Search this Thread
 
 
Thread Tools
Old 03-31-03, 05:46 PM Thread Starter   #1
Enemy Down!
Member



Join Date: Apr 2002
Location: Chicago

 
Question setting affinity and locking it


i have tried doing this, and followed the steps exactly.



quote:
--------------------------------------------------------------------------------
You can permanently set processor affinity for a non-operating system executable, on both Windows 2000 and Windows NT 4.0, by using the Imagecfg.exe tool from the \support\debug\i386 folder of a Windows NT 4.0 CD-ROM, or the Imagecfg.exe tool from the Windows 2000 Server Resource Kit Supplement One.
--------------------------------------------------------------------------------




quote:
--------------------------------------------------------------------------------
NOTE: Do NOT use imagecfg on any kernel operating system files.
--------------------------------------------------------------------------------




quote:
--------------------------------------------------------------------------------
To permanently set the processor affinity for your 32-bit executable, open a CMD prompt and type:
--------------------------------------------------------------------------------




quote:
--------------------------------------------------------------------------------
imagecfg -a 0xn \Path\yourprogram.exe
--------------------------------------------------------------------------------




quote:
--------------------------------------------------------------------------------
where 0xn is the affinity mask. The mask constrains your application to a specific CPU, from 0 - 31, where:
--------------------------------------------------------------------------------



CPU MASK
0 0x1
1 0x2
2 0x4
3 0x8
4 0x10
5 0x20
6 0x40
7 0x80
8 0x100
etc


i got the imagecfg.exe file on the web (from some random site after a google search) and typed in the information exactly and i did not get the expected results. does anyone know why? do i have to move that imagecfg.exe file to the system32 or other windows directory in order for this to work?

also, if anyone has ever done this, when it "permanently sets the affinity, is it still set even after a re-boot? if so, how do you turn off the feature to allow the program to be accessed from any cpu?


__________________
Enemy Down! is offline   QUOTE Thanks

Post Reply New Thread Subscribe


Overclockers Forums > Software > Microsoft Operating Systems
Microsoft Operating Systems Microsoft Operating Systems and Applications
Forum Jump

Thread Tools Search this Thread
Search this Thread:

Advanced Search


Mobile Skin
All times are GMT -5. The time now is 08:55 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
You can add these icons by updating your profile information to include your Heatware ID, Benching Profile ID or your Folding/SETI profile ID. Edit your profile!
X

Welcome to Overclockers.com

Create your username to jump into the discussion!

New members like you have made this the best community on the Internet since 1998!


(4 digit year)

Why Join Us?

  • Share experience
  • Max out your hardware
  • Best forum members anywhere
  • Customized forum experience

Already a member?