Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

How does NCrunch distribute work on grid nodes when no capabilities are set?
ysteiger
#1 Posted : Tuesday, October 14, 2014 2:26:45 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 4/7/2014(UTC)
Posts: 2
Location: Switzerland

Hi,
I would like to know, how the tasks are distributed to multiple nodes, when no capabilities are defined.

Best regards
Yannik
Remco
#2 Posted : Tuesday, October 14, 2014 8:58:12 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,986

Thanks: 931 times
Was thanked: 1257 time(s) in 1170 post(s)
Hi Yannik,

This is quite a broad question - but I'll do my best to answer it in summary :)

The protocol works via a pull from the grid nodes. They request work from the client routinely in order to fill up their own local processors. The work requests are a round robin between all connected clients, which allows processing power to be shared fairly evenly between multiple connections.

When work is requested by a grid node, the client will make the choice as to which task is appropriate for the node. This takes into account activities, exclusively used resources, etc. If no work is available, the client simply returns a 'work request rejected' message.

At present there is no intelligence regarding the physical performance of the individual nodes. NCrunch doesn't yet know which nodes are faster/slower or more appropriate for certain types of tests, unless you disclose this via the capablities.

I hope this helps. Are you experiencing problems with your grid?


Cheers,

Remco
ysteiger
#3 Posted : Wednesday, October 15, 2014 6:31:47 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 4/7/2014(UTC)
Posts: 2
Location: Switzerland

Hi Remco,
thanks for your answer. Its not that I am facing problems with the grid. I do a second Demo of NCrunch in my company and I know there will come up questions about work distribution, when I come to the topic "Distributed Processing".

So, if I get it right:
As long as I do not specify restrictions on tests and grid nodes, the idle nodes (idle in terms of processing Ncrunch tasks) do request work chunks from the attached clients and its relatively random, which node gets the work.

Best regards
Yannkk
Remco
#4 Posted : Wednesday, October 15, 2014 9:47:51 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,986

Thanks: 931 times
Was thanked: 1257 time(s) in 1170 post(s)
ysteiger;6545 wrote:
Hi Remco,
So, if I get it right:
As long as I do not specify restrictions on tests and grid nodes, the idle nodes (idle in terms of processing Ncrunch tasks) do request work chunks from the attached clients and its relatively random, which node gets the work.


Technically the distribution of work isn't random. It will follow a circular pattern through the connected clients .. although I would say that if you were to observe it, it would probably seem very random :) So yes, I think you can safely say this!
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.046 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download