
6 CONCLUSIONS AND FUTURE
WORK
This paper studies the performance and scalability
provided by Jason as a suitable framework to be used
for large-scale crowd simulations. The results for
the Centralised infrastructure show that the schedul-
ing policy followed in PThE to provide a parallel ac-
tion execution must be reviewed, in order to achieve
a more equilibrated RT distribution. Otherwise, a few
agents in each cycle must wait for a long time to
execute their actions. For the distributed infrastruc-
tures, the results show the effects of the communica-
tion platform on this particular problem. Both SACI
and JADE are based on RMI and result in a similar
scalability degree (considering scalability as a func-
tion that associate the number of agents with the RT
obtained). However, the distributed simulations re-
quire longer execution times and the performance (in
terms of the response time) is seriously affected by the
communication costs. Finally, the CPUs have never
reached saturation due to both the number of agents
waiting to gain access to the environment threads in
PThE and the synchronized action code.
These conclusions allow us to address future work
in the following directions. First, we should study the
scheduling policy of both the pool of threads of the
environment and the synchronized action code. Then,
a new P2P architecture can be proposed to distribute
the problem, where each peer will be a computer ex-
ecuting a centralised version of the system (agents
+ environment) dealing with a smaller piece of the
environment. In this case, spatial criteria should be
used to distribute the agents to the computers, and dy-
namic algorithms will be required to keep the work-
load properly balanced during the simulation.
ACKNOWLEDGEMENTS
This work has been jointly supported by the Spanish
MEC and the European Commission FEDER funds,
under grants Consolider-Ingenio 2010 CSD2006-
00046 and TIN2009-14475-C04-04.
REFERENCES
Bordini, R. H., H¨ubner, J. F., and Wooldrige, M. (2007).
Programming Multi-Agent Systems in AgentSpeak us-
ing Jason. Wiley.
Cortese, E., Quarta, F., and Vitaglione, G. (2002). Scal-
ability and performance of JADE message transport
system. In AAMAS Workshop on AgentCities.
Finin, T., Weber, J., Wiederhold, G., Genesereth, M., Fritz-
son, R., McKay, D., McGuire, J., Pelavin, R., Shapiro,
S., and Beck, C. (1993). Specification of the KQML
agent communication language. DARPA Knowledge
Sharing Initiative External Interfaces Working Group.
FIPA (2009). FIPA (Foundation for Intel-
ligent Physical Agents). Available at
http://www.fipa.org/specs/fipa00023/.
Lozano, M., Morillo, P., Ordua, J. M., and Cavero, V.
(2007). On the design of an efficient architercture
for supporting large crowds of autonomous agents. In
Proceedings of IEEE 21th. International Conference
on Advanced Information Networking and Applica-
tions (AINA’07), pages 716–723.
Mulet, L., Such, J. M., and Alberola, J. M. (2006). Per-
formance evaluation of open-source multiagent plat-
forms. In AAMAS ’06: Proceedings of the fifth inter-
national joint conference on Autonomous agents and
multiagent systems, pages 1107–1109, New York, NY,
USA. ACM.
O’Sullivan, C., Cassell, J., Vilhjmsson, H., Dingliana, J.,
Dobbyn, S., McNamee, B., Peters, C., and Giang, T.
(2002). Levels of detail for crowds and groups. Com-
puter Graphics Forum, 21(4):733–742.
Pelechano, N., Allbeck, J. M., and Badler, N. I. (2008). Vir-
tual crowds: Methods, simulation, and control. Syn-
thesis Lectures on Computer Graphics and Animation,
3(1):1–176.
Reynolds, C. (2006). Big fast crowds on ps3. In sandbox
’06: Proceedings of the 2006 ACM SIGGRAPH sym-
posium on Videogames, pages 113–121, New York,
NY, USA. ACM.
Reynolds, C. W. (1987). Flocks, herds and schools: A
distributed behavioral model. In SIGGRAPH ’87:
Proceedings of the 14th annual conference on Com-
puter graphics and interactive techniques, pages 25–
34, New York, NY, USA. ACM.
Sichman, J. and H¨ubner, J. F. (2009). SACI - Simple
Agent Communication Infrastructure. Available at
http://www.lti.pcs.usp.br/saci/.
TILAB (2009). JADE (Java Agent DEvelopment Frame-
work). Available at http://jade.tilab.com/index.html.
Treuille, A., Cooper, S., and Popovic, Z. (2006). Continuum
crowds. In SIGGRAPH ’06: ACM SIGGRAPH 2006
Papers, pages 1160–1168. ACM.
Zhou, B. and Zhou, S. (2004). Parallel simulation of group
behaviors. In WSC ’04: Proceedings of the 36th con-
ference on Winter simulation, pages 364–370. Winter
Simulation Conference.
EVALUATING JASON FOR DISTRIBUTED CROWD SIMULATIONS
211