From 00df217992d7240b2bc1107ec6257f0b96767172 Mon Sep 17 00:00:00 2001 From: Francesco Chemolli Date: Wed, 23 Sep 2015 22:29:46 -0700 Subject: [PATCH] Remove custom pool chunk size for StoreEntry. As an historic optimization StoreEntry uses a custom pool chunk size of 2MB. Knowledge of the actual benefits from this optimization has been lost in time, and it's not possible to accurately measure its actual impact in all load scenarios; at the same time this optimization is blocking other potentially useful developments. This change is therefore considered a potential performance regression in some load scenarios. --- src/store.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/src/store.cc b/src/store.cc index 521c9d08f0..8bc452f8e8 100644 --- a/src/store.cc +++ b/src/store.cc @@ -151,7 +151,6 @@ StoreEntry::operator new (size_t bytecount) if (!pool) { pool = memPoolCreate ("StoreEntry", bytecount); - pool->setChunkSize(2048 * 1024); } return pool->alloc(); -- 2.47.2