**Describe the bug**

 We ran nanomq in docker, connected 300 clients, and docker stats looked at cpu103%, whereas top-c view was only used 25%


**Expected behavior**
 Ability to use multiple cores
 

**To Reproduce**
If possible include actual reproduction test code here.
Minimal C test cases are perferred.

**Environment Details**
 - NanoMQ 0.21.8-full
 -  Linux nanomq 3.10.0-1160.25.1.el7.x86_64 #1 SMP Wed Apr 28 21:49:45 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
 

 
 

nanomq  Only one cpu can be used
This is a GitHub Issue
repo:nanomq
owner:emqx
Title : nanomq  Only one cpu can be used
Issue date:

--- start body ---
**Describe the bug**

 We ran nanomq in docker, connected 300 clients, and docker stats looked at cpu103%, whereas top-c view was only used 25%


**Expected behavior**
 Ability to use multiple cores
 

**To Reproduce**
If possible include actual reproduction test code here.
Minimal C test cases are perferred.

**Environment Details**
 - NanoMQ 0.21.8-full
 -  Linux nanomq 3.10.0-1160.25.1.el7.x86_64 #1 SMP Wed Apr 28 21:49:45 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
 

 
 

--- end body ---

None