[Opensim-dev] llSetTimerEvent accuracy
Kevin Cozens
kevin at ve3syb.ca
Sun Mar 20 17:18:03 UTC 2016
On 16-03-20 10:21 AM, Jeff Kelley wrote:
> At 11:40 PM -0700 3/19/16, Mike Higgins wrote:
>> Well, there is an OpenSim.ini parameter for setting the minimum time that
>> a timer can ask for, and the default is 0.5 seconds.
>
> ==> MinTimerInterval = 0.05
That must be a typo in your ini files or you set that value. The minimum
default in OpenSimDefaults.ini is 0.5 seconds.
If you have a script that needs a 0.1 second timer I hope that is only for
short periods of time. If not, the runtime on that script is going to be
high. If you are using 0.1 second timer with a texture change operation in
the timer handler that will result in a very high runtime. High script
runtimes are the typical cause of poor performance of a region (ie. lag).
When I see scripts with high runtimes in a grid the person is asked to shut
it down or fix it. If they don't know how to fix it I offer to help them. It
often doesn't take much to rewrite a script to significantly reduce the runtime.
--
Cheers!
Kevin.
http://www.ve3syb.ca/ |"Nerds make the shiny things that distract
Owner of Elecraft K2 #2172 | the mouth-breathers, and that's why we're
| powerful!"
#include <disclaimer/favourite> | --Chris Hardwick
More information about the Opensim-dev
mailing list