Skip to content

Commit

Permalink
add cpu info
Browse files Browse the repository at this point in the history
  • Loading branch information
imarvinle committed Mar 13, 2019
1 parent 2011cd9 commit 2415145
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 性能测试分析.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ QPS: 34263

![](https://ws1.sinaimg.cn/large/006tKfTcgy1g10x89u7ssj31f20kk1kx.jpg)

*
###分析

## 分析

* 我的给虚拟机配置的是四个核心,所以其实从结果可以看出开8个线程的反而比开四个线程的QPS略低,应该是线程之间切换开销增大造成的,
而四个线程正好匹配核心,性能达到最高。并且可以看到8线程CPU占用截图,其实同一时刻只有一半的线程处于运行状态(R),其它处于S(sleep),
Expand Down

0 comments on commit 2415145

Please sign in to comment.