|
Lear Cale
wordy bugger
Join date: 22 Aug 2007
Posts: 3,569
|
06-25-2009 07:24
Objects used to consume about 2 usec per idle script; an idle script being one with no listens open and no event handlers invoked (either because of having none, or because the event causing them didn't fire). This is per the results from estate tools "top scripts" panel.
Now, it seems that an idle LSL script takes 6 usec; a MONO one takes 5.
If it's valid data, that's awful, because most scripts in most objects are NOT handling an event most of the time. (I find that the vast majority of script time in a typical sim is used by idle scripts, though this may not be the case when sims are very busy & full of avatars.)
However, the two data points (old, new) come from two different regions, and I no longer have estate manager access in the old one. Here are the sim details:
old: Second Life 1.21.6 (0) Feb 3 2009 11:51:44 (Second Life Release) Release Notes
You are at 170501.9, 240321.9, 22.2 in Dreamworld Azure located at sim5103.agni.lindenlab.com (216.82.48.104:12035) Second Life Server 1.26.4.120562
new: Second Life 1.21.6 (0) Feb 3 2009 11:51:44 (Second Life Release) Release Notes
You are at 137644.5, 312488.2, 609.1 in Haguna dAlliez located at sim21.agni.lindenlab.com (216.82.8.96:12035) Second Life Server 1.26.4.120562
Earlier, someone said you could tell a class iV from class V server from the above, that the server's serial number was shown, but I can't see that here -- maybe they changed it. My understanding is I'm on Class V in both places, but it's possible that "new" is Class IV. How would one tell?
Thanks!
|
|
Sindy Tsure
Will script for shoes
Join date: 18 Sep 2006
Posts: 4,103
|
06-25-2009 08:58
From: Lear Cale Earlier, someone said you could tell a class iV from class V server from the above, that the server's serial number was shown, but I can't see that here -- maybe they changed it. My understanding is I'm on Class V in both places, but it's possible that "new" is Class IV. How would one tell? It used to be - couple years ago - that you could tell the server class by looking at the hostname.. No more, though. I think the only way to tell now is to ask a Linden. Unless we're talking mainland, which is all class 5. Also, you sure that's usec and not ms?
_____________________
Sick of sims locking up every time somebody TPs in? Vote for SVC-3895!!! - Go here: https://jira.secondlife.com/browse/SVC-3895- If you see "if you were logged in.." on the left, click it and log in - Click the "Vote for it" link on the left
|
|
Cerise Sorbet
Registered User
Join date: 8 Jun 2008
Posts: 254
|
06-25-2009 14:01
Hi! The numbers in top scripts do not work right. Simon Linden found a bug. Scripts show the time they used the last time they ran. It does not change right when they do nothing. The patch had to go in QA, it might be too late for SL 1.27.
|
|
Lear Cale
wordy bugger
Join date: 22 Aug 2007
Posts: 3,569
|
06-25-2009 14:35
Thanks, Sindy. Yes, there are only 22 ms in a frame, so if one script took 2 ms to do nothing, we'd have a lot more people complaining about script lag! 2 usec doesn't seem like much, but the way people throw scripts into objects, they add up pretty fast.
At my shop, I try to kee my 8K plot under 1 ms of script time, and nearly all that is idle script time from poseballs and MLPV2 products.
Thanks Cerise, that explains it! It also means I can't find out what I wanted to find out, until they fix it. I wanted to know whether there's a difference in idle script cpu usage for Mono vs. LSL scripts.
|