
|
If you were logged in you would be able to see more operations.
|
|
|
| Linden Lab Issue ID: |
DEV-12984
|
| Linden Lab Internal Branch: |
mono-based-on-release-87286
|
If I use llRemoteLoadScriptPin on several prims (let's say 9), I will see a drop in sim performance for about a second. Time dilation goes down to somewhere from 0.71 to 0.91.
It doesn't seem to matter whether I have llOwnerSay() in or not, and it still happens even if I comment the llSetRemoteScriptAccessPin(0) at the start of the Updateme script.
Make an object with ten prims. In the root prim, place the root script.. in each child prim, place the Updateme script. Then, reset the root script.
// This script goes in only the root prim, any name is fine.
integer iPin = 12345;
default
{
state_entry()
{
llMessageLinked(LINK_ALL_CHILDREN,0,"contactupdater","");
}
link_message(integer sender_num, integer num, string message, key id)
{
if (message == "updateme") {
if (id != llGetKey()) {
llOwnerSay("Updating:" + llKey2Name(id));
llRemoteLoadScriptPin(id,"Updateme",iPin,TRUE,123);
//llSleep(3.0); // If this is uncommented it seems much, much better.
}
}
}
}
// End of script
//This script should go in the root prim, and all child prims you use. Give the script this name: Updateme
integer iPin = 12345;
default
{
state_entry()
{
llOwnerSay("Started");
llSetRemoteScriptAccessPin(0);
}
link_message(integer sender_num, integer num, string message, key id)
{
if (message == "contactupdater")
{
llSetRemoteScriptAccessPin(iPin);
llMessageLinked(LINK_ROOT,0,"updateme",llGetKey());
llOwnerSay((string)llGetKey() + "," + (string)iPin);
}
}
}
// End of script
Then reset the root-prim's script to test it out. Every time I do this, the sim time dilation drops in the statistics bar.
More editing: And now as I'm trying this I am seeing no sim performance drop.. Weird! It was happening every time I tried this out, and now it isn't dropping performance in the statistics bar, from what I can tell.
But I am seeing it with a more complex set of scripts of mine.. I'll attach them.
|
|
Description
|
If I use llRemoteLoadScriptPin on several prims (let's say 9), I will see a drop in sim performance for about a second. Time dilation goes down to somewhere from 0.71 to 0.91.
It doesn't seem to matter whether I have llOwnerSay() in or not, and it still happens even if I comment the llSetRemoteScriptAccessPin(0) at the start of the Updateme script.
Make an object with ten prims. In the root prim, place the root script.. in each child prim, place the Updateme script. Then, reset the root script.
// This script goes in only the root prim, any name is fine.
integer iPin = 12345;
default
{
state_entry()
{
llMessageLinked(LINK_ALL_CHILDREN,0,"contactupdater","");
}
link_message(integer sender_num, integer num, string message, key id)
{
if (message == "updateme") {
if (id != llGetKey()) {
llOwnerSay("Updating:" + llKey2Name(id));
llRemoteLoadScriptPin(id,"Updateme",iPin,TRUE,123);
//llSleep(3.0); // If this is uncommented it seems much, much better.
}
}
}
}
// End of script
//This script should go in the root prim, and all child prims you use. Give the script this name: Updateme
integer iPin = 12345;
default
{
state_entry()
{
llOwnerSay("Started");
llSetRemoteScriptAccessPin(0);
}
link_message(integer sender_num, integer num, string message, key id)
{
if (message == "contactupdater")
{
llSetRemoteScriptAccessPin(iPin);
llMessageLinked(LINK_ROOT,0,"updateme",llGetKey());
llOwnerSay((string)llGetKey() + "," + (string)iPin);
}
}
}
// End of script
Then reset the root-prim's script to test it out. Every time I do this, the sim time dilation drops in the statistics bar.
More editing: And now as I'm trying this I am seeing no sim performance drop.. Weird! It was happening every time I tried this out, and now it isn't dropping performance in the statistics bar, from what I can tell.
But I am seeing it with a more complex set of scripts of mine.. I'll attach them. |
Show » |
made changes - 31/Jan/08 08:27 PM
| Field |
Original Value |
New Value |
|
Link
|
|
This issue Relates to SVC-1276
[ SVC-1276
]
|
made changes - 31/Jan/08 08:34 PM
|
Description
|
If I use llRemoteLoadScriptPin on several prims (let's say 9), I will see a drop in sim performance for about a second. Time dilation goes down to somewhere from 0.71 to 0.91.
It doesn't seem to matter whether I have llOwnerSay() in or not, and it still happens even if I comment the llSetRemoteScriptAccessPin(0) at the start of the Updateme script.
// This script goes in only the root prim, any name is fine.
integer iPin = 12345;
default
{
state_entry()
{
llMessageLinked(LINK_ALL_CHILDREN,0,"contactupdater","");
}
link_message(integer sender_num, integer num, string message, key id)
{
if (message == "updateme") {
if (id != llGetKey()) {
llOwnerSay("Updating:" + llKey2Name(id));
llRemoteLoadScriptPin(id,"Updateme",iPin,TRUE,123);
//llSleep(3.0); // If this is uncommented it seems much, much better.
}
}
}
}
// End of script
//This script should go in the root prim, and all child prims you use. Give the script this name: Updateme
integer iPin = 12345;
default
{
state_entry()
{
llOwnerSay("Started");
llSetRemoteScriptAccessPin(0);
}
link_message(integer sender_num, integer num, string message, key id)
{
if (message == "contactupdater")
{
llSetRemoteScriptAccessPin(iPin);
llMessageLinked(LINK_ROOT,0,"updateme",llGetKey());
llOwnerSay((string)llGetKey() + "," + (string)iPin);
}
}
}
// End of script
Then reset the root-prim's script to test it out. Every time I do this, the sim time dilation drops.
|
If I use llRemoteLoadScriptPin on several prims (let's say 9), I will see a drop in sim performance for about a second. Time dilation goes down to somewhere from 0.71 to 0.91.
It doesn't seem to matter whether I have llOwnerSay() in or not, and it still happens even if I comment the llSetRemoteScriptAccessPin(0) at the start of the Updateme script.
Make an object with ten prims. In the root prim, place the root script.. in each child prim, place the Updateme script. Then, reset the root script.
// This script goes in only the root prim, any name is fine.
integer iPin = 12345;
default
{
state_entry()
{
llMessageLinked(LINK_ALL_CHILDREN,0,"contactupdater","");
}
link_message(integer sender_num, integer num, string message, key id)
{
if (message == "updateme") {
if (id != llGetKey()) {
llOwnerSay("Updating:" + llKey2Name(id));
llRemoteLoadScriptPin(id,"Updateme",iPin,TRUE,123);
//llSleep(3.0); // If this is uncommented it seems much, much better.
}
}
}
}
// End of script
//This script should go in the root prim, and all child prims you use. Give the script this name: Updateme
integer iPin = 12345;
default
{
state_entry()
{
llOwnerSay("Started");
llSetRemoteScriptAccessPin(0);
}
link_message(integer sender_num, integer num, string message, key id)
{
if (message == "contactupdater")
{
llSetRemoteScriptAccessPin(iPin);
llMessageLinked(LINK_ROOT,0,"updateme",llGetKey());
llOwnerSay((string)llGetKey() + "," + (string)iPin);
}
}
}
// End of script
Then reset the root-prim's script to test it out. Every time I do this, the sim time dilation drops in the statistics bar.
More editing: And now as I'm trying this I am seeing no sim performance drop.. Weird! It was happening every time I tried this out, and now it isn't dropping performance in the statistics bar, from what I can tell.
But I am seeing it with a more complex set of scripts of mine.. I'll attach them.
|
made changes - 31/Jan/08 08:37 PM
made changes - 31/Jan/08 08:37 PM
made changes - 01/Apr/08 04:12 PM
|
Linden Lab Issue ID
|
|
DEV-12984
|
made changes - 03/Apr/08 04:48 AM
|
Assignee
|
|
Scouse Linden
[ Scouse Linden
]
|
made changes - 03/Apr/08 07:29 AM
|
Priority
|
Normal
[ 4
]
|
Major
[ 3
]
|
made changes - 12/May/08 03:45 PM
|
Status
|
Open
[ 1
]
|
Fix Pending
[ 10001
]
|
|
Linden Lab Internal Branch
|
|
mono-based-on-release-87286
|
made changes - 14/May/08 02:05 PM
|
Link
|
|
This issue is related to by SVC-1276
[ SVC-1276
]
|
made changes - 14/May/08 02:08 PM
|
Link
|
This issue Relates to SVC-1276
[ SVC-1276
]
|
|
made changes - 28/May/08 10:00 AM
|
Resolution
|
|
Fixed
[ 1
]
|
|
Status
|
Fix Pending
[ 10001
]
|
Resolved
[ 5
]
|
made changes - 13/Nov/08 12:09 PM
|
Workflow
|
jira-2007-12-22a
[ 51651
]
|
jira-2008-11-14
[ 82165
]
|
made changes - 13/Nov/08 04:41 PM
|
Workflow
|
jira-2008-11-14
[ 82165
]
|
jira-2008-11-14a
[ 90315
]
|
|