加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Linux > 正文

redhat – 如何检查当前队列深度值?

发布时间:2020-12-13 17:14:39 所属栏目:Linux 来源:网络整理
导读:我有一个OEL服务器通过光纤连接到NetApp SAN.如何在操作系统看到队列深度时查看队列深度? lspci的输出: 05:00.0 Fibre Channel: QLogic Corp. ISP2532-based 8Gb Fibre Channel to PCI Express HBA (rev 02)05:00.1 Fibre Channel: QLogic Corp. ISP2532-b
我有一个OEL服务器通过光纤连接到NetApp SAN.如何在操作系统看到队列深度时查看队列深度?

lspci的输出:

05:00.0 Fibre Channel: QLogic Corp. ISP2532-based 8Gb Fibre Channel to PCI Express HBA (rev 02)
05:00.1 Fibre Channel: QLogic Corp. ISP2532-based 8Gb Fibre Channel to PCI Express HBA (rev 02)
08:00.0 Fibre Channel: QLogic Corp. ISP2532-based 8Gb Fibre Channel to PCI Express HBA (rev 02)
08:00.1 Fibre Channel: QLogic Corp. ISP2532-based 8Gb Fibre Channel to PCI Express HBA (rev 02)

lsmod的输出:

qla2xxx              1262209  352
scsi_transport_fc      83145  1 qla2xxx
scsi_mod              199641  15 be2iscsi,ib_iser,iscsi_tcp,bnx2i,libcxgbi,libiscsi2,scsi_transport_iscsi2,scsi_dh,sr_mod,sg,qla2xxx,scsi_transport_fc,libata,cciss,sd_mod

ls / sys / class / fc_host / host *

/sys/class/fc_host/host3:
device       issue_lip  port_id    port_state  speed       subsystem          supported_speeds  system_hostname  uevent
fabric_name  node_name  port_name  port_type   statistics  supported_classes  symbolic_name     tgtid_bind_type

/sys/class/fc_host/host4:
device       issue_lip  port_id    port_state  speed       subsystem          supported_speeds  system_hostname  uevent
fabric_name  node_name  port_name  port_type   statistics  supported_classes  symbolic_name     tgtid_bind_type

/sys/class/fc_host/host5:
device       issue_lip  port_id    port_state  speed       subsystem          supported_speeds  system_hostname  uevent
fabric_name  node_name  port_name  port_type   statistics  supported_classes  symbolic_name     tgtid_bind_type

/sys/class/fc_host/host6:
device       issue_lip  port_id    port_state  speed       subsystem          supported_speeds  system_hostname  uevent
fabric_name  node_name  port_name  port_type   statistics  supported_classes  symbolic_name     tgtid_bind_type

解决方法

我的NETAPP:
ls /proc/scsi/qla2xxx
1
ls /proc/scsi/qla2xxx/1 | grep -i -A1 -B1 "queue depth"
Total number of interrupts = 30686605
    Device queue depth = 0x20
Number of free request entries = 1842

所以x20是十进制的32,
这是你正在寻找的#.
您可以在这里阅读有关NETAPP的计算:

https://library.netapp.com/ecmdocs/ECMP1196793/html/GUID-A055B184-0876-4376-9C75-35FE8C9BE832.html

编辑:其他一些方法可以看到:cat / sys / module / qla2xxx / parameters / ql2xmaxqdepth

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读