From: Francesco Chemolli Date: Thu, 24 Sep 2015 05:29:46 +0000 (-0700) Subject: Remove custom pool chunk size for StoreEntry. X-Git-Tag: SQUID_3_5_10~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=00df217992d7240b2bc1107ec6257f0b96767172;p=thirdparty%2Fsquid.git 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. --- 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();