Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/uvm Increase UVM read ahead window limit a bit to match ...
details: https://anonhg.NetBSD.org/src/rev/50bac98bcca1
branches: trunk
changeset: 321658:50bac98bcca1
user: mlelstv <mlelstv%NetBSD.org@localhost>
date: Fri Mar 30 07:22:59 2018 +0000
description:
Increase UVM read ahead window limit a bit to match concurrency of reading
from the raw device.
diffstat:
sys/uvm/uvm_readahead.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 0384257bfe8c -r 50bac98bcca1 sys/uvm/uvm_readahead.c
--- a/sys/uvm/uvm_readahead.c Fri Mar 30 07:11:40 2018 +0000
+++ b/sys/uvm/uvm_readahead.c Fri Mar 30 07:22:59 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uvm_readahead.c,v 1.8 2011/06/12 03:36:04 rmind Exp $ */
+/* $NetBSD: uvm_readahead.c,v 1.9 2018/03/30 07:22:59 mlelstv Exp $ */
/*-
* Copyright (c)2003, 2005, 2009 YAMAMOTO Takashi,
@@ -40,7 +40,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_readahead.c,v 1.8 2011/06/12 03:36:04 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_readahead.c,v 1.9 2018/03/30 07:22:59 mlelstv Exp $");
#include <sys/param.h>
#include <sys/pool.h>
@@ -73,7 +73,7 @@
#endif
#define RA_WINSIZE_INIT MAXPHYS /* initial window size */
-#define RA_WINSIZE_MAX (MAXPHYS * 8) /* max window size */
+#define RA_WINSIZE_MAX (MAXPHYS * 16) /* max window size */
#define RA_WINSIZE_SEQENTIAL RA_WINSIZE_MAX /* fixed window size used for
SEQUENTIAL hint */
#define RA_MINSIZE (MAXPHYS * 2) /* min size to start i/o */
Home |
Main Index |
Thread Index |
Old Index