Commit Graph

19975 Commits (47ce1a47bba9b62c1d984ca8387cb8c668a87075)

Author SHA1 Message Date
Diva Canto 47ce1a47bb Deleted all [ZZZ] debug messages. 2013-07-24 14:24:17 -07:00
Diva Canto 10def95c27 The previous commit did fix the infinity problem! I'm putting the same time on TP_V1 and adding a big red warning on top of those lines. 2013-07-24 14:22:59 -07:00
Diva Canto dab01a10d9 Today's wild shot at the infinity problem. Wait on the child agent left behind. 2013-07-24 12:54:13 -07:00
Diva Canto b44d96618c Amend previous commit. 2013-07-24 11:42:35 -07:00
Diva Canto 3a6c690e69 Added config var that we all thought was already there: see_into_region. (Note: different from the defunct see_into_neighboring_sim, which used to control the process from the other end). This enables child agents in neighbors for which the root agent doesn't have permission to be in. 2013-07-24 11:23:19 -07:00
Diva Canto 051cf81c9f Decreased the time of group cache to 1 min, because it was getting on my nerves that it takes so long to let go of old info. 2013-07-24 11:13:31 -07:00
Diva Canto c7a3714c37 Don't touch the Current Outfit folder also on coming back home 2013-07-23 15:04:24 -07:00
Diva Canto 1815c2f98c Restoring landing on prims, which had been affected by the edit beams commit. 2013-07-23 14:23:22 -07:00
Diva Canto 7c884d16f4 In renaming the folders for hypergriding, don't rename the Current Outfit folder. The viewer doesn't like that. 2013-07-23 14:17:32 -07:00
Diva Canto f3d31e6e53 Improvement of fetching name in groups 2013-07-23 11:29:53 -07:00
Diva Canto 701e15760c That didn't change anything.
Revert "One more tweak to check the infinity problem"

This reverts commit 2b696bc0c8.
2013-07-23 10:10:33 -07:00
Diva Canto 2b696bc0c8 One more tweak to check the infinity problem 2013-07-23 10:04:08 -07:00
Justin Clark-Casey (justincc) 9e277b54b9 Improve spacing between data and units on console stats display 2013-07-23 17:48:35 +01:00
Justin Clark-Casey (justincc) 805ac6435e For stats which can show average change over time, show the last sample as well as the average.
This is somewhat cryptic at the moment, need to improve documentation.
2013-07-23 17:48:10 +01:00
Justin Clark-Casey (justincc) 511801c607 Add proper method doc and comments to m_dataPresentEvent (from d9d9959) 2013-07-23 17:48:05 +01:00
Diva Canto ff294dce6c Moved TriggerOnMakeRootAgent back to the end of MakeRootAgent, to see if that eliminates the temporary placement at infinity upon TPs 2013-07-22 22:00:20 -07:00
Diva Canto 9c1ec98415 When LLSD handlers are not found, the server should return a 404 instead of a valid response saying 'No handler registered for LLSD Requests' 2013-07-22 21:45:57 -07:00
Diva Canto 01561166aa One more thing to test in order to let CompleteMovement go up the stack. 2013-07-22 20:49:40 -07:00
Diva Canto 8d1108e542 Minor adjustment on timings of waits. 2013-07-22 20:20:48 -07:00
Diva Canto be4034fd1c Merge branch 'cpu-performance' of ssh://opensimulator.org/var/git/opensim into cpu-performance 2013-07-22 18:47:10 -07:00
Diva Canto 87a19d4cab Changed the RegionHandshake packet to the Unknown queue, so that it is sent with high priority and hopefully gets to the client before AgentMovementComplete 2013-07-22 18:46:51 -07:00
Justin Clark-Casey (justincc) 35e46c2836 Add clientstack.InboxPacketsCount stat. This records the number of packets waiting to be processed at the second stage (after initial UDP processing)
If this consistently increases then this is a problem since it means the simulator is receiving more requests than it can distribute to other parts of the code.
2013-07-23 00:31:57 +01:00
Justin Clark-Casey (justincc) 0d90834f86 Add clientstack.OutgoingUDPSendsCount stat to show number of outbound UDP packets sent by a region per second 2013-07-23 00:15:58 +01:00
Justin Clark-Casey (justincc) 0755fc2f65 Merge branch 'cpu-performance' of ssh://opensimulator.org/var/git/opensim into cpu-performance 2013-07-22 23:59:10 +01:00
Justin Clark-Casey (justincc) 94072fb633 Record raw number of UDP receives as clientstack.IncomingUDPReceivesCount 2013-07-22 23:58:45 +01:00
Robert Adams 882efc1a2e Added check for user movement specification before discarding an incoming
AgentUpdate packet. This fixes the problem with vehicles not moving forward
after the first up-arrow.
Code to fix a potential exception when using different IClientAPIs.

Conflicts:

	OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
