Re: Pool freelist

2014-09-04 Thread Greg Stein
As I recall, Paul tested using tcmalloc or some other allocator to replace apr_palloc(). No bueno. The short answer is that pool-based allocation is *wicked* fast, compared to any other attempt/mechanism for allocating memory. I managed to improve over apr by removing an if-test or two, but any

Re: Pool freelist

2014-09-04 Thread Ivan Zhakov
On 3 September 2014 23:37, Jim Jagielski j...@jagunet.com wrote: Yeah, that thread, and Greg's work w/ pocore, are kind of the origins of this question. The thing is that awhile ago, (I mean way awhile ago), I recall us trying to simply replace pools w/ malloc/free (Paul was the main dude in

Re: Pool freelist

2014-09-04 Thread Jim Jagielski
On Sep 4, 2014, at 7:03 AM, Ivan Zhakov i...@visualsvn.com wrote: On 3 September 2014 23:37, Jim Jagielski j...@jagunet.com wrote: Yeah, that thread, and Greg's work w/ pocore, are kind of the origins of this question. The thing is that awhile ago, (I mean way awhile ago), I recall us trying