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 
June 04, 2023, 08:33:57 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: Parallel running of multiple jobs on one node dont work properly  (Read 2163 times)

frey

  • JPPF Padawan
  • *
  • Posts: 1

Hello,

I want to run multiple jobs at the same time on one node.
I submit these as none-blocking jobs.

But they dont run simultaneous.
I read all related posts in this forum, but cant get right of it :-(

I set following client parameters

Code: [Select]
// set the connection properties programatically
props.setProperty("jppf.drivers", "driver1");
props.setProperty("jppf.discovery.enabled", "false");
props.setProperty("driver1.jppf.pool.size", "" + jppfNumberOfConnections);

jppfNumberOfConnections is the pool size, i set it to 30 for testing.

I set the jppf.load.balancing.algorithm to nodethreads in the drivers jppf-driver.properties config file.
jppf.load.balancing.strategy is set to test, where test strategy is defined with strategy.test.size = 30.

In the node config properties file, i only changed jppf.discovery.enabled to true and processing.threads = 30.

I start one node and submit 2 none-blocking jobs, each job have a task with a sleep of 10 seconds in it.

The jobs running sequentially. Did i miss something in the config?
I have tried to find it out for hours.

Thanks in advance.

greetings
Frey
« Last Edit: March 13, 2013, 12:00:47 PM by frey »
Logged

lolo

  • Administrator
  • JPPF Council Member
  • *****
  • Posts: 2272
    • JPPF Web site
Re: Parallel running of multiple jobs on one node dont work properly
« Reply #1 on: March 14, 2013, 06:55:55 AM »

Hi Frey,

The issue here is that a JPPF node can only process one job at a time. This is the way the nodes are designed. It means that, to execute multiple jobs concurrently in your grid, you will need more than one node. However, as a mitigation you can have as many nodes as you wish on the same physical (or virtual) machine.

I hope this clarifies,
-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