Re: Meeting trouble when modifying LRU algorithm.

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Tue, 9 Apr 2002 17:00:00 +0200

maer727@sohu.com wrote:

> 1. Edit file store_heap_replacement, modify the function
> HeapKeyGen_StoreEntry_LRU

I'd recommend you to add your own. See the store_repl_heap.c:
createRemovalPolicy_heap for the list of key functions.. This way you can
still call the "standard" heap based LRU for comparison.

> 2. ./configure
> make all
> make install
> (It takes a lot of time. Is there some method to make it quicker?)
>
> Is that right?

If you have only changed the C source then it is sufficient to skip directly
to "make install" the second time.

Regards
Henrik
Received on Tue Apr 09 2002 - 09:00:10 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:15:00 MST