Discussion:
[jade-develop] Is Jade multi-core
krishna rangaiah
2013-11-20 07:51:13 UTC
Permalink
Hi All,

We have a platform built using Jade, and as and when we start loading
agents one by one the performance of the Existing Agents getting decreased
and surprisingly just two or three cores are used to maximum on my 8-core
Machine. We wanted to confirm whether Jade is Multi-Core?

Thanks in advance.

Krishna. K
--
I am Only One, but still I am one; I cannot do everything, but still I can
do something; and because I cannot do everything, I will not Refuge to do
something that I CAN DO.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://avalon.cselt.it/pipermail/jade-develop/attachments/20131120/a32a5897/attachment.html>
Visser, Dale
2013-11-20 14:36:09 UTC
Permalink
Krishna:

Have a look around pages 10 and 11 of the JADE Programming Tutorial for Beginners and also at the API documentation for jade.core.behaviours. Typically, each agent has a dedicated thread, which works really well in general. But as you can see in the API documentation I referenced, you are not absolutely limited to one thread per agent. I think it is up to your JVM environment how many and which cores are available to run threads on.

Best regards,
Dale Visser

From: jade-develop-bounces at avalon.tilab.com [mailto:jade-develop-bounces at avalon.tilab.com] On Behalf Of krishna rangaiah
Sent: Wednesday, November 20, 2013 2:51 AM
To: jade-develop at avalon.tilab.com
Subject: [jade-develop] Is Jade multi-core

Hi All,
We have a platform built using Jade, and as and when we start loading agents one by one the performance of the Existing Agents getting decreased and surprisingly just two or three cores are used to maximum on my 8-core Machine. We wanted to confirm whether Jade is Multi-Core?
Thanks in advance.
Krishna. K



--
I am Only One, but still I am one; I cannot do everything, but still I can do something; and because I cannot do everything, I will not Refuge to do something that I CAN DO.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://avalon.cselt.it/pipermail/jade-develop/attachments/20131120/dc63c817/attachment.html>
Caire Giovanni
2013-11-20 14:44:06 UTC
Permalink
Hi,

In addition to what Dale said, if a single JVM is not able to fully exploit your cores (this is related to Java, not to Jade), you can create more than one container (more JVMs) in the same host. and distribute your agents on them.

Bye,

Giovanni

Da: jade-develop-bounces at avalon.tilab.com [mailto:jade-develop-bounces at avalon.tilab.com] Per conto di Visser, Dale
Inviato: mercoled? 20 novembre 2013 15:36
A: krishna rangaiah; jade-develop at avalon.tilab.com
Oggetto: Re: [jade-develop] Is Jade multi-core

Krishna:

Have a look around pages 10 and 11 of the JADE Programming Tutorial for Beginners and also at the API documentation for jade.core.behaviours. Typically, each agent has a dedicated thread, which works really well in general. But as you can see in the API documentation I referenced, you are not absolutely limited to one thread per agent. I think it is up to your JVM environment how many and which cores are available to run threads on.

Best regards,
Dale Visser

From: jade-develop-bounces at avalon.tilab.com [mailto:jade-develop-bounces at avalon.tilab.com] On Behalf Of krishna rangaiah
Sent: Wednesday, November 20, 2013 2:51 AM
To: jade-develop at avalon.tilab.com
Subject: [jade-develop] Is Jade multi-core

Hi All,
We have a platform built using Jade, and as and when we start loading agents one by one the performance of the Existing Agents getting decreased and surprisingly just two or three cores are used to maximum on my 8-core Machine. We wanted to confirm whether Jade is Multi-Core?
Thanks in advance.
Krishna. K



--
I am Only One, but still I am one; I cannot do everything, but still I can do something; and because I cannot do everything, I will not Refuge to do something that I CAN DO.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://avalon.cselt.it/pipermail/jade-develop/attachments/20131120/368fe333/attachment.html>
Continue reading on narkive:
Loading...