memcached 能否充分利用多核? [英] Can memcached make full use of multi-core?

查看:82
本文介绍了memcached 能否充分利用多核?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

memcached 能否充分利用多核?或者有什么办法可以调整这个?

Is memcached capable of making full use of multi-core? Or is there any way tuning this?

推荐答案

默认情况下,memcached 是多线程的,饱和许多内核没有问题.在更大规模的并行机器(例如 256 核 CMT 机器)上使所有内核饱和会有点困难,因为将数据传入和传出网络变得更加困难.

memcached is multi-threaded by default and has no problem saturating many cores. It's a bit harder to saturate all cores on more massively parallel boxes (e.g. a 256-core CMT box) just because it gets harder to get the data in and out of the network.

如果您发现某些地方存在某种争用阻碍您使内核饱和,请提交错误或开始讨论.

If you find areas where some sort of contention is preventing you from saturating cores, file a bug or start a discussion.

这篇关于memcached 能否充分利用多核?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