We added a new command to TestClient to create a swarm of independently acting bots <a href="%28http://www.sciencesim.com/wiki/doku.php/vwperf/testclient_swarm">(http://www.sciencesim.com/wiki/doku.php/vwperf/testclient_swarm</a>). The modified TestClient is distributed with the tests. Email me for a patch if you want to build sources. <br>
<br>The new TestClient command creates one bot which randomly wanders within a defined area. Each of the bots is managed separately and independently (motion, direction, target). As mentioned before, we start 25 if these independent bots per TestClient instance.<br>
<br>Our goal is to create a close to realistic load on the simulator so it is important to drive the bots from a client program. If you are not interested in load testing the simulator, running bots from a region module is a solution others have used.<br>
<br>-- mb<br><br><div class="gmail_quote">On Mon, Sep 6, 2010 at 9:07 PM,  <span dir="ltr"><<a href="mailto:it@nii.ac.jp">it@nii.ac.jp</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hello,<br>
<br>
Thanks a lot for the answer Dan. Now I know what to expect. And I have another question.<br>
You are talking about independant bots, do you mean that you can control each bot in a single Testclient instance independantly ? (for instance, make a bot move forward while another move backward, or don't move ?)<br>

<br>
To do so, I wasn't using testclient put the opensim Scenepresence Object (scenepresence.controlingclient) that enable to actually have indepedant bots.<br>
<br>
I would like to know how independant are you bots.<br>
<br>
Thanks you very much<br>
<br>
IT<br>
<div><div></div><div class="h5"><br>
<br>
<br>
<br>
<br>
<br>
It takes TestClient 5-15 minutes to bake 25 clients if they are all logging in at the same time (depends on hardware and other load on the client box). In our experiments, we use several multi-core servers each running multiple TestClient processes where each process hosts 25 bots. We can usually log in 500-1000 bots to our grid within 20 minutes and get all of them fully baked and ready for action. Instead of running 100 bots in a single TestClient, consider running 4 TestClients and have each one connect 25 bots. TestClient uses lightweight threads to handle packets from the simulator and if you have 100 bots moving around then there are a LOT of packets to process. A machine with more cores or hardware threads will improve your experience dramatically when simulating lots of independent bots in TestClient.<br>

<br>
~Dan<br>
<br>
-----Original Message-----<br>
From: <a href="mailto:opensim-dev-bounces@lists.berlios.de">opensim-dev-bounces@lists.berlios.de</a> [mailto:<a href="mailto:opensim-dev-bounces@lists.berlios.de">opensim-dev-bounces@lists.berlios.de</a>] On Behalf Of <a href="mailto:it@nii.ac.jp">it@nii.ac.jp</a><br>

Sent: Monday, September 06, 2010 3:01 AM<br>
To: <a href="mailto:opensim-dev@lists.berlios.de">opensim-dev@lists.berlios.de</a><br>
Subject: Re: [Opensim-dev] Problem with the bots<br>
<br>
Hello,<br>
<br>
Actually I would like to know a little bit more about the test you have done to assess the number of bot that can be runned on a simulation.<br>
My main concern is the time we have to wait to log several bot.<br>
<br>
Indeed, I can log bots and ensure their appearance will be Ok, but it requires a lot of time. (in OpenSim 0.7.0), for instance, to log 25 bots, it takes me almost 10 minutes if I want everybody to be baked.<br>
<br>
I am using the Testclient Object (inherited from GridClient).<br>
What about the time it took you to have 100 avatars on a sim ?<br>
And another question, according to <a href="http://www.sciencesim.com/wiki/doku.php/vwperf/profiling_069_070" target="_blank">http://www.sciencesim.com/wiki/doku.php/vwperf/profiling_069_070</a><br>
The test have been made on 6.9  ?<br>
What about 7.0 ?<br>
<br>
Thanks a lot for your help<br>
<br>
<br>
IT<br>
_______________________________________________<br>
Opensim-dev mailing list<br>
<a href="mailto:Opensim-dev@lists.berlios.de">Opensim-dev@lists.berlios.de</a><br>
<a href="https://lists.berlios.de/mailman/listinfo/opensim-dev" target="_blank">https://lists.berlios.de/mailman/listinfo/opensim-dev</a><br>
_______________________________________________<br>
Opensim-dev mailing list<br>
<a href="mailto:Opensim-dev@lists.berlios.de">Opensim-dev@lists.berlios.de</a><br>
<a href="https://lists.berlios.de/mailman/listinfo/opensim-dev" target="_blank">https://lists.berlios.de/mailman/listinfo/opensim-dev</a><br>
_______________________________________________<br>
Opensim-dev mailing list<br>
<a href="mailto:Opensim-dev@lists.berlios.de">Opensim-dev@lists.berlios.de</a><br>
<a href="https://lists.berlios.de/mailman/listinfo/opensim-dev" target="_blank">https://lists.berlios.de/mailman/listinfo/opensim-dev</a><br>
</div></div></blockquote></div><br>