I'm seeing high CPU (around 50%) usage in storm when things should be mostly idle. I'm using a JmsSpout off of ActiveMQ with a sleep of 30 ms. However, we are currently testing these inside Virtual Machines that tend to have disk contentions.
A dump from top:
Cpu0 : 2.2%us, 4.1%sy, 0.0%ni, 50.6%id, 43.1%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu1 : 1.1%us, 4.5%sy, 0.0%ni, 34.2%id, 59.9%wa, 0.0%hi, 0.4%si, 0.0%st
It looks like most of the time the CPU is waiting on disk. I'm thinking the situation is that perhaps the 30ms ping just can't keep up with the slow disks very well and this is causing high CPU. Does anyone have any comments or seen similair situations?
I'm using Storm 0.9.0.
Thanks,