#53 Ability to limit cpu usage by the nodes

Next_Minor_Version
closed-fixed
Laurent Cohen
Node (28)
5
2008-11-28
2008-09-27
Laurent Cohen
No

This is an interesting feature inspired by this thread in the JPPF forums: http://www.jppf.org/forums/viewtopic.php?t=627
"is there a method to limit cpu usage of the node? i mean my node run an external programs which execution require all cpu time, so i'll be good that, for example , it 'll use only the 50% of cpu time"
Currently the only way to limit cpu usage is by setting the number of processing threads on the node.
However, it may be possible to modify the priority of these threads. Java allows setting the priority for a thread or thread group, so we know it is possible to at least set that priority statically.
We need to investigate a little more to determine if this could be done dynamically, allowing users to change the priority from the JMX-based console or APIs.

Discussion

  • Laurent Cohen
    Laurent Cohen
    2008-11-26

    • assigned_to: nobody --> lolocohen
     
  • Laurent Cohen
    Laurent Cohen
    2008-11-28

    feature implemented. Added UI actions and APIs in the node management MBean.
    Changes committed to CVS. This feature will be part of the next release.

     
  • Laurent Cohen
    Laurent Cohen
    2008-11-28

    • status: open --> closed-fixed