Hoard

View: New views
4 Messages — Rating Filter:   Alert me  

Hoard

by Luis Daniel Lucio Quiroz-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Because some openldap issues I'm moving to hoard as malloc replacement.  I
wonder to know if squid will take advantage.

TIA

LD

Re: Hoard

by Amos Jeffries-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Luis Daniel Lucio Quiroz wrote:
> Because some openldap issues I'm moving to hoard as malloc replacement.  I
> wonder to know if squid will take advantage.
>
> TIA
>
> LD

Only if squid is built against a library Hoard provides.

Squid by default will use its own memory pooling mechanism backed by
whatever malloc the compiler finds (usually gnumalloc or somesuch).

Amos
--
Please be using
   Current Stable Squid 2.7.STABLE7 or 3.0.STABLE20
   Current Beta Squid 3.1.0.14

Re: Hoard

by Luis Daniel Lucio Quiroz-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Le mardi 3 novembre 2009 23:05:05, Amos Jeffries a écrit :

> Luis Daniel Lucio Quiroz wrote:
> > Because some openldap issues I'm moving to hoard as malloc replacement.
> > I wonder to know if squid will take advantage.
> >
> > TIA
> >
> > LD
>
> Only if squid is built against a library Hoard provides.
>
> Squid by default will use its own memory pooling mechanism backed by
> whatever malloc the compiler finds (usually gnumalloc or somesuch).
>
> Amos
>
OK, so
what configure flagh should I use to let squid use hoard?

Re: Hoard

by Amos Jeffries-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, 4 Nov 2009 08:10:41 -0600, Luis Daniel Lucio Quiroz
<luis.daniel.lucio@...> wrote:

> Le mardi 3 novembre 2009 23:05:05, Amos Jeffries a écrit :
>> Luis Daniel Lucio Quiroz wrote:
>> > Because some openldap issues I'm moving to hoard as malloc
>> > replacement.
>> > I wonder to know if squid will take advantage.
>> >
>> > TIA
>> >
>> > LD
>>
>> Only if squid is built against a library Hoard provides.
>>
>> Squid by default will use its own memory pooling mechanism backed by
>> whatever malloc the compiler finds (usually gnumalloc or somesuch).
>>
>> Amos
>>
> OK, so
> what configure flagh should I use to let squid use hoard?

No ideas in my head sorry.

You will have to find out how its linked to override the compiler default
and set CXXFLAGS/CFLAGS/LIBS environment variables manually.

Amos