pomelo rpc zeromq性能测试报告 - stammen/pomelo GitHub Wiki
| 服务 | 机器 | 硬件配置 |
|---|---|---|
| GameServer | pomelo3.server.163.org |
云主机 1CPU 8核心 CPU型号 GenuineIntel QEMU Virtual CPU version [email protected] 16G 内存 1网卡 linux/64位 OS |
| 服务 | 机器 | 硬件配置 |
|---|---|---|
| Clients | pomelo16~18.server.163.org |
云主机 1CPU 1核心 CPU型号 GenuineIntel Westmere E56xx/L56xx/X56xx (Nehalem-C)@2.6GHz 1G 内存 1网卡 linux/64位 OS |
-
1个服务进程. -
2个客户端并发, 每隔1ms发起一次RPC调用(msg='Hello World'), 每个客户端总计发送1w次, 服务器对每个RPC请求回复一个200. - 服务器完成
2w次RPC请求的时间为14.595s, 平均1370次/s. - 服务器完成一次RPC调用的时间约为:
1~4ms - 在服务器运行过程中:
server进程对CPU的占用平均值为: 37.8% [CPU占用的采样点为: 36%, 38%, 43%, 35%, 37%] - 在客户端运行过程中:
client进程对CPU的占用平均值为: 31.8% [CPU占用的采样点为: 37%, 35%, 31%, 31%, 25%]
-
4个connector和1个echo业务进程. -
4个客户端并发且分别连接1个connector, 每隔1ms发起一次request请求(msg='Hello World'), 每个客户端总计发送1w次, 服务器对每个request回复一个200. - 服务器完成
4w次请求的时间为15.12s, 平均2645次/s. - 服务器完成一次RPC调用的时间约为:
1~8ms - 在服务器运行过程中:
connector进程对CPU的占用平均值为: 71.25% [CPU占用的采样点为: 70%, 65%, 76%, 74%];echo进程对CPU的占用平均值为: 80.75% [CPU占用的采样点为: 85%, 78%, 82%, 78%] - 在客户端运行过程中:
client进程对CPU的占用平均值为: 27.6% [CPU占用的采样点为: 26.2%, 26.5%, 28.2%, 29.4%]