Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/evbmips/conf Enable the per-priority cyclical scan ...



details:   https://anonhg.NetBSD.org/src/rev/e5db51a5f365
branches:  trunk
changeset: 447084:e5db51a5f365
user:      sevan <sevan%NetBSD.org@localhost>
date:      Sun Dec 30 14:51:36 2018 +0000

description:
Enable the per-priority cyclical scan buffer queue strategy on evbmips kernels.

time results of a Lemote Fuloong 2F extracting the pkgsrc tree
brick$ time tar -jxf pkgsrc.tar.bz2
priocscan + log
        612.90 real       103.45 user       194.98 sys
priocscan   nolog
        1345.48 real       103.57 user       274.32 sys
fcfs + log
        736.02 real       101.71 user       192.95 sys
fcfs   nolog
        1475.16 real       103.06 user       271.14 sys

diffstat:

 sys/arch/evbmips/conf/ADM5120         |  9 +++++++--
 sys/arch/evbmips/conf/ADM5120-NB      |  9 +++++++--
 sys/arch/evbmips/conf/ADM5120-USB     |  9 +++++++--
 sys/arch/evbmips/conf/ALCHEMY         |  9 +++++++--
 sys/arch/evbmips/conf/AP30            |  9 +++++++--
 sys/arch/evbmips/conf/CI20            |  9 +++++++--
 sys/arch/evbmips/conf/CPMBR1400       |  7 ++++++-
 sys/arch/evbmips/conf/DB120           |  9 +++++++--
 sys/arch/evbmips/conf/ERLITE          |  9 +++++++--
 sys/arch/evbmips/conf/GDIUM           |  9 +++++++--
 sys/arch/evbmips/conf/LINKITSMART7688 |  7 ++++++-
 sys/arch/evbmips/conf/LOONGSON        |  9 +++++++--
 sys/arch/evbmips/conf/MALTA           |  9 +++++++--
 sys/arch/evbmips/conf/MERAKI          |  9 +++++++--
 sys/arch/evbmips/conf/RB153           |  9 +++++++--
 sys/arch/evbmips/conf/RB433UAH        |  9 +++++++--
 sys/arch/evbmips/conf/SBMIPS          |  9 +++++++--
 sys/arch/evbmips/conf/WGT624V3        |  9 +++++++--
 sys/arch/evbmips/conf/XLSATX          |  9 +++++++--
 sys/arch/evbmips/conf/ZYXELKX         |  7 ++++++-
 20 files changed, 137 insertions(+), 37 deletions(-)

diffs (truncated from 550 to 300 lines):

diff -r 63abfc1aaab0 -r e5db51a5f365 sys/arch/evbmips/conf/ADM5120
--- a/sys/arch/evbmips/conf/ADM5120     Sun Dec 30 12:05:48 2018 +0000
+++ b/sys/arch/evbmips/conf/ADM5120     Sun Dec 30 14:51:36 2018 +0000
@@ -1,11 +1,11 @@
-#      $NetBSD: ADM5120,v 1.26 2018/08/01 20:04:11 maxv Exp $
+#      $NetBSD: ADM5120,v 1.27 2018/12/30 14:51:36 sevan Exp $
 #
 # Kernel config for the Alchemy Semiconductor (AMD) PB1000, PB1500,
 # DBAu1000 and DBAu1500 evaluation boards.
 
 include        "arch/evbmips/conf/std.adm5120"
 
-#ident                 "GENERIC-$Revision: 1.26 $"
+#ident                 "GENERIC-$Revision: 1.27 $"
 
 maxusers       32
 
@@ -69,6 +69,11 @@
 #options       EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
                                # immutable) behave as system flags.
 
+# Alternate buffer queue strategies for better responsiveness under high
+# disk I/O load.
+#options       BUFQ_READPRIO
+options        BUFQ_PRIOCSCAN
+
 # Networking options
 options        GATEWAY         # IP packet forwarding
 options        INET            # Internet protocols
