23.08.2015 Views

Here - Agents Lab - University of Nottingham

Here - Agents Lab - University of Nottingham

Here - Agents Lab - University of Nottingham

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Number <strong>of</strong> Jason eJason<strong>Agents</strong> Execute Time (magnitude) Execution Time (milliseconds)10 milliseconds 2100 milliseconds 461000 seconds 18110000 minutes 1916100000 not measurable 18674500000 not measurable 97086800000 not measurable 165522Table 1. Execution times for the counter multiagent systemNumber <strong>of</strong> Jason eJason<strong>Agents</strong> Execute Time (magnitude) Execution Time (milliseconds)10 milliseconds 1100 milliseconds 151000 seconds 14310000 minutes 1550100000 not measurable 154415300000 not measurable 484371Table 2. Execution times for the greetings multiagent systemThe results indicate that the multiagent systems generated by eJason scaleto some hundreds <strong>of</strong> thousands <strong>of</strong> agents with an average execution time <strong>of</strong> afew seconds. Regarding the multiagents systems generated by Java-based Jason,we can see that they required more time to execute (the exact time quantitiescould not be precisely measured) and that it was not possible to increase thenumber <strong>of</strong> agents over a few thousands (in the cases labeled as not measurablea java.lang.OutOfMemoryError exception was raised).Clearly these are only preliminary findings as more thorough benchmarkingis needed.5 Conclusions and Future WorkIn this paper we have described a prototype implementation <strong>of</strong> eJason, an implementation<strong>of</strong> Jason, an agent-oriented programming language, in the Erlangconcurrent functional programming language. The implementation was ratherstraightforward due to the similarities <strong>of</strong> Jason and Erlang. eJason is able togenerate Erlang code for a significant subset <strong>of</strong> Jason. Early results are promising,as the multiagent systems running under the Erlang runtime system canmake use <strong>of</strong> the Erlang lightweight processes to compose systems <strong>of</strong> thousands <strong>of</strong>agents, where the process generation, scheduling, and communication introducea negligible overhead. We also describe and motivate some <strong>of</strong> the implementation20

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!