- 授权协议: BSD
- 开发语言: C/C++
- 操作系统: Linux
- 软件首页: https://github.com/gperftools/gperftools
- 软件文档: https://github.com/gperftools/gperftools
- 官方下载: https://github.com/gperftools/gperftools
软件介绍
TCMalloc (google-perftools) 是用于优化C++写的多线程应用,比glibc 2.3的malloc快。这个模块可以用来让MySQL在高并发下内存占用更加稳定。
本站使用的MySQL已经用 TCMalloc 优化过了。
详细的安装步骤:
#tar zxvf libunwind-0.98.6.tar.gz
#cd libunwind-0.98.6
#./configure
#make
#make install
#tar zxvf google-perftools-0.94.1.tar.gz
#cd google*
#./configure
#make
#make install
打开 mysqld_safe 脚本 (默认在/usr/bin/mysqld_safe)
在此脚本文件开始加入
LD_PRELOAD="/usr/local/lib/libtcmalloc.so"
#service mysql restart
HTML5移动Web开发指南
唐俊开 / 电子工业出版社 / 2012-3-1 / 59.00元
HTML5移动Web开发指南,ISBN:9787121160837,作者:唐俊开 著一起来看看 《HTML5移动Web开发指南》 这本书的介绍吧!