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 <behlendorf1@llnl.gov> Closes #2639
This commit is contained in:
parent
287be44f53
commit
0dfc732416
@ -503,7 +503,7 @@ Default value: \fB1,000,000\fR.
|
|||||||
.RS 12n
|
.RS 12n
|
||||||
Enable prefetching dedup-ed blks
|
Enable prefetching dedup-ed blks
|
||||||
.sp
|
.sp
|
||||||
Use \fB1\fR for yes (default) and \fB0\fR to disable.
|
Use \fB1\fR for yes and \fB0\fR to disable (default).
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
.sp
|
.sp
|
||||||
|
@ -43,7 +43,7 @@ static kmem_cache_t *ddt_entry_cache;
|
|||||||
/*
|
/*
|
||||||
* Enable/disable prefetching of dedup-ed blocks which are going to be freed.
|
* 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] = {
|
static const ddt_ops_t *ddt_ops[DDT_TYPES] = {
|
||||||
&ddt_zap_ops,
|
&ddt_zap_ops,
|
||||||
|
Loading…
Reference in New Issue
Block a user