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   On Github   Forums 
May 30, 2023, 06:55:29 AM *
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: Problem in Task distribution  (Read 2681 times)

vikasdilliwar

  • JPPF Padawan
  • *
  • Posts: 12
Problem in Task distribution
« on: December 21, 2009, 07:48:18 PM »

Hi Laurent,

  This is Vikas, I have executed 6 tasks in 5 nodes(CPU)(1 server+4 client),after execution i saw only 3 task executed in client computer (node) and other 3 in server computer. But,i want to execute only 1 task in server computer and others in node. How I will do?


Vikas Dilliwar     
Logged

lolo

  • Administrator
  • JPPF Council Member
  • *****
  • Posts: 2272
    • JPPF Web site
Re: Problem in Task distribution
« Reply #1 on: December 22, 2009, 05:31:43 AM »

Hello Vikas,

I'm not sure to understand your configuration, is there any possibility to clarify?

Here's my understanding in JPPF terms:
- you have 5 machines
- 1 machine has a JPPF server running on it (and one node?)
- the 4 other machines have each a JPPF node running on it
- you execute a JPPF job with 6 tasks in it
- you want 1 task executed at a time on each node

Is this correct?

If it is, then what I would suggest is to configure the server's load balancing to ensure that only one task at a time is sent to each node.
To do this, edit the server's configuration file and make sure you have the following lines:
Code: [Select]
# algorithm name
jppf.load.balancing.algorithm = manual
 
# name of the set of parameter values or profile for the algorithm
jppf.load.balancing.strategy = manual_profile
 
# "manual" profile
strategy.manual_profile.size = 1

Otherwise, if my understanding is not correct, could you please clarify it?

Sincerely,
-Laurent
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