Page MenuHomeFreeBSD

D47398.diff
No OneTemporary

D47398.diff

diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c
--- a/sys/kern/vfs_bio.c
+++ b/sys/kern/vfs_bio.c
@@ -1253,15 +1253,16 @@
bufspacethresh = lobufspace + (hibufspace - lobufspace) / 2;
/*
- * Note: The 16 MiB upper limit for hirunningspace was chosen
- * arbitrarily and may need further tuning. It corresponds to
- * 128 outstanding write IO requests (if IO size is 128 KiB),
- * which fits with many RAID controllers' tagged queuing limits.
+ * Note: The upper limit for hirunningspace was chosen arbitrarily and
+ * may need further tuning. It corresponds to 128 outstanding write IO
+ * requests, which fits with many RAID controllers' tagged queuing
+ * limits.
+ *
* The lower 1 MiB limit is the historical upper limit for
* hirunningspace.
*/
hirunningspace = lmax(lmin(roundup(hibufspace / 64, maxbcachebuf),
- 16 * 1024 * 1024), 1024 * 1024);
+ 128 * maxphys), 1024 * 1024);
lorunningspace = roundup((hirunningspace * 2) / 3, maxbcachebuf);
/*

File Metadata

Mime Type
text/plain
Expires
Mon, Feb 2, 8:47 AM (15 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28411440
Default Alt Text
D47398.diff (997 B)

Event Timeline