summaryrefslogtreecommitdiff
path: root/indra/llcorehttp/_httpservice.cpp
diff options
context:
space:
mode:
authorMonty Brandenberg <monty@lindenlab.com>2012-06-16 15:50:48 -0400
committerMonty Brandenberg <monty@lindenlab.com>2012-06-16 15:50:48 -0400
commit6193ee6a331e3dfd562400a32a961bad0b8bed12 (patch)
treee80c47af3030e3322809fa1a392c555b8e2e8a8a /indra/llcorehttp/_httpservice.cpp
parent57575339bb7dd4f67c5e4dc1c1ccc9eda6a2f8f5 (diff)
First round of basic tuning work (shorter sleeps, larger BufferArray blocks).
Beefed up the metrics gathering in http_texture_load to get memory sizes and cpu consumption on windows (still need to implement that on Mac & linux). Ran runs with various idle loops with sleeps from 20 ms down to pure spinning, varied Block allocation size from 1504 to 2^20 bytes. 2ms/2ms/65540 appears to be a good spot under the test conditions (Win7, danu grid, client in Boston).
Diffstat (limited to 'indra/llcorehttp/_httpservice.cpp')
-rw-r--r--indra/llcorehttp/_httpservice.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llcorehttp/_httpservice.cpp b/indra/llcorehttp/_httpservice.cpp
index beba8f08f4..87a78820f5 100644
--- a/indra/llcorehttp/_httpservice.cpp
+++ b/indra/llcorehttp/_httpservice.cpp
@@ -40,7 +40,7 @@
// Tuning parameters
-static const int LOOP_SLEEP_NORMAL_MS = 10; // Normal per-loop sleep in milliseconds
+static const int LOOP_SLEEP_NORMAL_MS = 2; // Normal per-loop sleep in milliseconds
namespace LLCore