]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
daemon/worker: smaller starting mempool per request (16k)
authorMarek Vavruša <marek.vavrusa@nic.cz>
Tue, 14 Jul 2015 11:26:42 +0000 (13:26 +0200)
committerMarek Vavruša <marek.vavrusa@nic.cz>
Tue, 14 Jul 2015 13:11:03 +0000 (15:11 +0200)
commitb4f41ea22798bc36a1fbbc5a89fa518f57f6419c
tree080fc8d64e6fd4b90aeba97a3c388c5d7dbbcd90
parent6d887f54d29c571b9c2f28ab7eac04662f46b551
daemon/worker: smaller starting mempool per request (16k)

an average request from cache requires ~12k, an average iterative request 16-64k
this reduces allocation cost when there are now pools on the freelist
daemon/engine.h
daemon/worker.c