Github user revans2 commented on the pull request:
https://github.com/apache/storm/pull/870#issuecomment-155471398
@danielschonfeld I don't know 100% what the cause of the issue is, but I
suspect that it is having lots of threads trying to sleep very frequently.
```storm jar
./examples/storm-starter/storm-starter-topologies-0.11.0-SNAPSHOT.jar
storm.starter.ThroughputVsLatency 100 1 5```
is the test that I have been using. It is really just word count, but with
some latency and system utilizations statistics added in. The problem is that
with batching the CPU utilization under low load is much higher then before the
batching patch went in. 24886eec5c45e7fd30cac804fd080360f17599a0 before
batching, a0f3412a8268e75f87a95421a53f6bc4b6af9842 with batching, and then the
current patch are tests I ran. all of the measurements are in ms measured over
a 30 second period.
| version | user | sys |
|---|---|---|
| no-batch | 4,320 | 4,789 |
| batch | 7,565 | 17,483 |
| this | 8,101 | 10,238 |
So the patch shifted some load from the kernel to user space, and dropped
the overall CPU utilization, but it is still much higher than before.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---