LAE

Welcome to the LAE community!  Please feel free to start a discussion in the discussion tab or join in a conversation.

Discussions

Members

Resources

Events

 View Only
  • 1.  Number of concurrent threads brainController.py

    Employee
    Posted 03-12-2010 16:34

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: leekennett

    Hi,

    I'm using the command brainController.py to run a graph, but when I run it it's only utilizing 1 thread on the server.

    None of the parameters seem to control the number of threads. There's -P option, but I can't find any documentation of what properties are available to reference.

    Any help would be awesome.

    Thanks.


  • 2.  RE: Number of concurrent threads brainController.py

    Employee
    Posted 03-13-2010 08:36

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: stonysmith

    There are two ways to do this, but both of them involve setting the parameter ls.brain.controller.farm

    If want to set the parameter for all graphs, then look in {lavahome}/conf/ls_brain.prop

    In ls_brain.prop, it takes the form:
    ls.brain.controller.farm=("localhost:7721:8")
    Another way to set this is via an environment setting:
    export p_ls_brain_controller_farm='("localhost:7721:8")'

    The three parts of this parameter are: [hostname or IP]:port:threads

    There's a deeper discussion necessary if you use more than one server in the farm at once.


  • 3.  RE: Number of concurrent threads brainController.py

    Employee
    Posted 03-15-2010 11:45

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: leekennett

    I tested both of those and they both worked in our setup.

    Appreciate the quick response.


  • 4.  RE: Number of concurrent threads brainController.py

    Employee
    Posted 03-10-2011 16:38

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: phourigan

    Hi,

    Whats the format if I have 2 servers in a farm?

    Is it something like...

    ls.brain.controller.farm=( "mdsrdsrv01:7721:2,mdsrdsrv02:7721:2" )

    Or is there a little more to it?

    It seems to work.

    thanks
    --ph


  • 5.  RE: Number of concurrent threads brainController.py

    Employee
    Posted 03-15-2011 11:15

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: phourigan

    Hi,

    Further to our MDA discussion the other day, inorder to balance out the nodes in a round-robin fashion we would declare our farm as follows;

    ls.brain.controller.farm=( "mdsrdsrv01:7721:1,mdsrdsrv02:7721:1,mdsrdsrv01:77 21:1,mdsrdsrv02:7721:1" ).

    With this we can get a greater spread of threads/drones running in the farm.

    --ph


  • 6.  RE: Number of concurrent threads brainController.py

    Employee
    Posted 05-29-2014 07:27

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: johnvvu

    Does a service or server need to be restarted for a change in ls_brain.prop to take effect? I'm modifying the ls.brain.controller.farm=("localhost:7721:8") parameter.

    Please provide specifics here so that I can provide this information to my server admin.

    Thank you,