<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Great explanation thanks Dahlia!<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
opensim-dev-bounces@lists.berlios.de [mailto:opensim-dev-bounces@lists.berlios.de]
<b>On Behalf Of </b>Dahlia Trimble<br>
<b>Sent:</b> Monday, February 23, 2009 1:39 PM<br>
<b>To:</b> opensim-dev@lists.berlios.de<br>
<b>Subject:</b> Re: [Opensim-dev] Phantom prims and memory usage?<o:p></o:p></span></p>

</div>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>Phantom prims do not require a "proxy", which is
an in-memory representation of the object used to compute collisions. Proxy
memory usage is directly related to prim complexity, and simple boxes and
spheres are the most memory efficient. Memory requirements increase
as prims are reshaped and features such as hollows and cuts are used. To get
a rough idea about what is happening, observe a prim in wireframe mode in the
SL viewer (ctrl-shift-R) and edit a prim, varying the available parameters in
the editor. Each intersection of lines results in a "vertex" and each
triangle formed are the individual elements which use memory. Note that the sl
viewer uses more of these elements than the equivalent proxy on the server
uses, as additional elements can be used to display higher quality shading
effects on the display.<o:p></o:p></p>

<div>

<p class=MsoNormal><o:p> </o:p></p>

</div>

<div>

<p class=MsoNormal>Due to the nature of "unmanaged" memory usage
between the ODE library and the "managed" use in the OpenSim code
base, it is unclear how well each run-time environment (mono or .NET framework,
or version differences) is able to reclaim memory that was once used for a prim
that is now phantom. If one is attempting to characterize memory usage the
results will most likely vary between these environments. Also, restarting the
simulator process may in some cases show an improvement.<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><o:p> </o:p></p>

</div>

<div>

<p class=MsoNormal>One other factor to consider is the Garbage Collection (GC)
policies of each run time environment are also inconsistent, and memory usage
displays such as "top" in linux systems and the windows task manager
may be quite inaccurate.<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><o:p> </o:p></p>

<div>

<p class=MsoNormal><o:p> </o:p></p>

<div>

<p class=MsoNormal>On Mon, Feb 23, 2009 at 7:13 AM, John Sheridan <<a
href="mailto:john@pseudospace.net">john@pseudospace.net</a>> wrote:<o:p></o:p></p>

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

</div>

<p class=MsoNormal><o:p> </o:p></p>

</div>

</div>

</div>

</body>

</html>