调整HBlock性能参数 本节主要介绍如何使用API调整HBlock性能参数。 根据硬件环境和业务场景,可以使用此操作进行性能调优。 请求语法 plaintext PUT /rest/v1/system/tuning HTTP/1.1 Date: date ContentType: application/json; charsetutf8 ContentLength: length Host: ip:port Authorization: authorization { "perfScen": perfScen, "haSens": haSens } 请求参数 参数 类型 描述 是否必须 perfScen String 设置性能调优针对的场景。 取值: ICv1:智算场景。 VMv1:虚拟化场景。 default:系统默认的类型。 否 haSens String 设置性能调优针对的场景敏感型。 取值: High:高敏感型场景。 Middle:中等敏感型场景。 Low:低敏感型场景。 默认值为Middle。 否 请求示例 HBlock性能调优。 plaintext PUT /rest/v1/system/tuning HTTP/1.1 Date: Thu, 19 Dec 2024 08:39:13 GMT ContentType: application/json; charsetutf8 Authorization: HBlock userName:signature ContentLength: 50 Host: 192.168.0.192:1443 { "perfScen": "ICv1", "haSens": "Low" } 响应示例 plaintext HTTP/1.1 204 No Content Date: Thu, 19 Dec 2024 08:39:13 GMT Connection: keepalive xhblockrequestid: e2216c93aade40e3b7dec96f6b0ef15a Server: HBlock