summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_cluster.c
diff options
context:
space:
mode:
authorivoras <ivoras@FreeBSD.org>2011-03-16 16:22:59 +0000
committerivoras <ivoras@FreeBSD.org>2011-03-16 16:22:59 +0000
commitdc9c77949c8555272f1e3ea8cebb16432e762150 (patch)
tree432bc54cc0c0e1129108bec91a8327adf30d457c /sys/kern/vfs_cluster.c
parent881681406bae7f22438ebef034b8ccfbdc468574 (diff)
downloadFreeBSD-src-dc9c77949c8555272f1e3ea8cebb16432e762150.zip
FreeBSD-src-dc9c77949c8555272f1e3ea8cebb16432e762150.tar.gz
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).
Diffstat (limited to 'sys/kern/vfs_cluster.c')
-rw-r--r--sys/kern/vfs_cluster.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/vfs_cluster.c b/sys/kern/vfs_cluster.c
index ba331b1..9b10db3 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");
OpenPOWER on IntegriCloud