Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Script performance over 130,000 ips!!!!!!!

Cherry Czervik
Came To Her Senses
Join date: 18 Feb 2006
Posts: 3,680
07-25-2007 10:29
OK is it just me who finds this particular figure .. um .... SCARY.

Can someone more techie than me (not hard) convince me that this script performance is **NOT** responsible for major 'rubber banding' etc when the Time Dilation is .99?
_____________________
To exchange power is sublime. To steal from another ... well, what goes around comes around.
Innes McLeod
Registered User
Join date: 8 Oct 2006
Posts: 190
07-25-2007 11:33
From: Cherry Czervik
OK is it just me who finds this particular figure .. um .... SCARY.

Can someone more techie than me (not hard) convince me that this script performance is **NOT** responsible for major 'rubber banding' etc when the Time Dilation is .99?


That is pretty bad... The script perf in my home sim runs normally about 20,000 ips. We had a rogue script take it to averaging about 700,000 ips and it shut us down completely until I got a Linden to take care of it.

That high will cause quite a few problems, and wil definatelly lag down ant scripts you have running. Even if it does not cause the rubberbanding, you may want to have someone check that out.
Cherry Czervik
Came To Her Senses
Join date: 18 Feb 2006
Posts: 3,680
07-25-2007 13:17
Ouch

I spoke to Linden yesterday - I am no longer concierge so it's the Estate Owner who needs to speak to them ... but ...

Meh. Now, if there were such a thing as Live Help ...
_____________________
To exchange power is sublime. To steal from another ... well, what goes around comes around.
Learjeff Innis
musician & coder
Join date: 27 Nov 2006
Posts: 817
07-25-2007 13:36
Scripts will only cause other scripts to lag.

A high script IPS count means two things:
(A) scripts are always ready to run -- meaning there are probably some inefficient scripts
(B) the sim is spending so little time on physics that there is plenty of CPU time left over for scripts.

Scripts do NOT affect the time allotted for physics (actually doing the simulation). Physics takes as long as it takes to get 40 FPS, and the remainder is left over for scripts. However, if physics can't get 40 FPS and leave a certain fraction of time for scripts, then frame rate slows down.

In other words, scripts (all together) get a certain guaranteed allotment. If there's left over CPU time, scripts get it.

This means that scripts will NOT slow down physics. Only other scripts (and possibly chat; I'm not sure about that). It also means that phsics can slow down scripts a certain amount, but once the frame rate goes below 40, it wont slow them down any more even if physics gets terrible.

Finally, all "I's" (instructions) are not alike. Some are much easier and go faster than others. So, the IPS count can be misleading, in unusual cases, such as a haywire script with an infinite loop doing very simple instructions.

Ideally, have the sim owner look at the list of CPU usage by scripts, and see if the top ones are anything interesting and possibly buggy. Especially if they take an inordinate percentage of CPU time. Too bad we can't all do that!
Kitty Barnett
Registered User
Join date: 10 May 2006
Posts: 5,586
07-25-2007 20:11
There is (well, was a few months ago) apparantly an unstable state for sims where the sim is lagging (and scripts as well) and everything you can tell from the statistics is normal, except for an unsually high IPS.

Ask the sim owner to restart the sim, or put in a support ticket and ask for a restart if it's a mainland sim and that should bring everything back to normal :).
Ultralite Soleil
Registered User
Join date: 31 Aug 2006
Posts: 108
07-25-2007 20:28
A couple months ago my sim went to 1.5 MILLION ips script perf. My own scripts were running very slowly. I opened a support ticket and it was fixed within 1 day. Turned out to be some other object in the sim with a runaway script problem.
Cherry Czervik
Came To Her Senses
Join date: 18 Feb 2006
Posts: 3,680
07-25-2007 22:39
Thanks guys. This was all really useful stuff.

Yeah we are getting lagged to the skies when the performance goes crazy.

Estate owner restarted the sim to no effect the other day. Will talk to her again and point her to this thread.

Linden said they'd look at it (poss cos although I bought on private island and therefore don't pay tier directly I have over half that island plus a nice chunk of mainland I do pay for and therefore indirectly I am sort of still concierge level perhaps).

hugs to all
_____________________
To exchange power is sublime. To steal from another ... well, what goes around comes around.
Cherry Czervik
Came To Her Senses
Join date: 18 Feb 2006
Posts: 3,680
07-25-2007 23:03
LOL well ...

The problem has been resolved as the main suspects refused to do anything about what was happening. The Estate owner is resetting the sim right now.

YAY!!

Best of all I guess is that the really really funky Japanese build next door can expand now ... we have a complete clash of style between us but I think that makes things fun (check them out on Odessa Graceful, seriously very very cool).
_____________________
To exchange power is sublime. To steal from another ... well, what goes around comes around.