Why does park/unpark have 60% CPU usage?

前端 未结 2 1487
盖世英雄少女心
盖世英雄少女心 2021-02-06 07:23

Recently we started stress testing our application (an XMPP based chat server) using YJP 11.0.9. During our test we noticed following strange behavior.

  1. Sampling sh
2条回答
  •  终归单人心
    2021-02-06 08:08

    With certain low level blocking commands like read/write/park/lock the "CPU" time is over estimated as it assumes it is consuming CPU when actually the operation is blocking. The fact unpark/park are both high does suggest you have a problem, but I suspect you should take the lower of the two percentages as an estimate.

提交回复
热议问题