cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: [RFC] Cached memory pools

From: Robert Iakobashvili <coroberti_at_gmail.com>
Date: Wed, 2 May 2007 20:26:15 +0200

On 5/2/07, Dan Fandrich <dan_at_coneharvesters.com> wrote:
> On Wed, May 02, 2007 at 10:25:45AM +0300, Robert Iakobashvili wrote:
> > The issue, that we have now is a certain performance degradation
> > within tens of minutes upon a high CPU and low memory conditions .
> > Shotting oprofile at such conditions is tricky, but we will try some tricks.
> > We are suspecting intensive memory defragmentation efforts by glibc,
> > which impacts the performance.
>
> Have you tried tuning glibc's malloc?
> http://www.gnu.org/software/libc/manual/html_node/Malloc-Tunable-Parameters.html
> Or linking in an alternative allocator for comparison?

Not yet.

Very interesting option, Dan. Thank you for the pointer.

Have you any experience with the tuning params
for mallopt, that may may be recommended for libcurl?

On a long run, however, we do believe in zero/near-zero run-time
allocations, using cached memory.

-- 
Sincerely,
Robert Iakobashvili,
coroberti %x40 gmail %x2e com
...........................................................
http://curl-loader.sourceforge.net
A web testing and traffic generation tool.
Received on 2007-05-02