FAH GPU Tracker V2

FAH GPU Tracker V2 is a Folding@Home Client tracking and control program


    priority control ...

    Share

    Shala3

    Posts : 5
    Join date : 2010-10-20

    priority control ...

    Post by Shala3 on Fri Nov 19, 2010 6:28 am

    Feature Name:priority control
    What does this feature do: change priority of each client/core (low,normal,high,...)
    Why would this feature be useful to be include in the tracker:in some cases we need a client to have a priority on other clients ...in other cases when doing some thing consume the CPU the performance of the client go down, but we would keep folding in top performance ...
    avatar
    jedi95
    Dev Team Member

    Posts : 307
    Join date : 2010-05-26
    Job/hobbies : FAH GPU Tracker V2 Developer

    Re: priority control ...

    Post by jedi95 on Fri Nov 19, 2010 11:03 am

    This is difficult to do because the priority settings need to be applied to the FahCore, not the client. I don't have a reliable way of interfacing with the FahCore to do anything with the priority or affinity.

    That said, this is something that has been suggested before. I will consider adding this if/when I can solve the technical problems.


    _________________

    B2K24
    BETA Team Member

    Posts : 102
    Join date : 2010-06-09

    Re: priority control ...

    Post by B2K24 on Sun Nov 21, 2010 4:50 pm

    One can use SetPriority software for this purpose.
    avatar
    MtM
    Tracker Developer

    Posts : 28
    Join date : 2010-10-17
    Location : hereyougoweird
    Job/hobbies : vb.net/folding/kids and the missus ( not in that order )

    Re: priority control ...

    Post by MtM on Sun Dec 12, 2010 5:56 am

    Jedi95 it's not hard to do, pm me or msn and I'll show you how ( or look at the old sources, there is a priority/affinity manager in there somewhere still I think ).

    Edit:

    Short version ->

    When the client reports core is engaged, do a for each with all running processes, check process name contains 'fahcore', then check main module for full path ( since you'll be having more then one process with fahcore when you have more then one client active, comparing path will tie the right one with the right client ).

    Now you have the fahcore process, and you can set priority and affinity manually ( priority is straight forward, affinity is bitmask depending on processor ( amount of threads/cores ).

    The only thing I do not know how to do within .net is pairing logical and physical cores ( eg hyperthreading ).

    In addition, priority and affinity is also ( in a limited manner ) manageable from the client settings and the environment variables. It's not advices iirc to both use the client's affinity settings and manual settings ( as they will try to override eachother ). So, 'disable cpu affinity' should be set to yes.







    Last edited by MtM on Sun Dec 12, 2010 7:51 am; edited 1 time in total (Reason for editing : Added a short version)

    Sponsored content

    Re: priority control ...

    Post by Sponsored content


      Current date/time is Sat Sep 23, 2017 9:47 am