【NVMe2.0b 14-8】Set Features(下篇)

本文详细介绍了NVMe固态硬盘的多种高级管理功能,包括Host Controlled Thermal Management、Non-Operational Power State Config、Read Recovery Level Config、Predictable Latency Mode Config等。这些功能涉及温度控制、电源状态配置、读取恢复级别设置和延迟模式管理,旨在优化设备性能、节能和数据可靠性。此外,还涵盖了Host Behavior Support、Sanitize Config、Endurance Group Event Configuration等特性,以及如何通过SetFeatures和GetFeatures命令进行配置和查询。

5.27.1.13Host Controlled Thermal Management (Feature Identifier 10h), (可选)

该feature配置了 host controlled thermal management feature 的设置,请参考第8.15.5节。host controlled thermal management feature 使用Command Dword 11,其属性如Figure 342所示。 如果为这个Feature提交了一个Get Features命令,那么Figure 342所示的属性将在该命令的completion queue entry的Dword 0中返回。

这个Feature不是针对某个命名空间的。

Figure 342: HCTM – Command Dword 11

在这里插入图片描述

5.27.1.14Non-Operational Power State Config (Feature Identifier 11h), (可选)

该Feature为控制器配置 non-operational power state 设置。这些设置是在Command Dword 11中指定的。

如果为该Feature提交了Get Features命令,Figure 343中的值会在该命令的 completion queue entry 的Dword 0中返回。

Figure 343: Non-Operational Power State Config – Command Dword 11

在这里插入图片描述

Non-Operational Power State Config feature可以与 Autonomous Power State Transition feature 交互(请参阅第 5.27.1.9 节)。 Figure 329 显示了这些交互细节。

5.27.1.15Read Recovery Level Config (Feature Identifier 12h)
该Feature用于配置Read Recovery Level(参考第8.17节)。这些属性在Command Dword 11和Command Dword 12中指定。修改Read Recovery Level对任何相关命名空间中包含的数据没有影响。 如果为这个Feature提交了Get Features命令,Figure 345中指定的属性将在该命令的completion queue entry 的Dword 0中返回。
Figure 344: Read Recovery Level Config – Command Dword 11

在这里插入图片描述

Figure 345: Read Recovery Level Config – Command Dword 12

在这里插入图片描述

5.27.1.16Predictable Latency Mode Config (Feature Identifier 13h)

该Feature将NVM Set配置为使用Predictable Latency Mode,包括 warning event thresholds。Predictable Latency Mode和事件在默认情况下是disable的。这些属性在Command Dword 11、Command Dword 12和 Deterministic Threshold Configuration data structure 中指定。

当控制器在Command Dword 12中的Predictable Latency Enable位设置为'1'时,成功完成了Set Features命令,NVM Set已经过渡到Predictable Latency模式。如果NVM子系统需要在NVM上执行后台操作,以便在Predictable Latency Mode下运行,那么过渡到Predictable Latency Mode的时间可能会被推迟(即,Set Features 命令的完成被推迟)。该命令成功完成后,控制器应处于 Non-Deterministic Window。

如果为该特性提交了Get Features命令,则在该命令的completion queue entry的Dword 0中返回Figure 347规定的属性,并返回Deterministic Threshold Configuration data structure。

Figure 346: Predictable Latency Mode Config – Command Dword 11

在这里插入图片描述

Figure 347: Predictable Latency Mode Config – Command Dword 12

在这里插入图片描述

Predictable Latency Events (参考第5.16.1.12节)的配置如Figure 348所述。

Figure 348: Predictable Latency Mode – Deterministic Threshold Configuration Data Structure

在这里插入图片描述

在这里插入图片描述

5.27.1.17Predictable Latency Mode Window (Feature Identifier 14h)

如果NVM Set被配置为Predictable Latency Mode(参考第8.16节),该Feature用于设置指定NVM Set及其相关命名空间的窗口。这些属性在Command Dword 11和Command Dword 12中指定。如果没有enable Predictable Latency Mode,那么控制器将中止命令,状态码为Invalid Field in Command。 当Set Features命令成功完成后,向所选窗口的过渡就完成了。如果在Non-Deterministic Window中没有花费最少的时间,向 Deterministic Window 的过渡可能会被推迟(即,Set Features 命令的完成被推迟)。

如果为该Feature提交了Get Features命令,Figure 350中指定的属性将在该命令的completion queue entry的Dword 0中返回。如果没有enable Predictable Latency Mode,那么控制器应以Invalid Field in Command 的状态码中止命令。

Figure 349: Predictable Latency Mode Window – Command Dword 11

在这里插入图片描述

Figure 350: Predictable Latency Mode Window – Command Dword 12

在这里插入图片描述

5.27.1.18Host Behavior Support (Feature Identifier 16h)

该Feature使控制器功能的使用与特定的主机行为相关,并依赖于特定的主机行为,所有的主机可能支持(也可能不支持)。除非主机表示支持该功能所依赖的特定主机行为,否则控制器不会使用这种功能。主机通过设置该Feature中的一个字段向控制器表示支持。该主机行为使控制器能够使用该主机的相关功能。如果主机没有表示支持该控制器功能所依赖的相关特定主机行为,则控制器不应使用该主机的功能。Figure 351中的属性是在data buffer中传输的。

例如,Comm

评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值