<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Justin, are the new ini lines working with <font face="Arial"><a
href="http://osgrid.googlecode.com/files/osgrid.opensim-09242011.v0.7.2.8caf3ed.zip">OSgrid
OpenSimulator 0.7.2.dev.8caf3ed - [zip] [27.4mb] 09-24-2011</a>
?</font><br>
<br>
<br>
<br>
On 2011-10-14 01:37, Justin Clark-Casey wrote:
<blockquote cite="mid:4E977652.5070605@googlemail.com" type="cite">Hi
folks. I've had reason recently to investigate why flying across
a region can feel quite jerky.
<br>
<br>
It seems that one solution is to increase the number of
ImprovedTerseObjectUpdate packets that OpenSim sends out when the
avatar is moved. I'm assuming that more packets means smaller and
more frequent corrections of avatar position extrapolation by the
viewer.
<br>
<br>
At the moment, we only send out 11 ish packets per second.
Increasing this to 22 makes avatar flying much smoother
subjectively.
<br>
<br>
You can do this via a new set of config parameters added to the
bottom of the [Startup] config section of OpenSimDefaults.ini on
commit 4e7d433.
<br>
<br>
In OpenSimDefaults.ini you can see the lines (minus comments)
<br>
<br>
MinFrameTime = 0.089
<br>
UpdateObjectsEveryNFrames = 1;
<br>
UpdateAgentsEveryNFrames = 1;
<br>
UpdateEntityMovementEveryNFrames = 1;
<br>
UpdateCoarseLocationsEveryNFrames = 50;
<br>
UpdatePhysicsEveryNFrames = 1;
<br>
UpdateTempCleaningEveryNFrames = 1000;
<br>
UpdateEventsEveryNFrames = 1;
<br>
UpdateTerrainEveryNFrames = 50;
<br>
UpdateStorageEveryNFrames = 200;
<br>
<br>
At the moment we need to halve MinFrameTime and double all the
Update* params except UpdateAgentsEveryNFrames. You can do this
by overriding the defaults with the following parameters at the
bottom of the [Startup] section of OpenSim.ini.
<br>
<br>
MinFrameTime = 0.0445
<br>
UpdateObjectsEveryNFrames = 2;
<br>
UpdateAgentsEveryNFrames = 1;
<br>
UpdateEntityMovementEveryNFrames = 2;
<br>
UpdateCoarseLocationsEveryNFrames = 100;
<br>
UpdatePhysicsEveryNFrames = 2;
<br>
UpdateTempCleaningEveryNFrames = 2000;
<br>
UpdateEventsEveryNFrames = 2;
<br>
UpdateTerrainEveryNFrames = 100;
<br>
UpdateStorageEveryNFrames = 400;
<br>
<br>
My subjective experience is that horizontal avatar flying feels
much smoother on my local standalone and on a remote system.
However, this is only the case once everything has finished
loading and if you aren't being spammed by spurious ObjectUpdates
from prims, as discussed very recently in this list. You can
prevent spamming by making sure your client bandwidth is suitable
for your connection quality or by setting
enable_adaptive_throttles = true in [ClientStack.LindenUDP].
<br>
<br>
I've no idea how this will perform on a more heavily loaded sim,
particularly as we're currently achieving this change by halving
the time that physics has to update and avatar location is
updating twice for every physics update. But if you try this I'd
be interested in any feedback.
<br>
<br>
Also, please feel free to tweak the settings in other ways but we
cannot provide any support.
<br>
<br>
</blockquote>
<br>
</body>
</html>