From 5fd17491509fb4b939666cdc37951e213f054242 Mon Sep 17 00:00:00 2001 From: Dan Lake Date: Fri, 11 Nov 2011 17:16:52 -0800 Subject: Remove SceneViewer from ScenePresence to reduce quadruple queueing of prim update to only triple queuing. Existing method was: 1. Schedule prim for update, adding to scene update list 2. Update on SOGs during heartbeat queues update onto each SceneViewer 3. Update on SPs during heartbeat queues update onto each IClientAPI 4. ProcessEntityUpdates queues updates into UDP send stack Now the SceneViewer has been eliminated so updates are scheduled at any time and then put onto the IClientAPI priority queues immediately during SceneGraph.UpdateObjectGroups. --- OpenSim/Region/Application/OpenSim.cs | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'OpenSim/Region/Application') diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs index 0cad8a9..ee26e4f 100644 --- a/OpenSim/Region/Application/OpenSim.cs +++ b/OpenSim/Region/Application/OpenSim.cs @@ -1049,24 +1049,6 @@ namespace OpenSim MainConsole.Instance.Output(handlers.ToString()); break; - case "pending-objects": - System.Text.StringBuilder pending = new System.Text.StringBuilder("Pending objects:\n"); - m_sceneManager.ForEachScene( - delegate(Scene scene) - { - scene.ForEachScenePresence( - delegate(ScenePresence sp) - { - pending.AppendFormat("{0}: {1} {2} pending\n", - scene.RegionInfo.RegionName, sp.Name, sp.SceneViewer.GetPendingObjectsCount()); - } - ); - } - ); - - MainConsole.Instance.Output(pending.ToString()); - break; - case "modules": MainConsole.Instance.Output("The currently loaded shared modules are:"); foreach (IRegionModule module in m_moduleLoader.GetLoadedSharedModules) -- cgit v1.1