【已评审】Systems资源新增OEM属性ComputeSystemPower

背景

在企业级服务器的高级散热遥测体系中,整机运行效率的监控依赖关键可上报指标。为此新增 ComputeSystemPower 属性,用于表征服务器实际用于有效计算的功率,即实际流向 CPU、GPU、NPU 及内存等计算核心的有效功率,为整机能效评估与散热调优提供量化依据。

基于遥测数据采集的 ComputeSystemPower 指标,可反映实际流向计算核心的有效功率,用于整机能效监控及功耗异常定位,为提升服务器运行效率提供数据支撑

关联ISSUE

[需求]: redfish遥测支持功耗、散热相关指标定义(MetricDefinition)

整体方案

评审点

在/redfish/v1/Systems/system_id 下新增OEM属性ComputeSystemPower,用于反映服务器中实际流向计算单元的有效功率;

详细描述

评审点1:Systems 资源新增OEM属性

资源URI:Systems 资源新增属性
资源版本:openubmccomputersystem.v1_0_0.json

属性列表:
注1 :列表内属性默认均支持GET 操作。
注2: 若属性在Schema中未显式定义 readonly 关键字,则默认为只读 。

属性名 类型 示例/取值约束 readonly 易变属性 实现PATCH 操作权限 描述
ComputeSystemPower [number,null] / true 否 否 ReadOnly 用于计算组件消耗的系统总功率

返回示例:

{
    "@odata.context": "/redfish/v1/$metadata#ComputerSystem.ComputerSystem",
    "@odata.id": "/redfish/v1/Systems/1",
    "@odata.type": "#ComputerSystem.v1_23_0.ComputerSystem",
    "Id": "1",
    "Name": "Computer System",
    "Oem": {
        "Huawei": {
            "CPUUsagePercent": 1,
            "CPUThresholdPercent": 100,
            “ComputeSystemPower”: 1200,
              ……
        }
    },
    ……
}

Schema定义:

Schema文件: openubmccomputersystem.v1_0_0.json

                "ComputeSystemPower": {
                    "type": [
                        "number",
                        "null"
                    ],
                    "units": "W",
                    "minimum": 0,
                    "readonly": true,
                    "description": "The effective power that actually flows to the compute units of the server.",
                    "longDescription": "The value of this property shall represent the effective power that actually flows to the compute units of the server, as the sum of CurrentCPUPowerWatts, CurrentNPUPowerWatts and CurrentMemoryPowerWatts."
                },

是否准备好AI预审

否

评审结论

同意在/redfish/v1/Systems/system_id 下新增OEM属性ComputeSystemPower,用于反映服务器中实际流向计算单元的有效功率。

遗留问题

1.Oem属性确认放在Systems还是Chassis下面
需要放在Systems/system_id下面
2.命名需要明确计算部件信息
命名为ComputeSystemPower