[Opensim-dev] Phantom prims and memory usage?

Kyle create at reactiongrid.com
Wed Feb 25 16:56:56 UTC 2009


I just made most prims phantom on a new build that had been some trouble and
it seems smoother now. I will try and get more definitive data but this
seems promising and possibly should be considered to have prims phantom by
default. Though this would throw off many new builders.

-----Original Message-----
From: opensim-dev-bounces at lists.berlios.de
[mailto:opensim-dev-bounces at lists.berlios.de] On Behalf Of John Hopkin
Sent: Wednesday, February 25, 2009 11:43 AM
To: opensim-dev at lists.berlios.de
Cc: opensim-users at lists.berlios.de
Subject: Re: [Opensim-dev] Phantom prims and memory usage?

John Sheridan wrote:

>Ok, I'm trying a little bit of an experiment here and I'm wondering if 
>anyone else has tried this and had similar results?  We're running ODE 
>on Linux Ubuntu using a vps setup hosted on quad core Xeons.
>
>I'm going on the concept that if an object does not need any sort of 
>physical interaction that if its made phantom the server will in effect 
>use less resources.  In this case I have one server thats running six 
>sims with around 30,000 prims spread between them all.  After going 
>around and setting as many objects as possible to phantom (telephone 
>poles, windows, tables, chairs, misc props and anything thats not needed 
>to keep the avatar from falling out of the buildings) it appears as 
>though that server's memory usage has gone down from about 70% (740 
>megs) down to 45% (520 megs).  I would estimate that in total 
>approximately 15,000 to 20,000 prims were set to phantom.

Very interesting - thanks for looking into this.

It seems that in actual builds, those we see in use in SL, for
example, most prims don't need to be non-phantom but are, and it's not
surprising to find that your exercise reduces the cost.   I've
sometimes wondered if there's a case for saying that new prims should
be phantom by default, though I'm not necessarily suggesting that as a
course of action for OpenSim.  It certainly helps avatar movement when
a cleanup like you describe is done, especially with furniture,
poseballs etc, and it's well worth the time doing that even if only
for the sake of smooth operation.

Is there any indication of a corresponding drop in CPU usage,
especially when avatars are moving around in there?
-- 
John Hopkin

_______________________________________________
Opensim-dev mailing list
Opensim-dev at lists.berlios.de
https://lists.berlios.de/mailman/listinfo/opensim-dev





More information about the Opensim-dev mailing list