diff options
author | Alexey Smirnoff <[email protected]> | 2014-08-30 09:13:26 +0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2014-09-04 09:50:45 -0700 |
commit | 0dfc732416922e1dd59028fa900d38d04dceaa12 (patch) | |
tree | 55e1b0db957edd9673866508b0dc63d6a93bca56 /module/zfs | |
parent | 287be44f536e27d377518badd2bd8e2758db2be6 (diff) |
Change the default 'zfs_dedup_prefetch' value to '0'
This gives a huge performance improvement in operations with deduped
datasets especially when the bottleneck is the amount of ram
available for zfs.
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #2639
Diffstat (limited to 'module/zfs')
-rw-r--r-- | module/zfs/ddt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/zfs/ddt.c b/module/zfs/ddt.c index d854e5f23..0ce8ca1a9 100644 --- a/module/zfs/ddt.c +++ b/module/zfs/ddt.c @@ -43,7 +43,7 @@ static kmem_cache_t *ddt_entry_cache; /* * Enable/disable prefetching of dedup-ed blocks which are going to be freed. */ -int zfs_dedup_prefetch = 1; +int zfs_dedup_prefetch = 0; static const ddt_ops_t *ddt_ops[DDT_TYPES] = { &ddt_zap_ops, |