diff -r 63abfc1aaab0 -r e5db51a5f365 sys/arch/evbmips/conf/ADM5120-NB
--- a/sys/arch/evbmips/conf/ADM5120-NB  Sun Dec 30 12:05:48 2018 +0000
+++ b/sys/arch/evbmips/conf/ADM5120-NB  Sun Dec 30 14:51:36 2018 +0000
@@ -1,11 +1,11 @@
-#      $NetBSD: ADM5120-NB,v 1.24 2018/08/01 20:04:11 maxv Exp $
+#      $NetBSD: ADM5120-NB,v 1.25 2018/12/30 14:51:36 sevan Exp $
 #
 # Kernel config for the Alchemy Semiconductor (AMD) PB1000, PB1500,
 # DBAu1000 and DBAu1500 evaluation boards.
 
 include        "arch/evbmips/conf/std.adm5120"
 
-#ident                 "GENERIC-$Revision: 1.24 $"
+#ident                 "GENERIC-$Revision: 1.25 $"
 
 maxusers       32
 
@@ -69,6 +69,11 @@
 #options       EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
                                # immutable) behave as system flags.
 
+# Alternate buffer queue strategies for better responsiveness under high
+# disk I/O load.
+#options       BUFQ_READPRIO
+options        BUFQ_PRIOCSCAN
+
 # Networking options
 options        GATEWAY         # IP packet forwarding
 options        INET            # Internet protocols
diff -r 63abfc1aaab0 -r e5db51a5f365 sys/arch/evbmips/conf/ADM5120-USB
--- a/sys/arch/evbmips/conf/ADM5120-USB Sun Dec 30 12:05:48 2018 +0000
+++ b/sys/arch/evbmips/conf/ADM5120-USB Sun Dec 30 14:51:36 2018 +0000
@@ -1,11 +1,11 @@
-#      $NetBSD: ADM5120-USB,v 1.26 2018/10/23 19:58:52 jdolecek Exp $
+#      $NetBSD: ADM5120-USB,v 1.27 2018/12/30 14:51:36 sevan Exp $
 #
 # Kernel config for the Alchemy Semiconductor (AMD) PB1000, PB1500,
 # DBAu1000 and DBAu1500 evaluation boards.
 
 include        "arch/evbmips/conf/std.adm5120"
 
-#ident                 "GENERIC-$Revision: 1.26 $"
+#ident                 "GENERIC-$Revision: 1.27 $"
 
 maxusers       32
 
@@ -68,6 +68,11 @@
 #options       EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
                                # immutable) behave as system flags.
 
+# Alternate buffer queue strategies for better responsiveness under high
+# disk I/O load.
+#options       BUFQ_READPRIO
+options        BUFQ_PRIOCSCAN
+
 # Networking options
 #options       GATEWAY         # IP packet forwarding
 options        INET            # Internet protocols
diff -r 63abfc1aaab0 -r e5db51a5f365 sys/arch/evbmips/conf/ALCHEMY
--- a/sys/arch/evbmips/conf/ALCHEMY     Sun Dec 30 12:05:48 2018 +0000
+++ b/sys/arch/evbmips/conf/ALCHEMY     Sun Dec 30 14:51:36 2018 +0000
@@ -1,11 +1,11 @@
-#      $NetBSD: ALCHEMY,v 1.64 2018/08/01 20:04:11 maxv Exp $
+#      $NetBSD: ALCHEMY,v 1.65 2018/12/30 14:51:36 sevan Exp $
 #
 # Kernel config for the Alchemy Semiconductor (AMD) PB1000, PB1500,
 # DBAu1000 and DBAu1500 evaluation boards.
 
 include        "arch/evbmips/conf/std.alchemy"
 
-#ident                 "ALCHEMY-$Revision: 1.64 $"
+#ident                 "ALCHEMY-$Revision: 1.65 $"
 
 maxusers       32
 
@@ -80,6 +80,11 @@
 #options       EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
                                # immutable) behave as system flags.
 
+# Alternate buffer queue strategies for better responsiveness under high
+# disk I/O load.
+#options       BUFQ_READPRIO
+options        BUFQ_PRIOCSCAN
+
 # Networking options
 #options       GATEWAY         # IP packet forwarding
 options        INET            # Internet protocols