2013-07-22 15:51:44 -07:00
Justin Clark-Casey (justincc) deace1f344 Merge branch 'cpu-performance' of ssh://opensimulator.org/var/git/opensim into cpu-performance 2013-07-22 23:37:55 +01:00
Justin Clark-Casey (justincc) 7f0f3cc011 Add AverageUDPProcessTime stat to try and get a handle on how long we're taking on the initial processing of a UDP packet.
If we're not receiving packets with multiple threads (m_asyncPacketHandling) then this is critical since it will limit the number of incoming UDP requests that the region can handle and affects packet loss.
If m_asyncPacketHandling then this is less critical though a long process will increase the scope for threads to race.
This is an experimental stat which may be changed.
2013-07-22 23:30:09 +01:00
Diva Canto c163276032 This commit message intentionally left blank (last commit was idiotic) 2013-07-22 14:35:14 -07:00
Diva Canto a2a05d470e Improve the opening test in CompleteMovement, to account for multiple flags besides ViaLogin. 2013-07-22 14:23:50 -07:00
Diva Canto d5f8b7924c More on putting TP V1 as it was 2013-07-22 13:29:58 -07:00
Diva Canto d70a0c09cb Minor improvements on TP V1 trying to make it exactly as it was before. 2013-07-22 13:16:13 -07:00
Diva Canto df09fdf65d New Teleport protocol (V2), still compatible with V1 and older. (version of the destination is being checked)
In this new protocol, and as committed before, the viewer is not sent EnableSimulator/EstablishChildCommunication for the destination. Instead, it is sent TeleportFinish directly. TeleportFinish, in turn, makes the viewer send a UserCircuitCode packet followed by CompleteMovementIntoRegion packet. These 2 packets tend to occur one after the other almost immediately to the point that when CMIR arrives the client is not even connected yet and that packet is ignored (there might have been some race conditions here before); then the viewer sends CMIR again within 5-8 secs. But the delay between them may be higher in busier regions, which may lead to race conditions.
This commit improves the process so there are are no race conditions at the destination. CompleteMovement (triggered by the viewer) waits until Update has been sent from the origin. Update, in turn, waits until there is a *root* scene presence -- so making sure CompleteMovement has run MakeRoot. In other words, there are two threadlets at the destination, one from the viewer and one from the origin region, waiting for each other to do the right thing. That makes it safe to close the agent at the origin upon return of the Update call without having to wait for callback, because we are absolutely sure that the viewer knows it is in th new region.
Note also that in the V1 protocol, the destination was getting UseCircuitCode from the viewer twice -- once on EstablishAgentCommunication and then again on TeleportFinish. The second UCC was being ignored, but it shows how we were not following the expected steps...
2013-07-22 11:54:35 -07:00
Diva Canto 37337a4de9 Further tweaks on TPs: not sending the callback URL and instead waiting 15sec before closing the agent. This seems to be working fairly well. The viewer seems to have an 8 sec delay between UseCircuitCode and CompleteMovement.
Also added back the position on UpdateAgent, because it's needed for TPing between neighboring regions.
2013-07-21 20:22:13 -07:00
Diva Canto 8d98d287bd EXPERIMENTAL: yet another variation of ES/EAC/TPFinish 2013-07-21 17:38:01 -07:00
Diva Canto e1404adac6 That also didn't work.
Revert "One last thing before I stop on this: now not sending ES and EAC to the viewer. Looking in GridProxy, I don't see those messages in the Linden grid."

This reverts commit 1d27c9f4d1.
2013-07-21 17:23:52 -07:00
Diva Canto 1d27c9f4d1 One last thing before I stop on this: now not sending ES and EAC to the viewer. Looking in GridProxy, I don't see those messages in the Linden grid. 2013-07-21 17:18:54 -07:00
Diva Canto 428b51ffda That also didn't work.
Revert "EXPERIMENTAL: Trying the other order -- delaying MoveAgentIntoRegion until after the departing agent is released."

This reverts commit fe2487f8d3.
2013-07-21 17:11:25 -07:00
Diva Canto fe2487f8d3 EXPERIMENTAL: Trying the other order -- delaying MoveAgentIntoRegion until after the departing agent is released. 2013-07-21 16:49:24 -07:00
Diva Canto b69ddbb66b That didn't work. If anything, it made it worse.
Revert "EXPERIMENTAL: Switch MoveAgentIntoRegion with MakeRootAgent, to see if that eliminates the momentary position at infinity."

This reverts commit 1cb5e31716.
2013-07-21 16:18:24 -07:00
Diva Canto 1cb5e31716 EXPERIMENTAL: Switch MoveAgentIntoRegion with MakeRootAgent, to see if that eliminates the momentary position at infinity. 2013-07-21 16:06:03 -07:00
Diva Canto 7f60800ca6 Don't post Link asset types back to the home grid 2013-07-21 15:46:00 -07:00
Diva Canto ceaa7e9a54 Better version of previous commit 2013-07-21 14:39:50 -07:00
Diva Canto cab3e9978b Add the Current Outfit folder as an available folder in the SuitcaseInventory. 2013-07-21 14:34:43 -07:00
Diva Canto 049022717c Revert "WARNING: DON'T USE THIS COMMIT -- major spew on HG teleports."
This reverts commit 40c54a718f.
2013-07-21 14:08:22 -07:00
Diva Canto 40c54a718f WARNING: DON'T USE THIS COMMIT -- major spew on HG teleports. 2013-07-21 13:46:03 -07:00
Diva Canto 315097b8b9 Minor fixes 2013-07-21 13:36:03 -07:00
Diva Canto 5e5aa5fba7 Now diagnosing a strange behavior where upon TP agents are temporarily placed in very large coordinates, then snap back.
Extra checks in preparation for dropping obsolete data in agent transfers.
2013-07-21 12:44:46 -07:00
Diva Canto 9801d0d4c8 Minor aesthetic change to make things more clear. 2013-07-21 08:50:52 -07:00
Diva Canto d95a470442 The quaternion delta was a bit to high, now that the head rotation is out of the equation. (head rotation was the problematic one) 2013-07-20 19:20:20 -07:00