Author Topic: Affinity management application  (Read 1319 times)

0 Members and 1 Guest are viewing this topic.

Offline Scuddie

  • gb2/b/
  • 28
  • I will never leave.
Affinity management application
OK, so I'm upgrading my Athlon64 3000+ to a nice Opteron 165, and I assume I will love it.  Weee.  Anyway, to ensure the best out of my system, I'd like to know if there is a utility that would automatically set all undefined applications on core 0, and set defined applications on core 1 with realtime priority.  Essentially saying I'd like to have all system programs and light duty programs independent from high demand games and such, as far as CPU is concerned.  Does anybody know of any tool like this?  I tried googleing it, but I just got a bunch of garbage.  Forgive my messy train of thought.
Bunny stole my signature :(.

Sorry boobies.

 
Re: Affinity management application
Just got a athlon 64 fx-60 so I'd be interested in the answer two. Might have to have a look for it myself even.
Watch out for the Guns! They'll getcha!

 
Re: Affinity management application
Affinity doesn't work as simply as that. You'd be better off leaving the OS to assign threads to cores; lots of things can result in threads being created and destroyed, not least of which are certain kernel operations that happen even during some single-threaded applications' run time.

Basically, there is no such affinity control app and there won't ever be. Leave affinity alone unless you have a definite need to change it for a process, eg. when an application doesn't run correctly on multiple cores.
'And anyway, I agree - no sig images means more post, less pictures. It's annoying to sit through 40 different sigs telling about how cool, deadly, or assassin like a person is.' --Unknown Target

"You know what they say about the simplest solution."
"Bill Gates avoids it at every possible opportunity?"
-- Nuke and Colonol Drekker

 
Re: Affinity management application

 
Re: Affinity management application
Yes, you can set affinity on a per-process basis. What you can't do is configure the OS to always run certain processes on certain cores.
You can use imagecfg to change an application's EXE to only use certain cores, but that should not be done if the app works fine.

You can't 'make the OS run on one core and the apps run on the other' because nothing is that simple. Apps call into the kernel all the time, hardware events cause task switches, and you can never be sure which core is going to handle an interrupt.
'And anyway, I agree - no sig images means more post, less pictures. It's annoying to sit through 40 different sigs telling about how cool, deadly, or assassin like a person is.' --Unknown Target

"You know what they say about the simplest solution."
"Bill Gates avoids it at every possible opportunity?"
-- Nuke and Colonol Drekker

 

Offline Scuddie

  • gb2/b/
  • 28
  • I will never leave.
Re: Affinity management application
Thanks Descenterace, imagecfg was exactly what I was looking for :).  I set all my background intended programs (Firefox, FRAPS, Ventrilo, etc) to core 0, and set my single-threaded games to core 1.  Very stable and responsive :).  Now I need the same thing, except for priority.  Anyone happen to know something that does the same for priority, preferably similar to imagecfg?  The START command is not an option.
Bunny stole my signature :(.

Sorry boobies.

 
Re: Affinity management application
Yes, I answered that three posts up.

 

Offline Scuddie

  • gb2/b/
  • 28
  • I will never leave.
Re: Affinity management application
The START command is not an option.
Bunny stole my signature :(.

Sorry boobies.