1 月 252018
 

我在测试elk的时候发现一个问题,那就是发现IO一直都在wait,一直很高。本来我以为是腾讯的蓝鲸智云导致的,后来不用蓝鲸智云,用自己搭建的es6 去搭建elk的时候发现。wait 一直很高。发现其中一台的io负载正常,后面发现文件格式有所不同。正常的那台文件格式是ext4,其他出问题的都是xfs。

/dev/mapper/myvg-lvol0 ext4       11T  5.4T  5.0T  53% /data

后面 我把蓝鲸智云的相关文件都删了,格式全部换成ext4,负载都比较正常了。(个人认为跟蓝鲸智云没多大关系,应该是硬盘文件格式造成的。因为当时一台ext4上面有蓝鲸智云的相关服务的时候,也比较正常。不过我的影响中,第一次是发现IO高,是因为ext4有问题,所以换成的xfs。难道蓝鲸智云的es 和 自建的ES 对硬盘文件格式支持不同?自建的对ext4 IO快?蓝鲸智云对xfs IO快?以后有空可以研究)

后面只是相对更改前,比较正常,但是ES对IO真的要求挺高的。即使优化后,IO wait普遍在20以上。不过之前的load负载能到20左右,优化后在10左右,后面看有没有优化空间。

image

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)

这个站点使用 Akismet 来减少垃圾评论。了解你的评论数据如何被处理

This website stores cookies on your computer. These cookies are used to provide a more personalized experience and to track your whereabouts around our website in compliance with the European General Data Protection Regulation. If you decide to to opt-out of any future tracking, a cookie will be setup in your browser to remember this choice for one year.

Accept or Deny