volume efficiency stat

Show volume efficiency statistics

Availability: This command is available to cluster and Vserver administrators at the admin privilege level.

Description

The volume efficiency stat command displays efficiency statistics. The output depends on the parameters specified with the command. If no parameters are specified, the command displays the following efficiency statistics fields for all the volumes:

To display detailed information, run the command with -instance parameter.

Parameters

{ [-fields <fieldname>, ...]
This specifies the fields that need to be displayed. The Vserver and volume name are the default fields.
| [-instance ]}
If you specify the -instance parameter, the command displays detailed information about all fields.
[-vserver <vserver name>] - Vserver Name
Displays statistics only for those volume(s) that match the specified Vserver.
{ [-volume <volume name>] - Volume Name
Displays statistics only for those volume(s) that match the specified volume name.
| [-path </vol/volume>]} - Volume Path
Displays statistics only for those volume(s) that match the specified volume path.
[-b [true]] - Display In Blocks
Displays usage size in 4k block counts.
[-num-compressed-inline <integer>] - Inline Compression Attempts
Displays statistics only for those volume(s) that match the specified number of Compression Groups attempted inline.

Examples

The following example displays default efficiency statistics for all the volumes.

cluster1::> volume efficiency stat
Vserver:                       vs1
Volume:                        vol2
Inline Compression Attempts:   0
Inline Incompressible CGs:     0

Vserver:                       vs1
Volume:                        vol3
Inline Compression Attempts:   0
Inline Incompressible CGs:     0

At the diagnostic level, the output displays the information below.

cluster1::*> volume efficiency stat
Vserver      Volume      Allocated      Saving      %Saved
--------    --------   --------------  ---------- -------
vs0          vol0         16284324 KB      4680 KB     0%
vs1          vol1           457600 KB     18684 KB     3%
vs1          vol2          3458716 KB         0 KB     0%
vs1          vol3           965296 KB       308 KB     0%
vs1          vol4           796212 KB        60 KB     0%
vs1          vol5          3762452 KB     10236 KB     0%
vs1          volham           3888 KB         0 KB     0%
vs2          vol2              156 KB         0 KB     0%
8 entries were displayed.

At the diagnostic level, the following example displays the node statistics:

cluster1::*> volume efficiency stat -g
Node Name:                             Cluster-01
Max Efficiency Ops:                    8
Max Share Blocks:                      3060
Pending Efficiency Ops:                0
Running Efficiency Ops:                0
Total Configured:                      9
Succeeded Ops:                         1
Started Ops:                           1
Failed Ops:                            4
Deferred Ops:                          0
Stopped Ops:                           0
Dropped Change Logs:                   0
Change Log Generated:                  2033
Change Log Flushed:                    2033
Change Log Pending:                    0
Stolen Buffers Used:                   0
Stolen Buffer Lookups:                 294
Stolen Buffer Reads:                   348
Change Log Buffer Stats:
Dropped Logs (Total):                      0
Dropped Logs (Non-Dense):                  0
Dropped Logs (AggrFull):                   0
Dropped Logs (InvalidUUID):                0
Dropped Logs (VolOffline):                 0
Dropped Logs (VolDeleted):                 0
Dropped Logs (WaflWriteFail):              0
Dropped Logs (Unaligned):                  0
Dropped Logs (ClogFull):                   0
Alloc Failed (LogBuf):                     0
Log Buffers (Total/4K):                    38
Alloc Failed Per Cpu (Threshold):          0
Alloc Failed (WAFLBuffer):                 0
Alloc Failed Stolen Buffer(Threshold):     0

At the diagnostic level, the following example shows the detailed statistics for vol1 in Vserver vs1.

