topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Wednesday April 17, 2024, 11:30 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: multi core cpu control - is there a need?  (Read 4072 times)

nudone

  • Cody's Creator
  • Columnist
  • Joined in 2005
  • ***
  • Posts: 4,119
    • View Profile
    • Donate to Member
multi core cpu control - is there a need?
« on: January 22, 2007, 04:08 AM »
i came across this util today over at shell extension city: CPU-Control by Koma Code.

http://www.koma-code...;id=88&Itemid=93

it allows you to configure how the cores are used in a multi core system. so, you can specify whether an application should run on one core or use both.

is there any real point to this. i have a dual core cpu but as i understand it, the software has to be designed to use both cores for there to be any advantage over using one.

this app would be handy for running apps that will only run correctly on a single core - i remember having a game like that (might have been ut2003). but other than that scenario is there any use to this app.

i ask as i'd like to obviously get the most out of my dual core machine and if this app can help then i'll use it.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,900
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: multi core cpu control - is there a need?
« Reply #1 on: January 22, 2007, 04:56 AM »
I get requests to add affinity control to Process Tamer occasionally.  I'd also like to hear from people in the know how you would use such customization options to improve your pc usage.

f0dder

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
  • [Well, THAT escalated quickly!]
    • View Profile
    • f0dder's place
    • Read more about this member.
    • Donate to Member
Re: multi core cpu control - is there a need?
« Reply #2 on: January 22, 2007, 05:05 AM »
For applications that aren't multi-threaded, you can gain some advantage of locking affinity to a single core - especially if the system, other than that, is mostly idle. Windows tends to schedule threads in a "load balancing" kind of way; for multicore CPUs with separate cache per core (rather than the shared approach of core2), it's a bit more optimal to stay on one core and avoid cache reloads and such.

I don't know how much you can really gain by this, as I haven't done any hard tests - but (placebo or not :P) some single-threaded things do seem slightly smoother/faster with affinity locking on my AMD64x2.
- carpe noctem

nudone

  • Cody's Creator
  • Columnist
  • Joined in 2005
  • ***
  • Posts: 4,119
    • View Profile
    • Donate to Member
Re: multi core cpu control - is there a need?
« Reply #3 on: January 22, 2007, 05:11 AM »
sounds like it's only going to be useful to me if i play unreal tournament 2003 again.

Gothi[c]

  • DC Server Admin
  • Charter Honorary Member
  • Joined in 2006
  • ***
  • Posts: 873
    • View Profile
    • linkerror
    • Donate to Member
Re: multi core cpu control - is there a need?
« Reply #4 on: January 22, 2007, 05:12 AM »
I think the results will depend very much on how the application is implemented and how exactly it's using threads (if at all), how frequent threads are created/destroyed and how intensive each individual thread is. It would seem logical to me that with these tools you would be able to gain some (little?) gain for one application while you are slowing down another,...