From 9d0db7d50bc280fb7db348b21bb682943b675aad Mon Sep 17 00:00:00 2001 From: Richard Elling Date: Sun, 2 Feb 2020 12:50:46 -0800 Subject: [PATCH] updated QAT related tunables --- ZFS-on-Linux-Module-Parameters.md | 42 ++++++++++++++++++++++++++++--- 1 file changed, 39 insertions(+), 3 deletions(-) diff --git a/ZFS-on-Linux-Module-Parameters.md b/ZFS-on-Linux-Module-Parameters.md index 1537ff1..5b5de27 100644 --- a/ZFS-on-Linux-Module-Parameters.md +++ b/ZFS-on-Linux-Module-Parameters.md @@ -108,6 +108,7 @@ has a "Tags" row with keywords for frequent searches. * [zfs_checksums_per_second](#zfs_checksums_per_second) * [zfs_fletcher_4_impl](#zfs_fletcher_4_impl) * [zfs_nopwrite_enabled](#zfs_nopwrite_enabled) + * [zfs_qat_checksum_disable](#zfs_qat_checksum_disable) #### compression * [zfs_compressed_arc_enabled](#zfs_compressed_arc_enabled) * [zfs_qat_compress_disable](#zfs_qat_compress_disable) @@ -161,6 +162,7 @@ has a "Tags" row with keywords for frequent searches. * [zfs_dmu_offset_next_sync](#zfs_dmu_offset_next_sync) #### encryption * [zfs_key_max_salt_uses](#zfs_key_max_salt_uses) + * [zfs_qat_encrypt_disable](#zfs_qat_encrypt_disable) #### filesystem * [zfs_admin_snapshot](#zfs_admin_snapshot) * [zfs_delete_blocks](#zfs_delete_blocks) @@ -252,8 +254,10 @@ has a "Tags" row with keywords for frequent searches. * [zfetch_min_sec_reap](#zfetch_min_sec_reap) * [zvol_prefetch_bytes](#zvol_prefetch_bytes) #### QAT - * [zfs_qat_compress_disable](#zfs_qat_compress_disable) * [zfs_qat_disable](#zfs_qat_disable) + * [zfs_qat_checksum_disable](#zfs_qat_checksum_disable) + * [zfs_qat_compress_disable](#zfs_qat_compress_disable) + * [zfs_qat_encrypt_disable](#zfs_qat_encrypt_disable) #### raidz * [zfs_vdev_raidz_impl](#zfs_vdev_raidz_impl) #### resilver @@ -499,8 +503,10 @@ has a "Tags" row with keywords for frequent searches. * [zfs_pd_bytes_max](#zfs_pd_bytes_max) * [zfs_per_txg_dirty_frees_percent](#zfs_per_txg_dirty_frees_percent) * [zfs_prefetch_disable](#zfs_prefetch_disable) + * [zfs_qat_checksum_disable](#zfs_qat_checksum_disable) * [zfs_qat_compress_disable](#zfs_qat_compress_disable) * [zfs_qat_disable](#zfs_qat_disable) + * [zfs_qat_encrypt_disable](#zfs_qat_encrypt_disable) * [zfs_read_chunk_size](#zfs_read_chunk_size) * [zfs_read_history](#zfs_read_history) * [zfs_read_history_hits](#zfs_read_history_hits) @@ -3788,7 +3794,22 @@ is present and qat driver available, the default behaviour is to enable QAT. | Range | 0=use QAT acceleration if available, 1=do not use QAT acceleration | Default | 0 | Change | Dynamic -| Versions Affected | v0.7.0 to TBD, renamed to `zfs_qat_compression_enable` in version TBD +| Versions Affected | v0.7, renamed to [zfs_qat_compress_disable](#zfs_qat_compress_disable) in v0.8 + +### zfs_qat_checksum_disable +`zfs_qat_checksum_disable` controls the Intel QuickAssist Technology (QAT) driver +providing hardware acceleration for checksums. When the QAT hardware +is present and qat driver available, the default behaviour is to enable QAT. + +| zfs_qat_checksum_disable | Notes +|---|--- +| Tags | [checksum](#checksum), [QAT](#qat) +| When to change | Testing QAT functionality +| Data Type | boolean +| Range | 0=use QAT acceleration if available, 1=do not use QAT acceleration +| Default | 0 +| Change | Dynamic +| Versions Affected | v0.8.0 ### zfs_qat_compress_disable `zfs_qat_compress_disable` controls the Intel QuickAssist Technology (QAT) driver @@ -3803,7 +3824,22 @@ is present and qat driver available, the default behaviour is to enable QAT. | Range | 0=use QAT acceleration if available, 1=do not use QAT acceleration | Default | 0 | Change | Dynamic -| Versions Affected | planned for v0.8.0 +| Versions Affected | v0.8.0 + +### zfs_qat_encrypt_disable +`zfs_qat_encrypt_disable` controls the Intel QuickAssist Technology (QAT) driver +providing hardware acceleration for encryption. When the QAT hardware +is present and qat driver available, the default behaviour is to enable QAT. + +| zfs_qat_encrypt_disable | Notes +|---|--- +| Tags | [encryption](#encryption), [QAT](#qat) +| When to change | Testing QAT functionality +| Data Type | boolean +| Range | 0=use QAT acceleration if available, 1=do not use QAT acceleration +| Default | 0 +| Change | Dynamic +| Versions Affected | v0.8.0 ### dbuf_cache_hiwater_pct The `dbuf_cache_hiwater_pct` and [dbuf_cache_lowater_pct](#dbuf_cache_lowater_pct)