Jonathan Mitchem wrote:
On 3/22/06, Tibor Biro <[EMAIL PROTECTED]> wrote:
One of the things I'd been thinking of is how to modify the Executor
...down.
Does anyone have any good links for how windows handles process
priorities? ....
When an Executor starts a grid thread it sets the priority to
ThreadPriority.Lowest
The Executor has a number of other threads that run at normal priority
though. One example is the threads that take care of the communication with
the Manager which is running at normal priority. So if there is more
communication than computing then it would affect other applications. This
sounds like the case in Jonathan's example.
Regards,
Tibor
Yes, I think this is correct. The Executor could be doing more
communicating than computing occassionally, and since that thread has a
'Normal' priority, it could hog the resources.
What impact would there be if ThreadPriority.Lowest was set for all of
the other executor threads?
I'm guessing that based upon the current design, the Manager would see
the Executor disappearing as non-Alchemi processing on that machine
increased.
I think it would make sense to have a heartbeat thread operate at
ThreadPriority.Normal or AboveNormal, but to decrease the priority of
all other threads to Lowest or BelowNormal. I don't think there
should be a GUI for this, but it should be editable in the Executor's
config file.
That way, the Executor has less impact on the machine, but never
actually drops off the grid.
Looks like a good idea.
Jonathan
(Ugh, I really need to find the time to actually do some coding for
Alchemi... too many other projects right now.)
:) , sounds like you have the same problem as I do!!
Krishna.
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Alchemi-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alchemi-developers