I just realised that there was a typo in the -E option in my original post. It should read : “-E path_to_memcached_root/.libs/bag_lru_engine.so” Say you installed the memcached source tree at say /home/memcached. After you complete the build, a bunch of memcached related shared objects will get placed in /home/memcached.libs Among those shared objects will be the ones specific to the "engines". By default the standard 1.6 memcahed tree includes one engine called "default_engine" whose correponding shared object is /home/memcached/.libs/default_engine.so. The bagLRU branch has an additional eninge called "bag_lru_engine" whose implementation is in /home/memcached/.libs/bag_lru_engine.so . If you do not use the "-E" option to memcached it uses the default_engine. In order to use the bag LRU optimizations you need to use “-E /home/memcached/.libs/bag_lru_engine.so" option when launching memcached. Hope that clears it up. thanks, \rajiv
On Monday, July 2, 2012 4:59:49 PM UTC-7, p4 guru wrote: > Hi rajiv > > Could you elaborate on how to use Bag LRU, not sure what you mean by use > -E path to memcached root wherever bag_lru_engine.so is ? > > thanks > > On Saturday, June 30, 2012 4:00:00 AM UTC+10, rajiv wrote: >> >> Hi, >> >> >> >> To use the Bag LRU engine use the “-E path_to_memcached_root/ >> engines/.libs/bag_lru_engine.so” option to Memcached >> >> > >> Thanks, >> >> \rajiv >> Intel, Corp. > >
