转自:https://www.elastic.co/guide/en/cloud/current/ec-metrics-memory-pressure.html

Scenario: How Does High Memory Pressure Affect Performance?

When you load up a cluster with an indexing and search workload that matches the size of the cluster well, you typically get the classic JVM heap sawtooth pattern as memory gets used and then gets freed up again by the garbage collector. Memory usage increases until it reaches 75% and then drops again as memory is freed up:

Now let’s suppose you have a cluster with three nodes and much higher memory pressure overall. In this example, two of the three nodes are maxing out very regularly for extended periods and one node is consistently hovering around the 75% mark where garbage collection kicks in.

High memory pressure works against cluster performance in two ways: As memory pressure rises to 75% and above, less memory remains available, but your cluster now also needs to spend some CPU resources to reclaim memory through garbage collection. These CPU resources are not available to handle user requests while garbage collection is going on. As a result, response times for user requests increases as the system becomes more and more resource constrained. If memory pressure continues to rise and reaches near 100%, a much more aggressive form of garbage collection is used, which will in turn affect cluster response times dramatically.

In our example, the Index Response Times metric shows that high memory pressure leads to a significant performance impact. As two of the three nodes max out their memory several times and plateau at 100% memory pressure for 30 to 45 minutes at a time, there is a sharp increase in the index response times around 23:00, 00:00, and 01:00. Search response times, which are not shown, also increase but not as dramatically. Only the node in blue that consistently shows a much healthier memory pressure that rarely exceeds 75% can sustain a lower response time.

If the performance impact from high memory pressure is not acceptable, you need to increase the cluster size or reduce the workload.

转载于:https://www.cnblogs.com/bonelee/p/8066880.html

ES JVM使用如果超过75%就会GC较多,导致ES索引性能下降相关推荐

  1. 为什么JVM不建议超过32G内存

    在学习ES发现JVM内存不要超过32G的建议,故查找了一下原因. java -Xmx32766m -Xms32766m -XX:+PrintFlagsFinal 2> /dev/null | g ...

  2. 过去几小时,以太坊2.0信标链主网超过75位验证者被Slash罚款

    Prysmatic Labs的开发人员Terence Tsao发推表示,过去几小时,以太坊2.0信标链主网超过75位验证者被Slash罚款. 据悉,:Slash是从节点中质押的32枚ETH中收取罚款. ...

  3. elasticsearch(es)在用户画像业务上的应用【elasticsearch(es)性能调优】

    1.关于用户画像 用户画像是以用户为中心,从不同角度抽取信息,抽象成标签.这些标签一般都会很多,针对不同的业务需求.应用场景会刻画不同的标签.可以通过标签来圈选适合的人群,来进行精准投放.广告系统.活 ...

  4. JVM运行原理及优化之 jstat -gc

    我们写好的代码,是要通过JVM才能运行的 JVM 想要执行一个类,首先要加载类,在加载类之前,需要先编译成字节码class 文件 然后就执行类的加载过程,JVM 加载类的话,需要类加载器 类加载器是分 ...

  5. jvm面试2 jvm如何加载java代码? JVM知识重点:内存模型和GC

    jvm如何加载java代码? native方法forName0 JVM知识重点:内存模型和GC' 注意:jvm是一个内存中的虚拟机 下面是Class类中,我们常用的forName方法 @CallerS ...

  6. 【JVM】对象存活判定算法、GC算法、STW、GC种类详解

    [JVM]对象存活判定算法.GC算法.STW.GC种类详解 文章目录 [JVM]对象存活判定算法.GC算法.STW.GC种类详解 GC主要关注的区域 垃圾标记阶段:对象存活判断 标记阶段:引用计数算法 ...

  7. ES限流导致ES数据更新不及时问题

    目录 一.事故经过 二.事故原因 三.问题总结 四.后续处理方案 一.事故经过 12月8日早上8点左右 发现系统不停报错,报错信息如下: amnOkN_kRXGMwU3qmULUxA, primary ...

  8. ElasticSearch入门简介、安装ES(安装Kibana和IK分词器)使用 Postman连接ES进行测、ESRestAPI(操作索引CRUD操作文档CRUD)、练习

    要理解倒排索引 要能够使用DSL命令操作索引库 要能够使用DSL命令操作文档 要能够使用RestAPI操作索引库.文档 一.ES简介 理解倒排索引的概念和作用 理解es和MySql的区别和使用场景 1 ...

  9. 深大计算机科学与技术在广东省,广东考生请注意:深圳大学2021年计划本省总招生人数比例超过75%!...

    深圳大学,简称"深大"由于位于我国改革开放的经济前沿发展阵地--广东省深圳市,自1983年建校以来,学校发展迅猛,根据去年的招生录取分数来看,仅低于广东四所211高校(中山大学.华 ...

最新文章

  1. metasploit-smb扫描获取系统信息
  2. mockJs文档(一)
  3. 分布式缓存Redis应用场景解析
  4. Visual C++ 6.0静态、动态链接库
  5. 怎么将ip地址改成域名访问_什么是域名解析?怎么把域名解析成IP地址?
  6. linux下vi常用命令——读《鸟哥的linux私房菜》整理
  7. 吃了核辐射食物怎么办_我们经常吃的猪肉,相当一部分是核辐射照过的,会对身体有害吗...
  8. B - Dungeon Master
  9. Python之路(第十六篇)xml模块、datetime模块
  10. Oracle 官方文档地址
  11. 【优化求解】基于matlab粒子群算法求解货物配装优化问题【含Matlab源码 414期】
  12. UML建模工具2021年8-11月更新(共15款)
  13. Qt 根据PCM获取分贝 并自动调节电脑音量
  14. 前端工作怎么包装简历,需要掌握哪些知识项目
  15. 云服务器怎么设置成代理服务器?
  16. Mysql主从延时-Multi-threaded slave statistics for channel
  17. 2023年2月的十篇深度学习论文推荐
  18. google学术无法访问
  19. 关于插件open-browaer-webpack-plugin
  20. 国庆在家没事干?教大家用Python做一个任何视频都能看的软件, 当然,只能看正经的

热门文章

  1. mysql int(3)与int(11)的区别
  2. Redis可以登录,但有些值不能获取或者设置,PING命令也用不了
  3. php中的函数调简单 传入参数即可,php函数与传递参数的简单示例
  4. mysql代理中间件_MySQL-ProxySQL中间件(二)
  5. php树莓派养鱼,树莓派学习11: 将树莓派变成一个Web服务器
  6. 循环训练_力量循环训练
  7. ajax成功进入success但是获取不到返回值
  8. 【Kali渗透全方位实战】使用Nmap进行端口探测-发现脆弱站点
  9. python【蓝桥杯vip练习题库】ADV-187 勾股数
  10. 机器人抓矸石_基于机器视觉的多机械臂煤矸石分拣机器人系统研究