| Summary: | /boot/default/loader.conf contains untrue default | ||
|---|---|---|---|
| Product: | Base System | Reporter: | Dan Naumov <dan.naumov> |
| Component: | conf | Assignee: | Volker Werth <vwe> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Unspecified | ||
| Hardware: | Any | ||
| OS: | Any | ||
|
Description
Dan Naumov
2009-05-06 07:50:01 UTC
> The file /boot/default/loader.conf contains the following line: > > #kern.hz="100" # Set the kernel interval timer rate > > which would imply that unless a different value is set in > /boot/loader.conf, the system should use a 100 hz rate by default. This > however is not true (at least on amd64), by default the system uses a 1000 > hz rate and a simple act of copying /boot/default/loader.conf to /boot/ > and uncommenting the kern.hz line will change system behavior. >>How-To-Repeat: > HEllo, It does not say that this si the default setting, it's an example on how to specify the values and what it does. 100Hz is commonly used for virtual machines. If one modifies this behaviour he/she needs to know what he is doing. If you do not know it, why change it? It could only harm. I do agree that this might be a tad confusing though, I'll ponder on changing it. Thanks! rEmko -- /"\ Best regards, | remko@FreeBSD.org \ / Remko Lodder | remko@EFnet X http://www.evilcoder.org/ | / \ ASCII Ribbon Campaign | Against HTML Mail and News From a user perspective: If a config file is in /boot/DEFAULT, I expect the config file to contain DEFAULT values used for the booting process. If the file is merely an EXAMPLE, it should be somewhere else. Sincerely, Dan Naumov P.S: The reason I was changing the value was precisely because I am running the installation inside a VM and after experiencing problems with wildly drifting time, I was told to adjust kern.hz to "100", however the /boot/default/loader.conf file already had the commented line #kern.hz=3D"100" resulting in confusion. On Thu, May 7, 2009 at 10:37 AM, Remko Lodder <remko@elvandar.org> wrote: > >> The file /boot/default/loader.conf contains the following line: >> >> #kern.hz=3D"100" =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0# Set the kernel int= erval timer rate >> >> which would imply that unless a different value is set in >> /boot/loader.conf, the system should use a 100 hz rate by default. This >> however is not true (at least on amd64), by default the system uses a 10= 00 >> hz rate and a simple act of copying /boot/default/loader.conf to /boot/ >> and uncommenting the kern.hz line will change system behavior. >>>How-To-Repeat: >> > > HEllo, > > It does not say that this si the default setting, it's an example on how > to specify the values and what it does. 100Hz is commonly used for virtua= l > machines. If one modifies this behaviour he/she needs to know what he is > doing. If you do not know it, why change it? It could only harm. I do > agree that this might be a tad confusing though, I'll ponder on changing > it. > > Thanks! > rEmko > > > -- > /"\ =A0 Best regards, =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0| remko@= FreeBSD.org > \ / =A0 Remko Lodder =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | remko@= EFnet > =A0X =A0 =A0http://www.evilcoder.org/ =A0 =A0 =A0 =A0 =A0| > / \ =A0 ASCII Ribbon Campaign =A0 =A0 =A0 =A0 =A0 =A0 =A0| Against HTML M= ail and News > > > State Changed From-To: open->closed Dan, your report is about a comment, not a real setting. As it's not about a setting, we do not see a reason to leave this PR open. For configuring loader or kernel or building your own kernel, please have a look at the handbook. Responsible Changed From-To: freebsd-bugs->vwe track |