From owner-freebsd-bugs@FreeBSD.ORG Thu May 7 08:40:05 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7CEAB10656C0 for ; Thu, 7 May 2009 08:40:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 6A8F78FC14 for ; Thu, 7 May 2009 08:40:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n478e55G036809 for ; Thu, 7 May 2009 08:40:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n478e5ep036808; Thu, 7 May 2009 08:40:05 GMT (envelope-from gnats) Date: Thu, 7 May 2009 08:40:05 GMT Message-Id: <200905070840.n478e5ep036808@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Dan Naumov Cc: Subject: Re: conf/134258: /boot/default/loader.conf contains untrue default X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Dan Naumov List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 May 2009 08:40:05 -0000 The following reply was made to PR conf/134258; it has been noted by GNATS. From: Dan Naumov To: remko@elvandar.org Cc: freebsd-gnats-submit@freebsd.org Subject: Re: conf/134258: /boot/default/loader.conf contains untrue default Date: Thu, 7 May 2009 11:07:28 +0300 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 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 > > >