diff -r 63abfc1aaab0 -r e5db51a5f365 sys/arch/evbmips/conf/AP30
--- a/sys/arch/evbmips/conf/AP30        Sun Dec 30 12:05:48 2018 +0000
+++ b/sys/arch/evbmips/conf/AP30        Sun Dec 30 14:51:36 2018 +0000
@@ -1,10 +1,10 @@
-#      $NetBSD: AP30,v 1.37 2018/08/01 20:04:11 maxv Exp $
+#      $NetBSD: AP30,v 1.38 2018/12/30 14:51:36 sevan Exp $
 
 include        "arch/evbmips/conf/std.atheros"
 
 #options       INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident                 "AP30-$Revision: 1.37 $"
+#ident                 "AP30-$Revision: 1.38 $"
 
 maxusers       32
 
@@ -80,6 +80,11 @@
 #options       EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
                                # immutable) behave as system flags.
 
+# Alternate buffer queue strategies for better responsiveness under high
+# disk I/O load.
+#options       BUFQ_READPRIO
+options        BUFQ_PRIOCSCAN
+
 # Networking options
 #options       GATEWAY         # IP packet forwarding
 options        INET            # Internet protocols
diff -r 63abfc1aaab0 -r e5db51a5f365 sys/arch/evbmips/conf/CI20
--- a/sys/arch/evbmips/conf/CI20        Sun Dec 30 12:05:48 2018 +0000
+++ b/sys/arch/evbmips/conf/CI20        Sun Dec 30 14:51:36 2018 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: CI20,v 1.26 2018/08/01 20:04:11 maxv Exp $
+#      $NetBSD: CI20,v 1.27 2018/12/30 14:51:36 sevan Exp $
 #
 # MIPS Creator CI20
 #
@@ -7,7 +7,7 @@
 
 #options       INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident                 "CI20-$Revision: 1.26 $"
+#ident                 "CI20-$Revision: 1.27 $"
 
 maxusers       32
 
@@ -91,6 +91,11 @@
 #options       EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
                                # immutable) behave as system flags.
 
+# Alternate buffer queue strategies for better responsiveness under high
+# disk I/O load.
+#options       BUFQ_READPRIO
+options        BUFQ_PRIOCSCAN
+
 # Networking options
 #options       GATEWAY         # IP packet forwarding
 options        INET            # Internet protocols
diff -r 63abfc1aaab0 -r e5db51a5f365 sys/arch/evbmips/conf/CPMBR1400
--- a/sys/arch/evbmips/conf/CPMBR1400   Sun Dec 30 12:05:48 2018 +0000
+++ b/sys/arch/evbmips/conf/CPMBR1400   Sun Dec 30 14:51:36 2018 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: CPMBR1400,v 1.29 2018/12/19 13:57:47 maxv Exp $
+#      $NetBSD: CPMBR1400,v 1.30 2018/12/30 14:51:36 sevan Exp $
 
 include        "arch/evbmips/conf/std.rasoc"
 
@@ -90,6 +90,11 @@
 options        FFS_NO_SNAPSHOT # No FF snapshot support
 #options       EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and immutable) behave as system flags.
 
+# Alternate buffer queue strategies for better responsiveness under high
+# disk I/O load.
+#options       BUFQ_READPRIO
+options        BUFQ_PRIOCSCAN
+
 # Networking options
 options        GATEWAY         # packet forwarding
 options        INET            # IP + ICMP + TCP + UDP
diff -r 63abfc1aaab0 -r e5db51a5f365 sys/arch/evbmips/conf/DB120
--- a/sys/arch/evbmips/conf/DB120       Sun Dec 30 12:05:48 2018 +0000
+++ b/sys/arch/evbmips/conf/DB120       Sun Dec 30 14:51:36 2018 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: DB120,v 1.20 2018/08/01 20:04:11 maxv Exp $
+#      $NetBSD: DB120,v 1.21 2018/12/30 14:51:36 sevan Exp $
 #
 # Qualcomm Atheros AR9344 DB120 evaluation board.
 #
