aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/bin
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2012-10-16 23:35:05 +0100
committerJustin Clark-Casey (justincc)2012-10-16 23:35:05 +0100
commitfc861c7904840b2b0b9de0621e9b5d976c8071b1 (patch)
treea0ed86f346171665d95196c33ec952ddd3753883 /bin
parentMake it possible to separate start and stop lludp packet processing from the ... (diff)
downloadopensim-SC_OLD-fc861c7904840b2b0b9de0621e9b5d976c8071b1.zip
opensim-SC_OLD-fc861c7904840b2b0b9de0621e9b5d976c8071b1.tar.gz
opensim-SC_OLD-fc861c7904840b2b0b9de0621e9b5d976c8071b1.tar.bz2
opensim-SC_OLD-fc861c7904840b2b0b9de0621e9b5d976c8071b1.tar.xz
Add optional pool for the UDPPacketBuffer objects that handle all incoming UDP data.
Even when an avatar is standing still, it's sending in a constant stream of AgentUpdate packets that the client creates new UDPPacketBuffer objects to handle. This option pools those objects. This reduces memory churn. Currently off by default. Works but the scope can be expanded.
Diffstat (limited to 'bin')
-rw-r--r--bin/OpenSimDefaults.ini6
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/OpenSimDefaults.ini b/bin/OpenSimDefaults.ini
index 2fca6ce..b99a02e 100644
--- a/bin/OpenSimDefaults.ini
+++ b/bin/OpenSimDefaults.ini
@@ -1602,10 +1602,14 @@
1602 1602
1603 1603
1604[PacketPool] 1604[PacketPool]
1605 ; Enables the experimental packet pool. Yes, we've been here before.
1606 ;RecyclePackets = true; 1605 ;RecyclePackets = true;
1607 ;RecycleDataBlocks = true; 1606 ;RecycleDataBlocks = true;
1608 1607
1608 ; If true, then the basic packet objects used to receive data are also recycled, not just the LLUDP packets.
1609 ; This reduces data churn
1610 ; This setting is currently experimental and defaults to false.
1611 RecycleBaseUDPPackets = false;
1612
1609 1613
1610[InterestManagement] 1614[InterestManagement]
1611 ; This section controls how state updates are prioritized for each client 1615 ; This section controls how state updates are prioritized for each client