JPPF, java, parallel computing, distributed computing, grid computing, parallel, distributed, cluster, grid, cloud, open source, android, .net
JPPF

The open source
grid computing
solution

 Home   About   Features   Download   Documentation   Forums 
October 18, 2019, 04:34:14 PM *
Welcome,
Please login or register.

Login with username, password and session length
Advanced search  
News: New users, please read this message. Thank you!
  Home Help Search Login Register  
Pages: [1]   Go Down

Author Topic: Question configuration local execution  (Read 1268 times)

boris.klug

  • JPPF Master
  • ***
  • Posts: 41
Question configuration local execution
« on: January 23, 2014, 01:35:37 PM »

Hello,

we use local execution for debugging and testing. In our programs we extend the class JPPFResultCollector to collect results while they are finished.

We configured the parameter jppf.local.execution.accumulation.size to specify the number of tasks which are sent at once to the JPPFResultCollector.

The problem is that this does not work. The parameter is ignored. Also the parameter jppf.local.execution.accumulation.time and jppf.local.execution.accumulation.unit are ignored.

We use JPPF 3.3.6 on Windows and Linux, Oracle Java 6 as the JVM.

Thank you for your help in advance.
Logged

lolo

  • Administrator
  • JPPF Council Member
  • *****
  • Posts: 2256
    • JPPF Web site
Re: Question configuration local execution
« Reply #1 on: January 23, 2014, 07:07:03 PM »

Hello,

Unfortunately, this functionality disappeared in JPPF 3.2, following a complete redesign of the load-balancing in the client. We never even realized it, shame on us  :(
I might be able to put it back in the code and release it in the next maintenance release v3.3.8, but it could take quite some time and then I will also have to port it to the 4.0 branch and to the trunk.

Maybe there are ways to achieve what you need without this functionality. Would you mind providing more details on your debugging and testing requirements in this regard?
For instance, the effect provided with "jppf.local.execution.accumulation.size" could be reproduced with specific load-balancer settings in your configuration.
Concretely, instead of:
Code: [Select]
jppf.local.execution.accumulation.size = 8you could set:
Code: [Select]
jppf.load.balancing.algorithm = manual
jppf.load.balancing.profile = manual
jppf.load.balancing.profile.manual.size = 8
This will result in the JPPFResultCollector getting no more than 8 tasks at a time.

Sincerely,
-Laurent
Logged

boris.klug

  • JPPF Master
  • ***
  • Posts: 41
Re: Question configuration local execution
« Reply #2 on: August 20, 2014, 11:43:54 AM »

Noe I had time to do a quick test with JPPF 4.1.2.

For us, setting the load balacining algorithm to manual and than settings the manual.size is good enough.

Thanks for your help (long ago!).
Logged
Pages: [1]   Go Up
 
JPPF Powered by SMF 2.0 RC5 | SMF © 2006–2011, Simple Machines LLC Get JPPF at SourceForge.net. Fast, secure and Free Open Source software downloads