@@ -7,7 +7,7 @@
 
 #options       INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident                 "DB120-$Revision: 1.20 $"
+#ident                 "DB120-$Revision: 1.21 $"
 
 maxusers       32
 
@@ -89,6 +89,11 @@
 #options       EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
                                # immutable) behave as system flags.
 
+# Alternate buffer queue strategies for better responsiveness under high
+# disk I/O load.
+#options       BUFQ_READPRIO
+options        BUFQ_PRIOCSCAN
+
 # Networking options
 #options       GATEWAY         # IP packet forwarding
 options        INET            # Internet protocols
diff -r 63abfc1aaab0 -r e5db51a5f365 sys/arch/evbmips/conf/ERLITE
--- a/sys/arch/evbmips/conf/ERLITE      Sun Dec 30 12:05:48 2018 +0000
+++ b/sys/arch/evbmips/conf/ERLITE      Sun Dec 30 14:51:36 2018 +0000
@@ -1,11 +1,11 @@
-#      $NetBSD: ERLITE,v 1.20 2018/09/16 10:15:22 mrg Exp $
+#      $NetBSD: ERLITE,v 1.21 2018/12/30 14:51:36 sevan Exp $
 
 include        "arch/mips/conf/std.octeon"
 include        "arch/evbmips/conf/files.octeon"
 
 #options       INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident                 "ERLITE-$Revision: 1.20 $"
+#ident                 "ERLITE-$Revision: 1.21 $"
 
 maxusers       32
 
@@ -81,6 +81,11 @@
 #options       EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
                                # immutable) behave as system flags.
 
+# Alternate buffer queue strategies for better responsiveness under high
+# disk I/O load.
+#options       BUFQ_READPRIO
+options        BUFQ_PRIOCSCAN
+
 # Networking options
 #options       GATEWAY         # IP packet forwarding
 options        INET            # Internet protocols
diff -r 63abfc1aaab0 -r e5db51a5f365 sys/arch/evbmips/conf/GDIUM
--- a/sys/arch/evbmips/conf/GDIUM       Sun Dec 30 12:05:48 2018 +0000
+++ b/sys/arch/evbmips/conf/GDIUM       Sun Dec 30 14:51:36 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GDIUM,v 1.34 2018/12/30 00:42:09 sevan Exp $
+# $NetBSD: GDIUM,v 1.35 2018/12/30 14:51:36 sevan Exp $
 #
 # GDIUM machine description file
 # 
@@ -22,7 +22,7 @@
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident                 "GDIUM-$Revision: 1.34 $"
+#ident                 "GDIUM-$Revision: 1.35 $"
 
 maxusers       16
 
@@ -91,6 +91,11 @@
 #options       FFS_EI          # FFS Endian Independent support
 #options       FFS_NO_SNAPSHOT # No FFS snapshot support
 
+# Alternate buffer queue strategies for better responsiveness under high
+# disk I/O load.
+#options       BUFQ_READPRIO
+options        BUFQ_PRIOCSCAN
+
 # Networking options
 #options       GATEWAY         # IP packet forwarding
 options        INET            # IP + ICMP + TCP + UDP
diff -r 63abfc1aaab0 -r e5db51a5f365 sys/arch/evbmips/conf/LINKITSMART7688
--- a/sys/arch/evbmips/conf/LINKITSMART7688     Sun Dec 30 12:05:48 2018 +0000
+++ b/sys/arch/evbmips/conf/LINKITSMART7688     Sun Dec 30 14:51:36 2018 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: LINKITSMART7688,v 1.9 2018/12/19 13:57:47 maxv Exp $
+#      $NetBSD: LINKITSMART7688,v 1.10 2018/12/30 14:51:36 sevan Exp $
 #
 # MediaTek MT7688
 #
@@ -93,6 +93,11 @@
 options        FFS_NO_SNAPSHOT # No FF snapshot support
 #options       EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and immutable) behave as system flags.
 
+# Alternate buffer queue strategies for better responsiveness under high
+# disk I/O load.
+#options       BUFQ_READPRIO



Home | Main Index | Thread Index | Old Index