[Opensim-dev] Reduce large varregion lag by sending limited parcel layer data

Mister Blue misterblue at misterblue.com
Mon May 4 05:35:32 UTC 2015


I checked into the OpenSimulator sources a fix for the large varregion
'right click lag' problem. The solution only sends  the parcel layer data
around the click location.

Turned out that OpenSimulator used to send the whole region's parcel layer
data (for sale, permissions, ...) when any interaction with the terrain
happened (like right clicking somewhere). For a 256x256 region this was
about 4K of data. For a 4kx4k varregion, this was > 1MB and, after several
right clicks, the transmission queues would fill up.

The long term solution is to only send parcel layer data when it changes
but, in the short term, this 'fix' sends only the parcel data around the
place clicked. The parcel layer distance defaults to 128 so operation for
legacy sized regions will be what it has always been.

The operation is controlled by parameters (added to OpenSimDefaults.ini):
[LandManagement]
    LimitParcelLayerUpdateDistance = true
    ParcelLayerViewDistance = 128

The whole region's parcel layer information will continue to be sent for
parcel updates, and other major changes. This is as it has always been.

Happy Mantis'ing.

== mb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://opensimulator.org/pipermail/opensim-dev/attachments/20150503/3da42fd9/attachment.html>


More information about the Opensim-dev mailing list