Re: [squid-dev] [PATCH] convert Delay Pools classes to use MEMPROXY_CLASS

2017-02-02 Thread Alex Rousskov
On 01/22/2017 02:23 PM, Amos Jeffries wrote: > On 22/01/2017 4:51 p.m., Alex Rousskov wrote: >> On 01/21/2017 06:42 PM, Amos Jeffries wrote: >>> -long DelayPools::MemoryUsed = 0; >> The total provided by this global was probably quite handy/useful. If we >> can compute and still print it in

Re: [squid-dev] [PATCH] convert Delay Pools classes to use MEMPROXY_CLASS

2017-01-22 Thread Amos Jeffries
On 22/01/2017 4:51 p.m., Alex Rousskov wrote: > On 01/21/2017 06:42 PM, Amos Jeffries wrote: > >> This patch converts all the delay pools classes which were providing the >> new/delete operators to using MEMPROXY_CLASS instead. So each class in >> separately accounted for and we get a better view

Re: [squid-dev] [PATCH] convert Delay Pools classes to use MEMPROXY_CLASS

2017-01-21 Thread Alex Rousskov
On 01/21/2017 06:42 PM, Amos Jeffries wrote: > This patch converts all the delay pools classes which were providing the > new/delete operators to using MEMPROXY_CLASS instead. So each class in > separately accounted for and we get a better view of allocation stats > and behaviours from the

[squid-dev] [PATCH] convert Delay Pools classes to use MEMPROXY_CLASS

2017-01-21 Thread Amos Jeffries
The delay pools classes were using custom new/delete methods to allocate and account for pool overheads in a single counter. There is no need for this with memory pools and it makes the debugging harder and code more complex overall. This patch converts all the delay pools classes which were