Automatic CPU Affinity Switcher for XP/Vista

Discussion in 'Ideas and Wishlists' started by Mattf121, Oct 9, 2008.

  1. Mattf121

    Mattf121 New Member

    Joined:
    Oct 9, 2008
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    Computer Forensics
    Location:
    Sevenoaks
    Hi there. I would like to see a program that intercepts program requests and assigns them to different cpus. I try doing this manually and it helps improves performance of the computer system by a long way. It would be good if it optimized itself depending on how many cpus that it finds and senses whether a program is multiple core optimized, then it just assigns the program that number of cores. I hope this thread makes sense and I don't know easy it is to do this, but optimizing multi-core computers would be brilliant!
     
  2. Mak 2.0

    Mak 2.0 Mod...WAFFLES!?!? Staff Member

    Joined:
    Jul 6, 2006
    Messages:
    4,270
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    Online Support Tech
    Location:
    The Source
    This would have to be done at the programs coding level. What you are talking about is turning a single core application into a dual core application right?

    Say something like your browser. IF it needs the extra CPU to use the other core instead of taxing the 1 core.

    This can only be done by the coders by making the applicationa a SMP (Symetrical Multiprocessing) applicaiton. Using 3rd party software wont help.
     
  3. Mattf121

    Mattf121 New Member

    Joined:
    Oct 9, 2008
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    Computer Forensics
    Location:
    Sevenoaks
    Thanks for your reply, but I mean more just shifting multiple single-core applications to different cores so that the task load is spread more efficiently. Would that be possible as a system tray application?
     
  4. mqudsi

    mqudsi Mostly Harmless Staff Member

    Joined:
    Apr 5, 2006
    Messages:
    13,478
    Likes Received:
    2
    Trophy Points:
    38
    Location:
    Chicago
    But what sort of criterion would you use to decide which applications run on which core?

    More to the point, how would you differentiate between single-threaded applications that can be managed by such a utility and multi-threaded applications that do this all on their own?

    Addendum:

    Oh, and welcome to NeoSmart Technologies and thanks for sharing your ideas with us :D

    If you want to introduce yourself, we have [thread=7]an introduction thread[/thread] for just that.
     
    Last edited: Oct 10, 2008
  5. p0wer

    p0wer New Member

    Joined:
    Oct 19, 2008
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Dunno if it is what original author wanted, but I suspect scenarios where we would like certain applications run on specific cores, one, two, many. Criteria for automatic switching are hard to define, besides, this would mean kinda rewriting kernel scheduler.

    In my opinion a nice feature would be to automatically switch certain applications to specific cores. For example, I run two Folding@Home clients, one for GPU and one for CPU. While running both of them on dual cores causes GPU client to starve on data bandwidth, splitting them to separate cores works like a charm.

    ...but doesn't OS allow us to do this from command line (even if I don't know how) ? ;) The only improvement could be a tray app that would sit in the background and do it automatically for any app we want to control
     

Share This Page