Move mips and arm to 1000Hz by default.
armv6 and armv7 systems already were 1000Hz. The other armv5 were a mix of 100 and 1000. This changes them to 1000. Should there be issues, we can add options HZ=100 to the systems that have bad performance at the drop of a hat. mips is a lot more complicated. But most of the systems are already 1000HZ. The hardware exceptions are all fast enough to run at 1000Hz. MALTA is our primary emulator, and history has shown emulators tend to like 100Hz better, so run those systems at 100Hz. As with arm, any system that shows a huge performance regression can reverted to 100Hz easily. This was going to be committed well in advance of the 13 branch, but it was delayed and forgotten til now. Discussed on: #bsdmips ages ago Sponsored by: Netflix
This commit is contained in:
parent
8fa5c577de
commit
0a99422970
@ -63,11 +63,7 @@ __FBSDID("$FreeBSD$");
|
||||
*/
|
||||
|
||||
#ifndef HZ
|
||||
# if defined(__mips__) || defined(__arm__)
|
||||
# define HZ 100
|
||||
# else
|
||||
# define HZ 1000
|
||||
# endif
|
||||
# define HZ 1000
|
||||
# ifndef HZ_VM
|
||||
# define HZ_VM 100
|
||||
# endif
|
||||
|
@ -11,7 +11,6 @@ machine mips mips
|
||||
ident AR71XX_BASE
|
||||
cpu CPU_MIPS24K
|
||||
makeoptions KERNLOADADDR=0x80050000
|
||||
options HZ=1000
|
||||
options HWPMC_HOOKS
|
||||
|
||||
files "../atheros/files.ar71xx"
|
||||
|
@ -8,7 +8,6 @@
|
||||
ident PB92
|
||||
# XXX The default load address in the Uboot environment is 0x80010000
|
||||
makeoptions KERNLOADADDR=0x80050000
|
||||
options HZ=1000
|
||||
|
||||
# The PB92 has 32mb of RAM; hard-code that
|
||||
options AR71XX_REALMEM=32*1024*1024
|
||||
|
@ -14,7 +14,6 @@ machine mips mips
|
||||
ident QCA953X_BASE
|
||||
cpu CPU_MIPS24K
|
||||
makeoptions KERNLOADADDR=0x80050000
|
||||
options HZ=1000
|
||||
|
||||
files "../atheros/files.ar71xx"
|
||||
hints "QCA953X_BASE.hints"
|
||||
|
@ -10,7 +10,6 @@ machine mips mips
|
||||
#ident AR5312_BASE
|
||||
cpu CPU_MIPS4KC
|
||||
makeoptions KERNLOADADDR=0x80050000
|
||||
options HZ=1000
|
||||
|
||||
makeoptions MODULES_OVERRIDE=""
|
||||
|
||||
|
@ -10,7 +10,6 @@ machine mips mips
|
||||
#ident AR5315_BASE
|
||||
cpu CPU_MIPS4KC
|
||||
makeoptions KERNLOADADDR=0x80050000
|
||||
options HZ=1000
|
||||
|
||||
makeoptions MODULES_OVERRIDE=""
|
||||
|
||||
|
@ -12,7 +12,6 @@ machine mips mips
|
||||
#ident AR724X_BASE
|
||||
cpu CPU_MIPS24K
|
||||
makeoptions KERNLOADADDR=0x80050000
|
||||
options HZ=1000
|
||||
options HWPMC_HOOKS
|
||||
|
||||
files "../atheros/files.ar71xx"
|
||||
|
@ -14,7 +14,6 @@ machine mips mips
|
||||
#ident std.AR91XX
|
||||
cpu CPU_MIPS24K
|
||||
makeoptions KERNLOADADDR=0x80050000
|
||||
options HZ=1000
|
||||
|
||||
files "../atheros/files.ar71xx"
|
||||
hints "AR91XX_BASE.hints"
|
||||
|
@ -14,7 +14,6 @@ machine mips mips
|
||||
#ident std.AR933X
|
||||
cpu CPU_MIPS24K
|
||||
makeoptions KERNLOADADDR=0x80050000
|
||||
options HZ=1000
|
||||
|
||||
files "../atheros/files.ar71xx"
|
||||
hints "AR933X_BASE.hints"
|
||||
|
@ -14,7 +14,6 @@ machine mips mips
|
||||
#ident std.AR934X
|
||||
cpu CPU_MIPS74K
|
||||
makeoptions KERNLOADADDR=0x80050000
|
||||
options HZ=1000
|
||||
|
||||
files "../atheros/files.ar71xx"
|
||||
hints "AR934X_BASE.hints"
|
||||
|
@ -15,6 +15,7 @@ makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols
|
||||
|
||||
options DDB
|
||||
options KDB
|
||||
options HZ=100
|
||||
|
||||
options SCHED_4BSD #4BSD scheduler
|
||||
options INET #InterNETworking
|
||||
|
@ -15,7 +15,6 @@ machine mips mips
|
||||
#ident std.QCA955X
|
||||
cpu CPU_MIPS74K
|
||||
makeoptions KERNLOADADDR=0x80050000
|
||||
options HZ=1000
|
||||
|
||||
files "../atheros/files.ar71xx"
|
||||
hints "QCA955X_BASE.hints"
|
||||
|
@ -35,7 +35,6 @@ options MD_ROOT # MD is a potential root device
|
||||
options MD_ROOT_SIZE=132000
|
||||
options ROOTDEVNAME=\"ufs:md0\"
|
||||
options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
|
||||
options HZ=1000
|
||||
options NO_SWAPPING
|
||||
|
||||
# Debugging options
|
||||
|
Loading…
Reference in New Issue
Block a user