Post by Admin on Nov 1, 2016 13:18:28 GMT -8
Here are a couple tips to help you keep your region running good
You can help with your region and how it's performing, and it's relatively easy for you to monitor it. This is especially true for landlords who really may not have an idea what their renters are putting out. You'd be amazed at how quickly, one little script, can kill a region. So some things to keep in mind:
1. Ctrl Shift 1 is your friend. Your Sim FPS is a direct monitor to the server cpu as it runs. A healthy number is 53 and it should stay around that. You will see some dips, but anything lower than 40 for longer than 3 seconds is not healthy. This is indicative of a few things, but usually script cycling time.
2. Get Top Scripts (use World menu -> Region/Estate -> Debug tab) is also your friend. As a region owner, you can see every script that is actually consuming time on your region. These are the ones that are causing lag. And some of these can not be avoided as they are what make vw's so much fun. So don't shy away from scripts at all, just be smart in how you use them. So let's see how to diagnose Get Top Scripts. First, you want to sort it by Time so it lists them from largest amount of time down, so you will click that twice. Now refresh once every second and note what you're seeing popping up consistently and the times. You'll notice other scripts start to fall off the list btw, and this is completely normal. AO's are the absolute hogs of scripts, but there are others: Texture faders, collars left out unattached to avatars, etc. They will have high cycling times, and that's not good. Make sure anything requiring avatar permission in regards to animations is returned to their owner. If you see anything that is consistently over the 100ms range, you need to return that or remove it as well.
3. Do not blindly use scripts from SL. I can not stress this enough. There is one in particular, that you will never ever see in your GTS, but can bring a region full to it's memory and crash it repeatedly. I know I've removed it multiple times across the grid, but it's the standard LM giver script. LlResetScript in the on_rez event is not needed. This script has that, and it will simply continue to keep recompiling until there's no memory left or no threads left, whichever comes first on the server. When no threads are left, no more script events can be processed.
Following these simple 3 things can not only keep your region smooth and happy, but it will promote better scripting over all, and happier visitors to your region!
Thanks everyone!
3rdLife Grid Bring your vision to life
You can help with your region and how it's performing, and it's relatively easy for you to monitor it. This is especially true for landlords who really may not have an idea what their renters are putting out. You'd be amazed at how quickly, one little script, can kill a region. So some things to keep in mind:
1. Ctrl Shift 1 is your friend. Your Sim FPS is a direct monitor to the server cpu as it runs. A healthy number is 53 and it should stay around that. You will see some dips, but anything lower than 40 for longer than 3 seconds is not healthy. This is indicative of a few things, but usually script cycling time.
2. Get Top Scripts (use World menu -> Region/Estate -> Debug tab) is also your friend. As a region owner, you can see every script that is actually consuming time on your region. These are the ones that are causing lag. And some of these can not be avoided as they are what make vw's so much fun. So don't shy away from scripts at all, just be smart in how you use them. So let's see how to diagnose Get Top Scripts. First, you want to sort it by Time so it lists them from largest amount of time down, so you will click that twice. Now refresh once every second and note what you're seeing popping up consistently and the times. You'll notice other scripts start to fall off the list btw, and this is completely normal. AO's are the absolute hogs of scripts, but there are others: Texture faders, collars left out unattached to avatars, etc. They will have high cycling times, and that's not good. Make sure anything requiring avatar permission in regards to animations is returned to their owner. If you see anything that is consistently over the 100ms range, you need to return that or remove it as well.
3. Do not blindly use scripts from SL. I can not stress this enough. There is one in particular, that you will never ever see in your GTS, but can bring a region full to it's memory and crash it repeatedly. I know I've removed it multiple times across the grid, but it's the standard LM giver script. LlResetScript in the on_rez event is not needed. This script has that, and it will simply continue to keep recompiling until there's no memory left or no threads left, whichever comes first on the server. When no threads are left, no more script events can be processed.
Following these simple 3 things can not only keep your region smooth and happy, but it will promote better scripting over all, and happier visitors to your region!
Thanks everyone!
3rdLife Grid Bring your vision to life