几种内存操作性能比较
摘要:Comparisation TLSF Two-Level Segregate Fit, mainly on RTOS jemalloc Jason Evans's malloc, used by firefox dlmalloc Doug Lea’s malloc, been around fore...
阅读全文
Redis采用不同内存分配器碎片率对比
摘要:我们知道Redis并没有自己实现内存池,没有在标准的系统内存分配器上再加上自己的东西。所以系统内存分配器的性能及碎片率会对Redis造成一些性能上的影响。在Redis的 zmalloc.c 源码中,我们可以看到如下代码: 48 /* Explicitly override malloc/free e...
阅读全文
解决编译apache出现的问题:configure: error: APR not found . Please read the documentation
摘要:今日编译apache时出错: #./configure --prefix……检查编辑环境时出现: checking for APR... noconfigure: error:APR not found. Please read the documentation 解决办法: 1.下载所需软件包: ...
阅读全文
redis编译安装
摘要:redis是一个强大的NoSQL数据库,相对于memcached,他提供了更丰富的数据类型,有string、hash、list、set、sorted set这几种类型;还支持数据持久化。光string类型,就比memcached功能更强大,提供了获取/设置子串、bit位等更灵活的操作,其他类型是me...
阅读全文