If you don''t need individual bakes for your test you might consider hacking the libomv baker to upload pre-baked files instead of making new ones for each bot.<div><br></div><div>-d<br><div><br><div class="gmail_quote">
On Tue, Aug 24, 2010 at 4:54 PM, Lake, Dan <span dir="ltr"><<a href="mailto:dan.lake@intel.com">dan.lake@intel.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
In our load testing, we use TestClient from OpenMetaverse which is implemented using GridClient. We have contributed several changes in the past few weeks related to running a hundred or more bots in a single TestClient instance. The main reason we see incomplete appearance is that TestClient does not have time to bake each appearance before the appearance handshake times out between TestClient and the server. All client threads become consumed baking/encoding/decoding image data. They all slow down and new baking requests appear to time out.<br>

<br>
There are 2 workarounds for this we have used with equal success:<br>
<br>
1. Run fewer than 25 clients per TestClient instance.<br>
2. Increase the baking timeouts in TestClient (passed as params to GridClient's AppearanceManager) to a large value (10+ minutes).<br>
<br>
We routinely run 300-400 bots against a single region using 4 TestClient instances with 100 bots each.<br>
We also run 1000+ bots on our research grid using 40 TestClient instances with 25 bots each or 10 instances of 100 each.<br>
In both of these situations, every avatar appears baked in the viewer.<br>
<font color="#888888"><br>
Dan lake<br>
Intel Labs<br>
</font><div><div></div><div class="h5"><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 Justin Clark-Casey<br>

Sent: Tuesday, August 24, 2010 4:40 PM<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>
On 23/08/10 08:08, <a href="mailto:it@nii.ac.jp">it@nii.ac.jp</a> wrote:<br>
> Hello Everybody,<br>
><br>
> I made some additionnal test using bots (GridClient)(using different viewer, different database on Opensim 0.7.0).<br>
><br>
><br>
> My observation is this one :<br>
> When we log a lot of bots (50 for instance), the appearance of the bots is not completely loaded for each bot. Some of them are fully loaded, while some others have just hair, eye, or just a grey part of skull loaded (or a ghost with SL viewer).<br>

><br>
> This problem is occuring on 0.7.0, and didn't existed on 0.6.8<br>
> Actually, I already talked about that, but, the new fact is that when a bon log into the simulation, it is set to the HOME location, and not to its previous position into the simulation.<br>
> Maybe these problem are bound to each others.<br>
><br>
> I wrote this to understand, if somebody could tell me what information is stored about each avatars, and where is it stored (for instance the last position of the avatar).<br>
> For instance, where is stored the appearance of the avatar, and when it is loaded.<br>
<br>
Last and home positions are stored in a table called GridUser.  Appearance information effectively comes from the body<br>
part and clothing entries in an avatar's inventory and the assets that they link to.  This is stored in inventoryitems<br>
(and the assets table, of course).<br>
<br>
I've seen problems with appearance with multiple bots on Intel load tests as well.  Don't know why this is.<br>
<br>
--<br>
Justin Clark-Casey (justincc)<br>
<a href="http://justincc.org" target="_blank">http://justincc.org</a><br>
<a href="http://twitter.com/justincc" target="_blank">http://twitter.com/justincc</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></div></div>