adequate
adequate
adequate
adequate
 

JPPF
 Home   About   Download   Documentation   Forums 
June 19, 2013, 05:36:27 PM *
Welcome,
Please login or register.

Login with username, password and session length
Advanced search  
News: Registered users, your contribution is requested! Please participate in our JDK support poll
New users, please read this message. Thank you!
  Home Help Search Login Register  
Pages: [1]   Go Down

Author Topic: Can I run multiple job on a node concurrently  (Read 675 times)

jerome_tan

  • JPPF Padawan
  • *
  • Posts: 5
Can I run multiple job on a node concurrently
« on: December 28, 2011, 09:47:06 AM »

Can I run multiple job on a node concurrently?
Logged

lolo

  • Administrator
  • JPPF Council Member
  • *****
  • Posts: 1472
    • JPPF Web site
Re: Can I run multiple job on a node concurrently
« Reply #1 on: December 29, 2011, 09:56:06 AM »

Hi Jerome,

This answer is no. With a single node, you can only execute one job at a time. It ensues that if you want to execute multiple jobs concurrently on a JPPF grid, you will need multiple nodes.
However, it doesn't mean that if you submit multiple jobs, each job will wait until the previous job is completed to start. The JPPF server attempts to be fair when jobs have the same priority.
For example, let's say you have jobA and jobB, each with 50 tasks and the same priority, and you use the "manual" load-balancing algorithm with a size of 10 (the server will send 10 tasks at a time to each node). If you only have one node, the execution flow will be as follows:
- the server sends 10 tasks from jobA to the node
- the server then send 10 tasks from jobB to the node
- then again 10 tasks from jobA
- etc ...

So, in a sense, this could be seen as a distributed preemptive multitasking mechanism.

I hope this clarifies.

Sincerely,
-Laurent

Logged
Pages: [1]   Go Up
 
Support This Project Powered by SMF 2.0 RC5 | SMF © 2006–2011, Simple Machines LLC Powered by Parallel Matters Get JPPF at SourceForge.net. Fast, secure and Free Open Source software downloads