Make LLUDP output queue refill thread active by default, since load tests have shown that this has better scalability.
For testing, previous behaviour can be restored with the console command "debug lludp oqre stop" at runtime.0.8-extended
parent
b40483dd27
commit
5f4c2eb5e6
|
@ -447,6 +447,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||||
{
|
{
|
||||||
StartInbound();
|
StartInbound();
|
||||||
StartOutbound();
|
StartOutbound();
|
||||||
|
OqrEngine.Start();
|
||||||
|
|
||||||
m_elapsedMSSinceLastStatReport = Environment.TickCount;
|
m_elapsedMSSinceLastStatReport = Environment.TickCount;
|
||||||
}
|
}
|
||||||
|
@ -491,6 +492,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||||
m_log.Info("[LLUDPSERVER]: Shutting down the LLUDP server for " + Scene.Name);
|
m_log.Info("[LLUDPSERVER]: Shutting down the LLUDP server for " + Scene.Name);
|
||||||
base.StopOutbound();
|
base.StopOutbound();
|
||||||
base.StopInbound();
|
base.StopInbound();
|
||||||
|
OqrEngine.Stop();
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override bool EnablePools()
|
protected override bool EnablePools()
|
||||||
|
|
|
@ -92,7 +92,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||||
"debug lludp oqre",
|
"debug lludp oqre",
|
||||||
"debug lludp oqre <start|stop|status>",
|
"debug lludp oqre <start|stop|status>",
|
||||||
"Start, stop or get status of OutgoingQueueRefillEngine.",
|
"Start, stop or get status of OutgoingQueueRefillEngine.",
|
||||||
"Experimental.",
|
"If stopped then refill requests are processed directly via the threadpool.",
|
||||||
HandleOqreCommand);
|
HandleOqreCommand);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue