diff options
author | Ivan Voras <ivoras@FreeBSD.org> | 2011-03-16 16:22:59 +0000 |
---|---|---|
committer | Ivan Voras <ivoras@FreeBSD.org> | 2011-03-16 16:22:59 +0000 |
commit | 630db7f99bc6773d3329b7bc64d32f70bfaae059 (patch) | |
tree | 432bc54cc0c0e1129108bec91a8327adf30d457c /sys/kern/vfs_cluster.c | |
parent | 2ffa4044e9ca747e8df6a997959e09117c3443b5 (diff) | |
download | src-630db7f99bc6773d3329b7bc64d32f70bfaae059.tar.gz src-630db7f99bc6773d3329b7bc64d32f70bfaae059.zip |
The hardware has caught up; improvements are now observed even at 128,
but stay conservative and bump read_max to "only" 64 (it will probably be
a good idea to increase this to 128 after the next major release).
Notes
Notes:
svn path=/head/; revision=219699
Diffstat (limited to 'sys/kern/vfs_cluster.c')
-rw-r--r-- | sys/kern/vfs_cluster.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/vfs_cluster.c b/sys/kern/vfs_cluster.c index ba331b156e1c..9b10db37b24d 100644 --- a/sys/kern/vfs_cluster.c +++ b/sys/kern/vfs_cluster.c @@ -71,7 +71,7 @@ static int write_behind = 1; SYSCTL_INT(_vfs, OID_AUTO, write_behind, CTLFLAG_RW, &write_behind, 0, "Cluster write-behind; 0: disable, 1: enable, 2: backed off"); -static int read_max = 32; +static int read_max = 64; SYSCTL_INT(_vfs, OID_AUTO, read_max, CTLFLAG_RW, &read_max, 0, "Cluster read-ahead max block count"); |