Exadata存储节点的CPU限制成功了没?

2021-06-11 18:23:50 浏览数 (2)

上篇随笔谈到刷1/8 rack时,日志显示存储节点已经成功限制CPU的,可如果使用mpstat命令看貌似还是64 CPU,难道实际没有成功吗?

代码语言:javascript复制
[root@dbm08celadm03 ~]# mpstat
Linux 4.14.35-1902.306.2.1.el7uek.x86_64 (dbm08celadm03.oscbj.com) 	2021年06月07日 	_x86_64_	(64 CPU)

10时50分22秒  CPU    %usr   %nice    %sys %iowait    %irq   %soft  %steal  %guest  %gnice   %idle
10时50分22秒  all    3.39    0.01    2.21    0.00    0.00    0.00    0.00    0.00    0.00   94.39

别急,我们实际去查询/proc/cpuinfo信息,发现已经是32个processor:

代码语言:javascript复制
[root@dbm08celadm03 ~]# grep processor /proc/cpuinfo
processor	: 0
processor	: 1
processor	: 2
processor	: 3
processor	: 4
processor	: 5
processor	: 6
processor	: 7
processor	: 16
processor	: 17
processor	: 18
processor	: 19
processor	: 20
processor	: 21
processor	: 22
processor	: 23
processor	: 32
processor	: 33
processor	: 34
processor	: 35
processor	: 36
processor	: 37
processor	: 38
processor	: 39
processor	: 48
processor	: 49
processor	: 50
processor	: 51
processor	: 52
processor	: 53
processor	: 54
processor	: 55
[root@dbm08celadm03 ~]#
[root@dbm08celadm03 ~]# grep processor /proc/cpuinfo |wc -l
32

进一步使用cellcli查询存储节点的详情:

代码语言:javascript复制
[root@dbm08celadm03 ~]# cellcli
CellCLI: 发行版 20.1.3.0.0 - 发行时间 Mon Jun 07 10:50:48 CST 2021

版权所有 (c) 2007, 2016, Oracle 和/或其关联公司。保留所有权利。

CellCLI> list cell detail
	 name:                   dbm08celadm03
	 accessLevelPerm:        remoteLoginEnabled
	 bbuStatus:              normal
	 cellVersion:            OSS_20.1.3.0.0_LINUX.X64_201023
	 cpuCount:               32/64
	 diagHistoryDays:        7
	 doNotServiceLEDStatus:  off
	 eighthRack:             TRUE
	 fanCount:               8/8
	 fanStatus:              normal
	 flashCacheMode:         WriteBack
	 httpsAccess:            ALL
	 id:                     1912XLA054
	 interconnectCount:      2
	 interconnect1:          ib0
	 interconnect2:          ib1
	 iormBoost:              0.0
	 ipaddress1:             192.168.118.9/22
	 ipaddress2:             192.168.118.10/22
	 kernelVersion:          4.14.35-1902.306.2.1.el7uek.x86_64
	 locatorLEDStatus:       off
	 makeModel:              Oracle Corporation ORACLE SERVER X8-2L High Capacity
	 memoryGB:               188
	 metricHistoryDays:      7
	 offloadGroupEvents:
	 powerCount:             2/2
	 powerStatus:            normal
	 ramCacheMaxSize:        0
	 ramCacheMode:           Auto
	 ramCacheSize:           0
	 releaseImageStatus:     success
	 releaseVersion:         20.1.3.0.0.201023
	 rpmVersion:             cell-20.1.3.0.0_LINUX.X64_201023-1.x86_64
	 releaseTrackingBug:     31970366
	 status:                 online
	 temperatureReading:     23.0
	 temperatureStatus:      normal
	 upTime:                 3 days, 2:46
	 usbStatus:              normal
	 cellsrvStatus:          running
	 msStatus:               running
	 rsStatus:               running

CellCLI> exit
退出

也可以看到“cpuCount:”显示为“32/64”,说明存储节点的CPU是限制成功的。

0 人点赞