Increase default synchronization speed.
MFC after: 3 days
This commit is contained in:
parent
a6ac4fb307
commit
437566858a
@ -66,7 +66,7 @@ static u_int g_mirror_reqs_per_sync = 5;
|
|||||||
SYSCTL_UINT(_kern_geom_mirror, OID_AUTO, reqs_per_sync, CTLFLAG_RW,
|
SYSCTL_UINT(_kern_geom_mirror, OID_AUTO, reqs_per_sync, CTLFLAG_RW,
|
||||||
&g_mirror_reqs_per_sync, 0,
|
&g_mirror_reqs_per_sync, 0,
|
||||||
"Number of regular I/O requests per synchronization request");
|
"Number of regular I/O requests per synchronization request");
|
||||||
static u_int g_mirror_syncs_per_sec = 100;
|
static u_int g_mirror_syncs_per_sec = 1000;
|
||||||
SYSCTL_UINT(_kern_geom_mirror, OID_AUTO, syncs_per_sec, CTLFLAG_RW,
|
SYSCTL_UINT(_kern_geom_mirror, OID_AUTO, syncs_per_sec, CTLFLAG_RW,
|
||||||
&g_mirror_syncs_per_sec, 0,
|
&g_mirror_syncs_per_sec, 0,
|
||||||
"Number of synchronizations requests per second");
|
"Number of synchronizations requests per second");
|
||||||
|
@ -66,7 +66,7 @@ static u_int g_raid3_reqs_per_sync = 5;
|
|||||||
SYSCTL_UINT(_kern_geom_raid3, OID_AUTO, reqs_per_sync, CTLFLAG_RW,
|
SYSCTL_UINT(_kern_geom_raid3, OID_AUTO, reqs_per_sync, CTLFLAG_RW,
|
||||||
&g_raid3_reqs_per_sync, 0,
|
&g_raid3_reqs_per_sync, 0,
|
||||||
"Number of regular I/O requests per synchronization request");
|
"Number of regular I/O requests per synchronization request");
|
||||||
static u_int g_raid3_syncs_per_sec = 100;
|
static u_int g_raid3_syncs_per_sec = 1000;
|
||||||
SYSCTL_UINT(_kern_geom_raid3, OID_AUTO, syncs_per_sec, CTLFLAG_RW,
|
SYSCTL_UINT(_kern_geom_raid3, OID_AUTO, syncs_per_sec, CTLFLAG_RW,
|
||||||
&g_raid3_syncs_per_sec, 0,
|
&g_raid3_syncs_per_sec, 0,
|
||||||
"Number of synchronizations requests per second");
|
"Number of synchronizations requests per second");
|
||||||
|
Loading…
Reference in New Issue
Block a user