pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/memcached Update to memcached 1.4.15



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7e4f7ace1e56
branches:  trunk
changeset: 609499:7e4f7ace1e56
user:      asau <asau%pkgsrc.org@localhost>
date:      Thu Oct 04 10:46:48 2012 +0000

description:
Update to memcached 1.4.15


Changes in memcached 1.4.15

Overview

This is a somewhat experimental release which pushes thread
performance even more than before. Since this is a more
experimental release than usual, and contains no other major
fixes or features, we urge some caution for important
deployments. We feel as though it is high quality software, but
please take caution and do slow rollouts or testing. Thanks!

Fixes

  * Add some mild thread documentation
  * README.md was missing from dist tarball
  *  Issue 286 : --disable-coverage drops "-pthread" option
  * Reduce odds of getting OOM errors in some odd cases

New Features

Thread scalability is much improved for reads, and somewhat
improved for writes. In a pure read-only situation on a dual
socket six core NUMA machine I've tested key fetch rates around
13.6 million keys per second.

More tuning is necessary and you'd get significant lag at that
rate, but that shows the theoretical limit of the locks.


Changes in memcached 1.4.14

Overview

Fixes

  * fix compile issue with new GCC's
  * Added support for automake-1.12 in autogen.sh
  * Use Markdown for README.
  * Fixed issue with invalid binary protocol touch command
    expiration time (http://code.google.com/p/memcached/issues/detail?id=275)
  * Define touch command probe for DTrace support
  * Error and exit if we don't have hugetlb support (changes -L behavior)
  * update reassign/automove documentation
  * Remove USE_SYSTEM_MALLOC define
  * slab rebalancing from random class
  * split slab rebalance and automove threads
  * pre-split slab pages into slab freelists
  * Avoid race condition in test during pid creation by blind retrying

New Features

This release mainly features a number of small bugfixes, but
also a change to slab rebalance behavior.

Previously, if you moved a slab page from one slab to another,
you had to wait until that new page was fully used before moving
another one. That wait has been removed, and you can move pages
as fast as the system can ... move them.

A few new features as well:

slabs reassign

slabs reassign -1 15 will pick a page from any slab class and move it to class 15.

slabs automove

slabs automove 2 now enables an ultra aggressive page
reassignment algorithm. On every eviction, it will try to move a
slab page into that class. You should never run this in
production unless you have a very, very good idea of what's
going to happen. For most people who have spurious evictions
everywhere, you'll end up mass evicting random data and hurting
your hit rate. It can be useful to momentarily enable for
emergency situations, or if you have a data access pattern where
evictions should never happen.

This was work we were planning on doing already, but twitter's
rewrite has people presently interested in trying it out. You've
been warned.

diffstat:

 devel/memcached/Makefile                         |   5 +--
 devel/memcached/PLIST                            |   3 +-
 devel/memcached/distinfo                         |   9 +++----
 devel/memcached/patches/patch-memcached_dtrace.d |  25 ------------------------
 4 files changed, 8 insertions(+), 34 deletions(-)

diffs (75 lines):

diff -r 68cfbb0f0c37 -r 7e4f7ace1e56 devel/memcached/Makefile
--- a/devel/memcached/Makefile  Thu Oct 04 09:19:16 2012 +0000
+++ b/devel/memcached/Makefile  Thu Oct 04 10:46:48 2012 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.29 2012/10/03 21:54:32 wiz Exp $
+# $NetBSD: Makefile,v 1.30 2012/10/04 10:46:48 asau Exp $
 
-DISTNAME=      memcached-1.4.13
-PKGREVISION=   1
+DISTNAME=      memcached-1.4.15
 CATEGORIES=    devel
 MASTER_SITES=  http://memcached.googlecode.com/files/
 
diff -r 68cfbb0f0c37 -r 7e4f7ace1e56 devel/memcached/PLIST
--- a/devel/memcached/PLIST     Thu Oct 04 09:19:16 2012 +0000
+++ b/devel/memcached/PLIST     Thu Oct 04 10:46:48 2012 +0000
@@ -1,8 +1,9 @@
-@comment $NetBSD: PLIST,v 1.7 2011/10/03 11:53:11 adam Exp $
+@comment $NetBSD: PLIST,v 1.8 2012/10/04 10:46:48 asau Exp $
 bin/memcached
 bin/memcached-tool
 include/memcached/protocol_binary.h
 man/man1/memcached.1
 share/doc/memcached/protocol.txt
 share/doc/memcached/readme.txt
+share/doc/memcached/threads.txt
 share/examples/rc.d/memcached
diff -r 68cfbb0f0c37 -r 7e4f7ace1e56 devel/memcached/distinfo
--- a/devel/memcached/distinfo  Thu Oct 04 09:19:16 2012 +0000
+++ b/devel/memcached/distinfo  Thu Oct 04 10:46:48 2012 +0000
@@ -1,11 +1,10 @@
-$NetBSD: distinfo,v 1.14 2012/10/03 10:46:47 asau Exp $
+$NetBSD: distinfo,v 1.15 2012/10/04 10:46:48 asau Exp $
 
-SHA1 (memcached-1.4.13.tar.gz) = d9a48d222de53a2603fbab6156d48d0e8936ee92
-RMD160 (memcached-1.4.13.tar.gz) = eb2dc6c034594024522c4880c76f8ea90d3b6bc8
-Size (memcached-1.4.13.tar.gz) = 320751 bytes
+SHA1 (memcached-1.4.15.tar.gz) = 12ec84011f408846250a462ab9e8e967a2e8cbbc
+RMD160 (memcached-1.4.15.tar.gz) = 13fc94ec7e5781e6e940645890a77ed814303ec9
+Size (memcached-1.4.15.tar.gz) = 324451 bytes
 SHA1 (patch-Makefile.am) = c8e6c2f4c7ce8264c2b4dcad6445248264a8fa9e
 SHA1 (patch-Makefile.in) = ae42902d4901b52d0ff97824884b3ab0f68a904c
 SHA1 (patch-aa) = a888e2d8ff08278514ff081706465a93c19c44a8
 SHA1 (patch-ab) = a870c803752bca12550da73d19ee0e675b5e576d
 SHA1 (patch-configure) = 7f776205954f8a12bf52d97722ce59693f6f5aa6
-SHA1 (patch-memcached_dtrace.d) = 6c572bf622aa396194d1c3c3dd5e00ee17d0abec
diff -r 68cfbb0f0c37 -r 7e4f7ace1e56 devel/memcached/patches/patch-memcached_dtrace.d
--- a/devel/memcached/patches/patch-memcached_dtrace.d  Thu Oct 04 09:19:16 2012 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,25 +0,0 @@
-$NetBSD: patch-memcached_dtrace.d,v 1.1 2012/06/08 11:48:04 fhajny Exp $
-
-Add missing DTrace probe.
-http://code.google.com/p/memcached/issues/detail?id=254
-
---- memcached_dtrace.d.orig    2010-09-22 14:46:24.000000000 +0000
-+++ memcached_dtrace.d
-@@ -251,6 +251,17 @@ provider memcached {
-    probe command__append(int connid, const char *key, int keylen, int size, int64_t casid);
- 
-    /**
-+    * Fired for an touch-command.
-+    * @param connid connection id
-+    * @param key requested key
-+    * @param keylen length of the key
-+    * @param size the new size of the key's data (or signed int -1 if
-+    *             not found)
-+    * @param casid the casid for the item
-+    */
-+   probe command__touch(int connid, const char *key, int keylen, int size, int64_t casid);
-+
-+   /**
-     * Fired for a cas-command.
-     * @param connid connection id
-     * @param key requested key



Home | Main Index | Thread Index | Old Index