最近花很大的經從來作性能測試,把結果整理到了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測試模板 測試