SH-4163 Run an initial series of 'B' tests on the mesh downloader code

Wed, 08 May 2013 18:37:08 -0400

author
Monty Brandenberg <monty@lindenlab.com>
date
Wed, 08 May 2013 18:37:08 -0400
changeset 40677
e1ef342c2a58
parent 40676
73d52141f4c5
child 40679
853a34b928f7

SH-4163 Run an initial series of 'B' tests on the mesh downloader code
Bleh, had some old initialization code in place that meant I was using
32 connections. (Always verify with 'netstat'...) Logic is now to
use 1/4 of MeshMaxConncurrentRequests to head in the direction of 8
at a time. Full count is used to implement a high-water level keeping
llcorehttp in work.

indra/newview/llappcorehttp.cpp file | annotate | diff | revisions
     1.1 --- a/indra/newview/llappcorehttp.cpp	Wed May 08 13:48:14 2013 -0400
     1.2 +++ b/indra/newview/llappcorehttp.cpp	Wed May 08 18:37:08 2013 -0400
     1.3 @@ -139,7 +139,8 @@
     1.4  		static const std::string mesh_concur("MeshMaxConcurrentRequests");
     1.5  		if (gSavedSettings.controlExists(mesh_concur))
     1.6  		{
     1.7 -			U32 setting(llmin(gSavedSettings.getU32(mesh_concur), U32(32)));
     1.8 +			U32 setting(llmin(gSavedSettings.getU32(mesh_concur), 256U) / 4U);
     1.9 +			setting = llmax(setting, 2U);
    1.10  			
    1.11  			if (setting > 0)
    1.12  			{

mercurial