StorPort 微型端口驱动程序的注册表项
StorPort 定义一组注册表项来配置 StorPort 和微型端口操作的行为。 值在微型端口驱动程序或每个实例的范围内设置。
服务条目
微型端口的注册表项由微型端口的服务键的 \Parameters 子项和 \Parameters\Device 子项进行键。 对于单个适配器条目,子项会扩展为包含适配器索引,例如 \Parameters\Device1。
名称:DriverParameter
- 类型:任意
- 路径:
- 微型端口范围:HKLM\System\CurrentControlSet\Services<微型端口名称>\Parameters\Device
- 适配器范围:HKLM\System\CurrentControlSet\Services<微型端口名称>\Parameters\Device<adapter#>
- 值:任何微型端口特定数据。
- 说明:Storport 检索此注册表数据,并在调用微型端口的 HwStorFindAdapter 时将缓冲区作为参数传递给微型端口
- 应用:从 Windows Server 2003 开始。
名称:LinkDownTimeoutValue
- 键入:REG_DWORD
- 路径:
- 微型端口范围:HKLM\System\CurrentControlSet\Services<微型端口名称>\Parameters\Device<
- 适配器范围:HKLM\System\CurrentControlSet\Services<微型端口名称>\Parameters\Device<adapter#>
- 值:
- 默认值:30
- 最大值:600
- 单位:秒
- 说明:微型端口驱动程序使用此值通知 Storport,链接关闭后,StorPort 应在重启 I/O 之前等待多长时间才能重启到微型端口驱动程序。
- 应用:从 Windows Server 2003 开始。
名称:MaximumLogicalUnit
- 键入:REG_DWORD
- 路径:
- 微型端口范围:HKLM\System\CurrentControlSet\Services<微型端口名称>\Parameters\Device
- 适配器范围:HKLM\System\CurrentControlSet\Services<微型端口名称>\Parameters\Device<adapter#>
- 值:
- 默认值:255
- 最大值:在注册表中设置时为 8
- 说明:此值设置目标设备的 LUN (LUN) 的最大逻辑单元数。
- 应用:从 Windows Server 2003 开始。
名称:MaximumUCXAddress
- 类型:REG_BINARY
- 路径:
- 微型端口范围:HKLM\System\CurrentControlSet\Services<微型端口名称>\Parameters\Device
- 适配器范围:HKLM\System\CurrentControlSet\Services<微型端口名称>\Parameters\Device<adapter#>
- 值:
- 默认值:0xffffffff
- 0 时,StorPort 使用默认值。
- 说明:此值设置未缓存扩展的最大地址值。
- 应用:从 Windows Server 2003 开始。
名称:MinimumUCXAddress
- 类型:REG_BINARY
- 路径:
- 微型端口范围:HKLM\System\CurrentControlSet\Services<微型端口名称>\Parameters\Device
- 适配器范围:HKLM\System\CurrentControlSet\Services<微型端口名称>\Parameters\Device<adapter#>
- 值:
- 默认值:0x00000000
- 当 MinimumUCXAddress = MaximumUCXAddress >- PAGE_SIZE时,StorPort 将使用默认值。
- 说明:此值设置未缓存扩展的最小地址值。
- 应用:从 Windows Server 2003 开始。
名称:UncachedExtAlignment
- 键入:REG_DWORD
- 路径:
- 微型端口范围:HKLM\System\CurrentControlSet\Services<微型端口名称>\Parameters\Device
- 适配器范围:HKLM\System\CurrentControlSet\Services<微型端口名称>\Parameters\Device<adapter#>
- 值:
- 默认值:0
- 最小值:3
- 最大值:16
- 说明:StorPort 使用此值计算基本 2 指数 (,例如 1 << 个值) 用作未缓存扩展缓冲区分配的对齐值。
- 应用:从 Windows Server 2003 开始。
名称:NumberOfRequests
- 键入:REG_DWORD
- 路径:
- 微型端口范围:HKLM\System\CurrentControlSet\Services<微型端口名称>\Parameters\Device
- 适配器范围:HKLM\System\CurrentControlSet\Services<微型端口名称>\Parameters\Device<adapter#>
- 值:
- 默认值:1000
- 最小值:16
- 最大值:255
- 说明:适配器可以处理的数字或请求。 设置后,范围小于默认值。
名称:BusType
- 键入:REG_DWORD
- 路径:
- 微型端口范围:HKLM\System\CurrentControlSet\Services<微型端口名称>\Parameters
- 值:
- 默认值:6, BusTypeFiber
- 最大值:0x7f,任何大于的值都被视为默认值
- 说明:此值用于指示微型端口驱动程序管理的适配器的总线类型。 该值对应于 STORAGE_BUS_TYPE 总线枚举类型。
- 应用:从 Windows Server 2003 开始。
名称:IoTimeoutValue
- 键入:REG_DWORD
- 路径:
- 微型端口范围:HKLM\System\CurrentControlSet\Services<微型端口名称>\Parameters
- 值:
- 最小值:0
- 最大值:65535
- 单位:秒
- 说明:指示微型端口驱动程序管理的设备 I/O 超时值。 如果此注册表值不存在,系统将使用全局磁盘 I/O 超时值。
- 应用:从Windows 8开始。
名称:IoLatencyCap
- 键入:REG_DWORD
- 路径:
- 微型端口范围:HKLM\System\CurrentControlSet\Services<微型端口名称>\Parameters
- 值:
- 默认值:0
- 单位:毫秒
- 说明:如果此注册表值为 > 0,当发送到微型端口驱动程序的任何 I/O 请求未在指定的时间段内完成时,StorPort 将保留队列中的传入 I/O 请求。
- 应用:从Windows 8开始。
设备枚举条目
名称:TotalSenseDataBytes
- 键入:REG_DWORD
- 路径:
- 适配器范围:HKLM\System\CurrentControlSet\Enum<实例路径>\设备参数\StorPort
- 值:
- 默认值:255
- 最小值:18
- 最大值:255
- 单位:字节
- 说明:指示微型端口驱动程序返回到 StorPort 的 Sense Data 大小。
- 应用:从 Windows Server 2003 开始。
名称:QueueFullWaitIoPercentage
- 键入:REG_DWORD
- 路径:
- 逻辑单元范围:HKLM\CurrentControlSet\Enum\SCSI<HardwareId><InstanceId>\Device Parameters\StorPort
- 值:
- 默认值:25
- 最大值:100
- 单位:队列深度百分比
- 说明:当微型端口通过在 SRB 的 ScsiStatus 中设置SCSISTAT_QUEUE_FULL来报告设备繁忙时,StorPort 会暂停逻辑单元队列,并等待微型端口完成一定数量的 I/O 请求,然后发送进一步的请求。 与当前发送到微型端口的 I/O 请求计数相比,使用此注册表值计算 StorPort 等待的 I/O 请求量。
- 应用:从 Windows Server 2003 开始。
名称:BusyPauseTime
- 键入:REG_DWORD
- 路径:
- 逻辑单元范围:HKLM\CurrentControlSet\Enum\SCSI<HardwareId><InstanceId>\Device Parameters\StorPort
- 值:
- 默认值:250
- 单位:毫秒
- 说明:当微型端口报告设备繁忙时,StorPort 会暂停单元队列,并在开始再次发送 I/O 请求之前等待指定的时间。 若要报告设备繁忙,微型端口必须执行以下操作:
- 在 SRB 的 SrbStatus 中设置SRB_STATUS_BUSY
- 将 SRB 的 ScsiStatus 成员设置为 不 等于 SCSISTAT_QUEUE_FULL 或等于 SCSISTAT_BUSY。
- 应用:从 Windows Server 2003 开始。
名称:BusyRetryCount
- 键入:REG_DWORD
- 路径:
- 逻辑单元范围:HKLM\CurrentControlSet\Enum\SCSI<HardwareId><InstanceId>\Device Parameters\StorPort
- 值:
- 默认值:20
- 说明:当微型端口报告设备繁忙或链接关闭时,StorPort 重试以重新发出 Srb 。
- 应用:从 Windows Server 2003 开始。
名称:EnableIdlePowerManagement
- 键入:REG_DWORD
- 路径:
- 适配器范围:HKLM\System\CurrentControlSet\Enum<实例路径>\设备参数\StorPort
- 值:
- 默认值:0,已禁用
- 说明:如果此注册表值为 > 0,则启用空闲电源管理。 空闲电源管理适用于连接到适配器的逻辑单元。
- 应用:从 Windows 7 开始。
名称:DisableIdlePowerManagement
- 键入:REG_DWORD
- 路径:
- 逻辑单元范围:HKLM\CurrentControlSet\Enum\SCSI<HardwareId><InstanceId>\Device Parameters\StorPort
- 值:
- 默认值:0,已启用
- 说明:如果此注册表值为 > 0,则为此逻辑单元禁用空闲电源管理。
- 应用:从Windows 8开始。
名称:MinimumIdleTimeoutInMS
- 键入:REG_DWORD
- 路径:
- 逻辑单元范围:HKLM\CurrentControlSet\Enum\SCSI<HardwareId><InstanceId>\Device Parameters\StorPort
- 值:
- 默认值:MAXULONG,表示未设置。 如果微型端口没有超时值,则实际默认值为 5 * 60 * 1000,即 5 分钟。
- 单位:毫秒
- 说明:此值指定电源框架在处于空闲状态后必须等待关闭逻辑单元的最短时间。
- 应用:从Windows 8开始。
名称:DisableRuntimePowerManagement
- 键入:REG_DWORD
- 路径
- 适配器范围:HKLM\System\CurrentControlSet\Enum<实例路径>\设备参数\StorPort
- 值:
- 默认值:0,已启用
- 说明:如果值为 > 0,则禁用适配器的运行时电源管理。 这会禁用特定适配器的运行时电源管理。 注意:附加到此适配器的设备运行时电源管理不受影响。
- 应用:从Windows 8开始。
名称:IdleTimeoutInMS
- 键入:REG_DWORD
- 路径
- 适配器范围:HKLM\System\CurrentControlSet\Enum<实例路径>\设备参数\StorPort
- 值:
- 默认:60
- 单位:秒
- 说明:指定运行时电源框架在关闭空闲适配器之前需要等待的时间。
- 应用:从Windows 8开始。
名称:DisableD3Cold
- 键入:REG_DWORD
- 路径
- 适配器范围:HKLM\System\CurrentControlSet\Enum<实例路径>\设备参数\StorPort
- 值:
- 默认值:) 支持 D3Cold 时启用 (
- 说明:如果值为 > 0,则禁用对适配器的 D3Cold 支持。
- 应用:从Windows 8开始。