Hi
An unusual request but for a project I want to create the most inefficient "laggy" scripts for stress testing sim performance..
So what will create the most lag for me in terms of scripts ?
Thanks in advance
Voodoo
These forums are CLOSED. Please visit the new forums HERE
I want the most inefficent laggy scripts |
|
|
Voodoo Lubitsch
Registered User
Join date: 25 Jan 2008
Posts: 11
|
10-17-2008 13:58
Hi
An unusual request but for a project I want to create the most inefficient "laggy" scripts for stress testing sim performance.. So what will create the most lag for me in terms of scripts ? Thanks in advance Voodoo |
|
Ruthven Willenov
Darkness in your light
Join date: 16 Jan 2008
Posts: 965
|
10-17-2008 14:44
hmm, multiple sensors and listens on timers changing prim sizes, colors, textures, etc all using target omega?
_____________________
Dark Heart Emporium
http://www.xstreetsl.com/modules.php?name=Marketplace&MerchantID=133020 want more layers for tattoos, specifically for the head? vote here http://jira.secondlife.com/browse/VWR-1449? llDetectedCollision* Functions similar to touch http://jira.secondlife.com/browse/SVC-3369 |
|
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
|
10-17-2008 23:41
don't forget to constantly cycle through things like physics status, move pos, axis locking, and maxing out script memory (with cycling calls to all stored variables)...
_____________________
|
| . "Cat-Like Typing Detected" | . This post may contain errors in logic, spelling, and | . grammar known to the SL populace to cause confusion | | - Please Use PHP tags when posting scripts/code, Thanks. | - Can't See PHP or URL Tags Correctly? Check Out This Link... | - |
|
Lear Cale
wordy bugger
Join date: 22 Aug 2007
Posts: 3,569
|
10-18-2008 14:14
Here's the laggiest script for script-lag only. No charge!
default { state_entry() { while (TRUE) {} } } Just put a few dozen of those in a prim; rez a few thousand of the prims, and watch your sim's script performance go south for the winter. I have another script that shows the average amount of time it takes for a script to respond to an LM, instantaneous, filtered a bit, and filtered more heavily (it shows 3 numbers, in msec). IM me or post here for a copy. (Interestingly, it gives different results when set out versus when worn.) But this begs the question: what exactly do you want to measure? "Sim performance" covers a wide range of things, including physics (moving prims), downloading textures etc. to clients, handling chat, and more. A machine that's good for one might not be equally good at another. (For example, physicis is heavily floating-point dependent. Most script execution is not. Two different types of CPU could split which wins on these things. For another example, multi-core helps some things more than others.) So ... what are you trying to measure? Or are you looking for a general benchmark? It takes a lot of knowledge to make a good benchmark. But you could start with a bunch of 'nonphy move' vehicles programmed to run in circles, and see how many of them you can deploy before physics goes below 44 FPS and stays there. Or you could get a bot program and see how many avatars you can get dancing before FPS drops. Good luck! Oh, in any case, if you are looking for a general benchmark, start a new thread with that as the title, and you might find that someone has already given this serious thought. |
|
Cypher Ragu
[Mad Scientist]
Join date: 6 Jul 2008
Posts: 174
|
10-20-2008 19:54
I say you should do everything the other people said, but make it read the commands from a notecard.... That happens to be encrypted
And don't forget to add lots of glowy particle effects ![]() _____________________
Life is a highway... And I just missed my exit.
|
|
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
|
10-20-2008 20:45
My guess is that this would do a pretty good job. Please only do this in your own sim or on the Beta Grid or something.
Put this script in a few prims or objects. Want more lag? Rez more objects. (Note: Not yet compiled; may need some syntax fixes; maybe that's a good thing.) CODE
|