Date: Tue, 10 Sep 2019 07:38:25 +0700 From: Eugene Grosbein <eugen@grosbein.net> To: Warner Losh <imp@bsdimp.com>, Brooks Davis <brooks@freebsd.org> Cc: Philip Paeps <philip@freebsd.org>, Ian Lepore <ian@freebsd.org>, src-committers <src-committers@freebsd.org>, svn-src-all <svn-src-all@freebsd.org>, svn-src-head <svn-src-head@freebsd.org> Subject: Re: svn commit: r351918 - head/sys/kern Message-ID: <788f91ca-be0e-7307-71ca-d29475e386fb@grosbein.net> In-Reply-To: <CANCZdfrxUTsb_dRKjcd6kKcDLSxSJge3hDo74mf4fZODOJN6XA@mail.gmail.com> References: <201909060119.x861JWrG006910@repo.freebsd.org> <4917d7507b6ea6c360dccda261f53052aa085f2b.camel@freebsd.org> <5EE266EE-E650-48D8-9B0E-E674AD026470@freebsd.org> <3cb6429acc7e520932d2c906d1cac47540156355.camel@freebsd.org> <8F03EA29-0F3F-4321-9241-78F7C924FDE1@freebsd.org> <CANCZdfr6pz19NCLmsua6iGzusotrcHN=u47RH7Y1PdM4rnomZA@mail.gmail.com> <9BC03B61-F8B5-476C-AD34-9DEA5230BFCF@freebsd.org> <20190909115632.GB41333@spindle.one-eyed-alien.net> <CANCZdfrxUTsb_dRKjcd6kKcDLSxSJge3hDo74mf4fZODOJN6XA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
10.09.2019 2:49, Warner Losh wrote: > Would your needs be adequately covered by the current mechanisms to set HZ? > This just covers the defaults for the whole platform. > As always, these can be overridden in the boot loader or kernel config file... Several years ago I experimented with FreeBSD/MIPS32 using some real hardware that was both slow and had very small integrated flash, 8MB in total and 128KB for local configuration changes (template overrides). It used compressed root file system and standard /etc/rc.initdiskless script and its /conf/T/M/extract schema to extract local config overrides from the NVRAM very early at startup (called from /etc/rc), before /etc/rc.conf is read and before rcNG starts. Still, it's too late to change kern.hz currently. And that hardware used MIPS32 U-Boot and system had no /boot/loader at all. Maybe we could enable changing kern.hz for single user mode early at startup?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?788f91ca-be0e-7307-71ca-d29475e386fb>