Results 1 to 5 of 5

Thread: Automatic CPU Affinity Switcher for XP/Vista

  1. #1
    Join Date
    Oct 2008
    Location
    Sevenoaks
    Posts
    3

    Default Automatic CPU Affinity Switcher for XP/Vista

    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. #2
    Join Date
    Jul 2006
    Location
    The Source
    Posts
    4,270

     

    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.
    ~Alex~ .:Forum Moderator:..:Guinea Pig for Testing:.
    I do not accept support questions via EMail, PM, IM or my Spaces page! .
    This is what happens when an unstoppable force meets an immovable object.




    All your posts are belong to NeoSmart!!

  3. #3
    Join Date
    Oct 2008
    Location
    Sevenoaks
    Posts
    3

     

    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. #4
    Join Date
    Apr 2006
    Location
    Chicago
    Posts
    13,377

     

    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

    If you want to introduce yourself, we have an introduction thread for just that.
    Last edited by Computer Guru; October 10th, 2008 at 05:22 AM. Reason: Automagically-merged double-post.
    Mahmoud Al-Qudsi, Director



    I'm sorry but I do not accept support requests via IM, email, or personal messages

    Follow us on twitter @neosmart or on Facebook!
    Like us on facebook!

  5. #5
    Join Date
    Oct 2008
    Posts
    1

     

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •