nebula 版本: 1.1.0
部署方式: 分布式
硬件信息: 每台机器都是 磁盘 NVMe 240G, CPU8核16线程,内存32G
配置信息:
Server1 metad 和 storaged混布:
etc/nebula-metad.conf
--meta_server_addrs=192.168.2.11:45500,192.168.2.12:45500,192.168.2.13:45500
--local_ip=192.168.2.11
etc/nebula-storaged.conf
--meta_server_addrs=192.168.2.11:45500,192.168.2.12:45500,192.168.2.13:45500
--local_ip=192.168.2.11
Server2 metad 和 storaged混布:
etc/nebula-metad.conf
--meta_server_addrs=192.168.2.11:45500,192.168.2.12:45500,192.168.2.13:45500
--local_ip=192.168.2.12
etc/nebula-storaged.conf
--meta_server_addrs=192.168.2.11:45500,192.168.2.12:45500,192.168.2.13:45500
--local_ip=192.168.2.12
Server3 metad 和 storaged混布:
etc/nebula-metad.conf
--meta_server_addrs=192.168.2.11:45500,192.168.2.12:45500,192.168.2.13:45500
--local_ip=192.168.2.13
etc/nebula-storaged.conf
--meta_server_addrs=192.168.2.11:45500,192.168.2.12:45500,192.168.2.13:45500
--local_ip=192.168.2.13
Server4 graphd单布:
etc/nebula-graphd.conf
--meta_server_addrs=192.168.2.11:45500,192.168.2.12:45500,192.168.2.13:45500
--local_ip=192.168.2.14
Space信息:
(root@nebula) [MYSP]> show hosts;
==================================================================================================
| Ip | Port | Status | Leader count | Leader distribution | Partition distribution |
==================================================================================================
| 192.168.2.11 | 44500 | online | 10 | MYSP: 10 | MYSP: 30 |
--------------------------------------------------------------------------------------------------
| 192.168.2.12 | 44500 | online | 10 | MYSP: 10 | MYSP: 30 |
--------------------------------------------------------------------------------------------------
| 192.168.2.13 | 44500 | online | 10 | MYSP: 10 | MYSP: 30 |
--------------------------------------------------------------------------------------------------
| Total | | | 30 | MYSP: 30 | MYSP: 90 |
--------------------------------------------------------------------------------------------------
(root@nebula) [MYSP]> describe space MYSP;
======================================================================
| ID | Name | Partition number | Replica Factor | Charset | Collate |
======================================================================
| 1 | MYSP | 30 | 3 | utf8 | utf8_bin |
----------------------------------------------------------------------
问题描述:
现在发现在写入和查询的时候,Server1、Server2、Server3 的 nebula-storaged 进程 的 CPU 占用并不相近。通过 htop 观察有时候 Server1 的 nebula-storaged 进程占用有 500% ,但是此时 Server2、Server3 的 nebula-storaged 进程占用只有 50% 左右