<div dir="ltr"><div><span style="font-size:12.8000001907349px">Greetings,</span></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">We at the MOSES project have noticed Simulation and Physics frames per second (FPS) have a few issues that we are trying to resolve. The issues are producing suspicious performance statistics for the analysis of the current version of OpenSim that we are running. </span></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">First, there is a correction factor (m_reportedFpsCorrectionFactor) that the raw SimFPS is multiplied by. The comment in the following line is a bit curious because it indicates that the FPS is artificially inflated to "lie" about the actual FPS being so low:</span></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">OpenSim/Region/Framework/</span><u style="font-size:12.8000001907349px"></u><span style="font-size:12.8000001907349px">Scene</span><span style="font-size:12.8000001907349px">s/SimStatsReporter.cs: Line 317</span><span style="font-size:12.8000001907349px"><br></span></div><div><div style><span style="font-size:12.8000001907349px">// We're going to lie about the FPS because we've been lying since 2008.  The actual FPS is currently</span></div><div style><span style="font-size:12.8000001907349px">// locked at a maximum of 11.  Maybe at some point this can change so that we're not lying.</span></div><div style><span style="font-size:12.8000001907349px">int reportedFPS = (int)(m_fps * m_reportedFpsCorrectionFactor);</span></div></div><div style><span style="font-size:12.8000001907349px"><br></span></div><div style><span style="font-size:12.8000001907349px">Also, lines 174 and 227 mention the use of this correction factor.</span></div><div style><span style="font-size:12.8000001907349px"><br></span></div><div style><span style="font-size:12.8000001907349px">Second, this multiplier also comes into play in the Scene where there is a </span><span style="font-size:12.8000001907349px">MinFrameTime, which seems to be the minimum reported amount of time to process a frame:<br></span><span style="font-size:12.8000001907349px">OpenSim/Region/Framework/</span><u style="font-size:12.8000001907349px"></u><span style="font-size:12.8000001907349px">Scene</span><span style="font-size:12.8000001907349px">s/Scene.cs:Line 723</span></div><div style><span style="font-size:12.8000001907349px"><br></span></div><div style><span style="font-size:12.8000001907349px">Both of these variables, the correction factor and MinFrameTime, are concerning from a statistics view point as they are generating skewed and massaged numbers; therefore, I have a few questions:</span></div><div style><span style="font-size:12.8000001907349px"><br></span></div><div style><span style="font-size:12.8000001907349px">1) Is it commonly known that Sim and Phy FPSs are inflated to maintain the "lie"? And if so, will it be corrected to be an accurate reporting of processed frames per second?</span></div><div style><span style="font-size:12.8000001907349px"><br></span></div><div style><span style="font-size:12.8000001907349px">2) What exactly are the definitions for OpenSim's Simulation (Sim) FPS, Physics (Phy) FPS and a frame (I have found conflicting and vague definitions on the wiki)?</span></div><div style><span style="font-size:12.8000001907349px"><br></span></div><div style><span style="font-size:12.8000001907349px">3) What are the known performance consequences of setting the </span><span style="font-size:12.8000001907349px">m_reportedFpsCorrectionFactor to 1 and </span><span style="font-size:12.8000001907349px">MinFrameTime to 0?</span></div><div style><span style="font-size:12.8000001907349px"><br></span></div><div style><span style="font-size:12.8000001907349px">Thanks,</span></div><div style><span style="font-size:12.8000001907349px">Sean M.</span></div></div>