Re: [squid-users] Re:Re: Re: [squid-users] Meeting troubles when modify replacement policy. :-(

From: Squid Support (Henrik Nordstrom) <hno@dont-contact.us>
Date: Tue, 7 May 2002 23:50:27 +0200

There is two policy implementations in Squid

"lru" and "heap", where lru is the standard Squid modified LRU
policy, and heap is a heap driven policy engine.

The "heap" policy engine requires an additional argument specifying
the heap sorting function: "GDSF", "LFUDA" or "LRU". So the correct
policy name for GDSF using the heap policy engine is "heap GDSF"

Regards
Henrik

On Tuesday 07 May 2002 13:54, maer727@sohu.com wrote:
> Thanks, Simon pal!
>
> It is an error and not a warning.
>
> I wondered whether the policy name is "heap GDSF" or "GDSF"?
> What is your opinion? If use "heap", IMHO, it can stand for
> "heap LRU", "heap GDSF" and "heap LFUDA". I am also a newbie.
>
> Best regards,
> George Ma
>
> ----- Original Message -----
> From: Simon White
> To: maer727@sohu.com ;squid-users@squid-cache.org
> Cc: squid-dev@squid-cache.org
> Subject: Re: Re: [squid-users] Meeting troubles when modify
> replacement policy. :-( Sent: Tue May 07 19:46:40 CST 2002
>
> > 07-May-02 at 19:34, maer727@sohu.com (maer727@sohu.com) wrote :
> > > I use the following command to configure squid,
> > > ./configure --enable-removal-policies=heap.
> > > Then I use "make" to build squid. But an error occurs,
> > > store_repl_heap.c:281 undefined reference to
> > > 'HeapKeyGen_StoreEntry_GDSF'. How to resolve it?
> >
> > Is it an error or a warning? Warnings you can safely ignore.
> >
> > > I also has an idea to attain the same purpose, I want to
> > > modify store_heap_replacement.c. I want to delete the
> > > function HeapKeyGen_StoreEntry_LRU and rename the function
> > > HeapKeyGen_StoreEntry_GDSF to HeapKeyGen_StoreEntry_LRU.
> > > Will it work?
> >
> > I doubt it. I don't think it's broken anyway. So don't try to fix
> > it ;-)
> >
> > --
> > [Simon White. vim/mutt. simon@mtds.com. GIMPS:8.510% see
> > www.mersenne.org] Whenever I watch TV and see those poor starving
> > kids all over the world, I can't help but cry. I mean, I'd love
> > to be skinny like that but not with all those flies and death and
> > stuff. -- Mariah Carey

-- 
MARA Systems AB, Giving you basic free Squid support
Your source of advanced web reverse proxying solutions
http://www.marasystems.com/producs/
Received on Tue May 07 2002 - 16:11:18 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:07:57 MST