查询和设置I/O合并参数

命令功能

查询和设置控制卡的I/O合并超时时间和合并个数。

命令格式

命令

说明

hiraidadm ccontroller_id set merge [sw=switch] [timeout=timeout] [count=count]

设置控制卡的I/O合并超时时间和合并个数,在控制卡没有I/O时配置。

hiraidadm ccontroller_id show merge

查询控制卡I/O合并参数。

参数说明

参数

参数说明

取值

controller_id

控制卡的ID。

查询控制卡ID请参见查询控制卡列表

switch

开启或关闭控制卡I/O合并。

  • on:开启I/O合并
  • off:关闭I/O合并

缺省时默认为on。

timeout

控制卡I/O合并超时时间。

  • default:配置为默认值,默认值为64。
  • 范围:5~1000000

单位:us

count

控制卡I/O合并最大个数。

  • default:配置为默认值,默认值为32。
  • 范围:2~32。

使用指南

无。

使用实例

设置控制卡的I/O合并超时时间和合并个数,在控制卡没有I/O时配置。
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
[root@localhost ~]# hiraidadm c0 set merge sw=on timeout=1000 count=2
========================================== Hiraidadm   Information ===========================================
    Name: hiraidadm
    Version: 1.2.2.0
    Build Time: Dec 16 2022 18:56:35
==============================================================================================================
==============================================================================================================
    Status Code = 0
    Status = Success
    Description = None
==============================================================================================================
查询控制卡I/O合并参数。
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
[root@localhost ~]# hiraidadm c0 show merge
========================================== Hiraidadm   Information ===========================================
    Name: hiraidadm
    Version: 1.2.2.0
    Build Time: Dec 16 2022 18:56:35
==============================================================================================================
==============================================================================================================
    Status Code = 0
    Status = Success
    Description = None
==============================================================================================================
Switch  | On
Timeout | 1000 us
Count   | 2