CPU idle decreases after the blade prepare jvm command is executed #663
Labels
chaosblade-exec-jvm
chaosblade-exec-jvm project
difficulty/hard
type/enhancement
New feature or request
Milestone
Issue Description
Type: question
Describe what happened (or what feature you want)
CPU idle decreases after the blade prepare command is executed
When the service is running online, the CPU idle rate is 50% . After the blade prepare command is executed, the CPU idle rate decreases rapidly
服务在线上运行,cpu idle在50%左右,当我执行blade prepare ivm --pid挂载agent后,发现cpu空闲率迅速下降,并且下降的幅度较大。在生产中进行故障注入有可能会直接让idle掉低 触发告警。
可疑代码,加载plugin时 由于plugin数量比较多,植入代码消耗资源比较多,是否可以改成和method plugin一样 采用“ lazy”加载模式,当blade create 时 添加相应的plugin到sandbox中去植入代码
通过火焰图 可以确认是loadPlugins 消耗较多资源
Describe what you expected to happen
How to reproduce it (as minimally and precisely as possible)
Tell us your environment
Anything else we need to know?
The text was updated successfully, but these errors were encountered: