手机版
你好,游客 登录 注册 搜索
背景:
阅读新闻

Memcached 1.4.14 发布

[日期:2012-08-03] 来源:oschina.net  作者:oschina [字体:大 中 小]

memcached是一套分布式的快取系统,当初是Danga Interactive为了LiveJournal所发展的,但目前被许多软件(如MediaWiki)所使用。这是一套开放源代码软件,以BSD license授权释出。

2012-07-31发布1.4.14.上一个版本是2012-02-02的1.4.13 下载地址: http://memcached.googlecode.com/files/memcached-1.4.14.tar.gz

此版本支持了新的Gcc,同时支持automake-1.12。

完全改进:

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.

linux
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款