Skip to main content
NetApp Knowledge Base

High latency from excessive SMB TRIM operations

Views:
858
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
perf
Last Updated:

Applies to

  • ONTAP 9.5 
  • ONTAP 9.6

Issue

  • Extremely high CIFS latency, particularly for "other" operations
  • High number of ioctl_fsctl_file_level_trim_ops with extremely high latency.
::*> statistics show-periodic -object smb2 -instance svmtest -counter ioctl_fsctl_file_level_trim_ops|ioctl_fsctl_file_level_trim_latency
cluster: smb2.svmtest: 10/19/2020 15:23:25
 ioctl_fsctl_file_level ioctl_fsctl_file_level
                   trim                   trim
                latency                    ops
 ---------------------- ----------------------
             50854.31us                1385.47
             52302.41us                1318.84
             53776.76us                1484.94
             55285.58us                1387.76             
             56934.23us                1323.12
  • High CPU contention, denoted by the wafl msg latency. 
    • Values greater than 1ms, could indicate CPU contention 
::*> statistics show-periodic -object wafl -counter avg_wafl_msg_latency -node node_1 -instance wafl
cluster1: wafl.wafl: 10/16/2020 18:25:28
 avg_wafl
      msg    Complete    Number of
  latency Aggregation Constituents
 -------- ----------- ------------
  14.91ms      n/a      n/a
  23.25ms      n/a      n/a
  19.72ms      n/a      n/a
  17.34ms      n/a      n/a
  19.09ms      n/a      n/a

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.