cluster1::*> volume efficiency stat -l -vserver vs1 -volume vol1
Vserver:                                                       vs1
Path:                                                          /vol/vol1
Allocated:                                                     1708 KB
Shared:                                                        1292 KB
Saving:                                                        19188 KB
%Saved:                                                        91%
Shared References:                                             323
Max Refcount:                                                  32767
Total Processed:                                               2584 KB
Total Process Time:                                            00:00:02
Total Verify Time:                                             00:00:00
Efficiency Files:                                              7
Succeeded Op:                                                  1
Started Op:                                                    1
Failed Op:                                                     0
Stopped Op:                                                    0
Deferred Op:                                                   0
Succeeded Check Op:                                            0
Failed Check Op:                                               0
Suspended Check Op:                                            0
Total FP Deleted:                                              0
Total Sorted Blocks:                                           646
Overlapped Blocks:                                             0
Same Fingerprint:                                              323
Same FBN Location:                                             0
Same Data:                                                     323
No Op:                                                         0
Same VBN:                                                      0
Mismatched Data:                                               0
Same Sharing Records:                                          0
Max Reference Hits:                                            0
Staled Recipient:                                              0
Staled Donor:                                                  0
VBN Absent:                                                    0
Skip Share Blocks Delta:                                       0
Skip Share Blocks Upper:                                       0
File Too Small:                                                0
Out of Space:                                                  0
FP False Match:                                                0
Mismatch By Overwrites:                                        0
Staled Aux Recipient:                                          0
Staled Aux Recipient Blocks:                                   0
Mismatched Aux Recipient:                                      0
Skipped Aux Recipient Sharing:                                 0
Delino Records:                                                0
Unaligned Compression Blocks:                                  0
Additional Sharing Messages:                                   0
Compression Saved:                                             4474
CGs Decompressed:                                              0
Partial CG Modifies:                                           0
Avg Decompress Time:                                           0
Extra CP Reads:                                                0
Inline Compression Attempts:                                   491
Background Compression Attempts:                               174
Inline Compressed Blocks:                                      468
Background Compressed CGs:                                     174
Uncompressed Blocks:                                           1389
New Partial CG Writes:                                         1389
Decompress Disk Bad:                                           0
Decompress SW Bad:                                             0
Avg Compress Time:                                             6
Compression Attempts:                                          815
Compression Failures:                                          0
Poor Compression Ratio:                                        0
CGs Skipped Due to VBN_ZERO Policy:                            0
Shared Blocks Skipped:                                         0
Snapshot Blocks Skipped:                                       0
Un-Flushed Change Logs:                                        0
Un-Flushed Data Logs:                                          0
Un-Flushed Ref Logs:                                           0
Incompressible CGs Found By Quick Check:                       0
Inline Incompressible CGs:                                     0
Avg Incompressible Data Quick Check Time:                      0
Avg Compressible Data Quick Check Time:                        0
BCE Messages Received in Exempt Domain:                        15
BCE Aborts Before Compress Stage:                              0
BCE Aborts Due to Stale Inode Before Compress Stage:           0
BCE Aborts Due to Invalid FBN:                                 0
BCE Policy Stage Entries:                                      15
BCE Compress Stage Entries:                                    15
BCE CGs Skipped Due to Overwrites in Compress Stage:           0
BCE Messages Sent to Exempt Domain:                            15
BCE SetFlag Stage Entries:                                     15
BCE Aborts Before Post Processing:                             0
BCE Aborts Due to Stale Inode Before Post Processing:          0
BCE CGs Skipped Due to Overwrites in Post Processing:          0
BCE CGs Skipped Due to No Space in Post Processing:            0
Average Number of CGs Batched for Decompression:               0
WCS CGs Latency Skipped:                                       0
WCS CGs sent from Non Stripe:                                  0
ICE Statistics:
ISE No Available CG:                                           0
WCS ISE No Buffer data:                                        0
WCS ISE Post process work done in write context:               125
WCS ISE Post process CGs done in message context:              343
WCS ISE CGs compressed in exempt:                              468
WCS ISE Inode Stale:                                           1
WCS ISE File truncated:                                        0
WCS ISE Buffer Gone:                                           0
WCS ISE Buffer data Gone:                                      0
WCS ISE Number of CGs dropped compressed:                      22
WCS ISE Number of CGs dropped Uncompressed:                    150
Inline Deduplication Statistics:
Inline Volume Sequence Number:                                 1026
Inline Checksum Computed:                                      0
Inline Checksum Matched:                                       0
Inline Donors Not In Memory:                                   0
Inline Blocks Matching Done:                                   0
Inline Blocks Mismatched:                                      0
Inline Refcount Done:                                          0
Inline Refcount Increment Failed:                              0
Inline Sharing Done:                                           0
Inline Dirty Data Shared:                                      0
Inline Refcount Decremented:                                   0
Inline Queued work:                                            5108
Inline Work Dropped:                                           326
Inline Donor Prefetch Success:                                 0
Inline Donor Prefetch Failed:                                  0
Inline Donor Metadata Prefetch Success:                        0
Inline Donor Metadata Prefetch Failed:                         0
Inline Aggregate Sequence Number:                              1573900002
Inline Cross-volume Checksum Matched:                          0
Inline Cross-volume Blocks Matching Done:                      0
Inline Cross-volume Blocks Mismatched:                         0
Inline Cross-volume Unsupported Pack Index:                    0
Inline Cross-volume Donors Not In Memory:                      0
Inline Cross-volume Refcount Done:                             0
Inline Cross-volume Refcount Increment Failed:                 0
Inline Cross-volume Refcount Decremented:                      0
Inline Cross-volume Drop For Container Space:                  0
Inline Cross-volume Sharing Done:                              0
Inline Cross-volume Prefetch Work Dropped:                     0
Inline Cross-volume Refcount Work Dropped:                     0
Background Cross-Volume Stale Recipient Count:                 0
Background Cross-Volume Stale Donor Count:                     0
Background Cross-volume Blocks Matching Done:                  0
Background Cross-volume Blocks Mismatched:                     0
Background Cross-volume Refcount Done:                         0
Background Cross-volume Refcount Increment Failed:             0
Background Cross-volume Drop For Container Space:              0
Background Cross-volume Sharing Done:                          0
Background Cross-volume Blocks Fixed:                          0
Background Cross-volume Shared Donor:                          0
Background Cross-volume Shared Recipient:                      0
Background Cross-volume Processed Donor:                       0
Background Cross-volume Processed Recipient:                   0