trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bri...@apache.org
Subject [11/17] git commit: TS-2766: Changing back default hdr heap str size to 2048
Date Wed, 18 Jun 2014 23:51:37 GMT
TS-2766: 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/abb38204
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/abb38204
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/abb38204

Branch: refs/heads/4.2.x
Commit: abb38204874075acbf15a73c709ceb94dc95ed48
Parents: 65677d2
Author: Brian Geffon <briang@apache.org>
Authored: Thu May 8 16:55:19 2014 -0700
Committer: Brian Geffon <briang@apache.org>
Committed: Tue Jun 10 16:14:10 2014 -0700

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


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/abb38204/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