From: Vlad K. <hv...@us...> - 2009-04-27 08:20:22
|
> Vlad Khorsun escreveu: >> a) disable "parent_redirect". It will make HEAD work almost as 2.1, AFAIU >> >> b) rework "parent_redirect" to request medium sized memory chunks from parent pool (say 4-8KB) >> and use it to allocate memory for immediate callers. When such pool is freed it (pool) have to >> deallocate from parent pool much less number of memory blocks. >> > Not sure if this is possible, but c) Make a pool know about its child > pools, and when a child pool is destroyed it just informs his parent, so > that it could free at once or leave the memory for reuse? It could be free at once only when parent pool is destroyed. And parent pool is database pool which destroyed at process exit or with last disconnect. Regards, Vlad |