Thread Subject: MATLAB Distributed Computing Server

Subject: MATLAB Distributed Computing Server

From: Geethmala

Date: 6 Nov, 2009 22:31:03

Message: 1 of 4

Hi,
I have a couple of queries about Distributed Computing Server (DCS). Let's say I have a cluster with 2 nodes. Each node has 8 cores and is running the Parallel Toolbox of MATLAB. If I need these 2 nodes to compute together, I understand that I need DCS. My question is do I need a DCS worker per core or per node? Can my client nodes running Parallel toolbox also act as a server or do I need a completely separate cluster for running DCS?

Thanks.

Subject: MATLAB Distributed Computing Server

From: Edric M Ellis

Date: 9 Nov, 2009 08:54:14

Message: 2 of 4

"Geethmala " <geethmala@cs.dartmouth.edu> writes:

> I have a couple of queries about Distributed Computing Server (DCS). Let's say
> I have a cluster with 2 nodes. Each node has 8 cores and is running the
> Parallel Toolbox of MATLAB. If I need these 2 nodes to compute together, I
> understand that I need DCS. My question is do I need a DCS worker per core or
> per node?

The way the MDCS licencing works is per worker process. So, if you wish to run
16 workers, you'll need 16 licences.

> Can my client nodes running Parallel toolbox also act as a server or
> do I need a completely separate cluster for running DCS?

You can mix these things (I'm not 100% sure, but I think you'd be best off
installing MDCS separately on the machines as the licencing is different) -
i.e. it's fine to run a MATLAB+PCT as well as the MDCS workers on a single
machine (internally, that's how we do a fair bit of our testing).

Cheers,

Edric.

Subject: MATLAB Distributed Computing Server

From: Geethmala

Date: 10 Nov, 2009 18:26:19

Message: 3 of 4

Thanks for the response Edric. Can you please clarify the following statement?

"The way the MDCS licencing works is per worker process. So, if you wish to run
16 workers, you'll need 16 licences."

Does each worker process run per core in a machine or per node in a cluster i.e. will I need 2 licenses for 2 nodes or 16 licenses (8 cores/node) for 2 nodes?

Thanks,
Geethmala

Edric M Ellis <eellis@mathworks.com> wrote in message <ytw1vk8f58p.fsf@uk-eellis-deb5-64.mathworks.co.uk>...
> "Geethmala " <geethmala@cs.dartmouth.edu> writes:
>
> > I have a couple of queries about Distributed Computing Server (DCS). Let's say
> > I have a cluster with 2 nodes. Each node has 8 cores and is running the
> > Parallel Toolbox of MATLAB. If I need these 2 nodes to compute together, I
> > understand that I need DCS. My question is do I need a DCS worker per core or
> > per node?
>
> The way the MDCS licencing works is per worker process. So, if you wish to run
> 16 workers, you'll need 16 licences.
>
> > Can my client nodes running Parallel toolbox also act as a server or
> > do I need a completely separate cluster for running DCS?
>
> You can mix these things (I'm not 100% sure, but I think you'd be best off
> installing MDCS separately on the machines as the licencing is different) -
> i.e. it's fine to run a MATLAB+PCT as well as the MDCS workers on a single
> machine (internally, that's how we do a fair bit of our testing).
>
> Cheers,
>
> Edric.

Subject: MATLAB Distributed Computing Server

From: Edric M Ellis

Date: 11 Nov, 2009 08:16:58

Message: 4 of 4

"Geethmala " <geethmala@cs.dartmouth.edu> writes:

> Thanks for the response Edric. Can you please clarify the following statement?
>
> "The way the MDCS licencing works is per worker process. So, if you wish to run
> 16 workers, you'll need 16 licences."
>
> Does each worker process run per core in a machine or per node in a cluster
> i.e. will I need 2 licenses for 2 nodes or 16 licenses (8 cores/node) for 2
> nodes?

Generally, it's best to run 1 worker process per core, as the default is for
MDCS workers to run single-threaded (more precisely: with only a single
*computational* thread, there are plenty of other supporting threads). So, if
you have 2 8-core nodes, you could use up to 16 worker licences.

Cheers,

Edric.

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
dcs Geethmala 6 Nov, 2009 17:34:03
parallel toolbox Geethmala 6 Nov, 2009 17:34:03
rssFeed for this Thread

Contact us at files@mathworks.com