trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bri...@apache.org
Subject git commit: Changing back default hdr heap str size to 2048
Date Thu, 08 May 2014 23:55:23 GMT
Repository: trafficserver
Updated Branches:
  refs/heads/master 6550daf11 -> 02cc2aa54


Changing back default hdr heap str size to 2048


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/02cc2aa5
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/02cc2aa5
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/02cc2aa5

Branch: refs/heads/master
Commit: 02cc2aa5400527af365084e4bc66f16f4d61f4d2
Parents: 6550daf
Author: Brian Geffon <briang@apache.org>
Authored: Thu May 8 16:55:19 2014 -0700
Committer: Brian Geffon <briang@apache.org>
Committed: Thu May 8 16:55:19 2014 -0700

----------------------------------------------------------------------
 proxy/hdrs/HdrHeap.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/02cc2aa5/proxy/hdrs/HdrHeap.h
----------------------------------------------------------------------
diff --git a/proxy/hdrs/HdrHeap.h b/proxy/hdrs/HdrHeap.h
index c584bb5..07d681b 100644
--- a/proxy/hdrs/HdrHeap.h
+++ b/proxy/hdrs/HdrHeap.h
@@ -51,10 +51,10 @@
 //  heaps are hand unrolled in the code.  Chaning
 //  this value requires a full pass through HdrBuf.cc
 //  to fix the unrolled operations
-#define HDR_BUF_RONLY_HEAPS   6
+#define HDR_BUF_RONLY_HEAPS   3 
 
 #define HDR_HEAP_DEFAULT_SIZE   2048
-#define HDR_STR_HEAP_DEFAULT_SIZE   4096
+#define HDR_STR_HEAP_DEFAULT_SIZE  2048 
 
 #define HDR_MAX_ALLOC_SIZE (HDR_HEAP_DEFAULT_SIZE - sizeof(HdrHeap))
 #define HDR_HEAP_HDR_SIZE ROUND(sizeof(HdrHeap), HDR_PTR_SIZE)


Mime
View raw message