最近花很大的经从来作性能测试,把结果整理到了ppt中,可能有个别地方不许,可是能够看看一个趋势。主要分为两部分,一部分是写入elasticsearch性能,一部分是查询测试,elasticsearch的查询性能。固然在elasticsearch1.3.0以后elasticsearch会提供benchmark来评估服务器性能实用状况。 服务器
主机 |
cpu |
mem |
disk |
system |
192.168.32.243 |
POWER7 4228MHz*12 |
24G swap:1G |
IBMsas 600G |
Red Hat Enterprise Linux Server 6.4 |
192.168.32.244 |
POWER7 4228MHz*8 |
16G swap:1G |
IBMsas 600G |
Red Hat Enterprise Linux Server 6.4 |
192.168.32.245 |
POWER7 4228MHz*8 |
16G swap:1G |
IBMsas 600G |
Red Hat Enterprise Linux Server 6.4 |
POST http://192.168.32.245:9200/performance/fluxdata-2014-05-27/1414709176&0&GigabitEthernet%2019\1\19&1414709176 POST data: { "collectTime": 1414709176, "deltatime": 300, "deviceId": "48572", "getway": 0, "ifindiscards": 0, "ifindiscardspps": 0, "ifinerrors": 0, "ifinerrorspps": 0, "ifinnucastpkts": 0, "ifinnucastpktspps": 0, "ifinoctets": 160300978, "ifinoctetsbps": 0, "ifinucastpkts": 0, "ifinucastpktspps": 0, "ifinunknownprotos": 0, "ifinunknownprotospps": 0, "ifoutdiscards": 0, "ifoutdiscardspps": 0, "ifouterrors": 0, "ifouterrorspps": 0, "ifoutnucastpkts": 0, "ifoutnucastpktspps": 0, "ifoutoctets": 1454523370, "ifoutoctetsbps": 0, "ifoutqlen": 0, "ifoutqlenpps": 0, "ifoutucastpkts": 0, "ifoutucastpktspps": 0, "portInfo": "GigabitEthernet 19/1/19" }
详情见ppt吧,这里没有涉及到分词。 elasticsearch
附件说明:elasticsearch.zip elasticsearch测试ppt 工具
附件地址 http://mitchz.iteye.com/blog/2085365 性能
index.zip jmeter测试模板 测试