summaryrefslogtreecommitdiff
path: root/indra/llcorehttp/bufferarray.h
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/bufferarray.h
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/bufferarray.h')
-rw-r--r--indra/llcorehttp/bufferarray.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llcorehttp/bufferarray.h b/indra/llcorehttp/bufferarray.h
index 72c3e1c669..d3862b45e1 100644
--- a/indra/llcorehttp/bufferarray.h
+++ b/indra/llcorehttp/bufferarray.h
@@ -74,7 +74,7 @@ private:
public:
// Internal magic number, may be used by unit tests.
- static const size_t BLOCK_ALLOC_SIZE = 1504;
+ static const size_t BLOCK_ALLOC_SIZE = 65540;
/// Appends the indicated data to the BufferArray
/// modifying current position and total size. New