The Call For Testing had no reports of operational problems and
found that performance was no worse and usually better when running with TRIM consolidation. Performance improvement was most noticable when multiple large files are released in a short period of time. Thus, TRIM consolidation is being enabled by default. Should operational problems be found, it can be disabled using the command `sysctl vfs.ffs.dotrimcons=0'. This variable can also be set as a tunable if early disabling is necessary. Approved by: re (gjb) Sponsored by: Netflix
This commit is contained in:
parent
ecdc974571
commit
4b6a2c497e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=338517
@ -484,8 +484,8 @@ static int doreallocblks = 1;
|
||||
SYSCTL_INT(_vfs_ffs, OID_AUTO, doreallocblks, CTLFLAG_RW, &doreallocblks, 0,
|
||||
"enable block reallocation");
|
||||
|
||||
static int dotrimcons = 0;
|
||||
SYSCTL_INT(_vfs_ffs, OID_AUTO, dotrimcons, CTLFLAG_RW, &dotrimcons, 0,
|
||||
static int dotrimcons = 1;
|
||||
SYSCTL_INT(_vfs_ffs, OID_AUTO, dotrimcons, CTLFLAG_RWTUN, &dotrimcons, 0,
|
||||
"enable BIO_DELETE / TRIM consolidation");
|
||||
|
||||
static int maxclustersearch = 10;
|
||||
|
Loading…
Reference in New Issue
Block a user