pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/memcached



Module Name:    pkgsrc
Committed By:   wiz
Date:           Fri Apr 25 09:27:37 UTC 2014

Modified Files:
        pkgsrc/devel/memcached: Makefile distinfo
        pkgsrc/devel/memcached/patches: patch-Makefile.in patch-aa
            patch-configure

Log Message:
Update to 1.4.18:

Stats conns

New "stats conns" command, which will show you what currently open
connections are up to, how idle they've been, etc.  Starttime Hash
Algorithm Selection

The jenkins hash was getting a little long in the tooth, and we
might want to add specific hash algorithms for different platforms
in the future. This makes it selectable in some sense. We've
initially added murmur3 hash to the lineup and that seems to run
a tiny bit faster in some tests.

-o hash_algorithm=murmur3 LRU Crawler

A new background thread emerges! Currently experimental, so the
syntax might change. If you run into bugs please let us know (though
it's been testing fine in torture tests so far).

If you wish to clean your slab classes of items which have been
expired, either one-time or periodically, this will do it with low
impact as a background operation.

Currently it requires kicking off a crawl via manual command:

First, enable the thread: lru_crawler enable or use -o lru_crawler
as a starttime option.

lru_crawler crawl 1,3,5

... would crawl slab classes 1,3,5 looking for expired items to add to the 
freelist.

This is generally not useful or required, unless you have memory
with very mixed TTLs, you do not fetch items frequently enough or
otherwise cause them to expire, and you don't want items with longer
TTLs block reclaiming expired items, or to be evicted early.

Future uses of the thread should allow examining and purging items
via a plugin interface: IE crawl all items matching some string
and remove them, or count them. It is simple to modify to experiment
with as of now.

See doc/protocol.txt for full explanation of related commands and
counters.


To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 pkgsrc/devel/memcached/Makefile
cvs rdiff -u -r1.16 -r1.17 pkgsrc/devel/memcached/distinfo
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/memcached/patches/patch-Makefile.in \
    pkgsrc/devel/memcached/patches/patch-configure
cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/memcached/patches/patch-aa

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index