Date: Sun, 16 Nov 2014 16:46:52 -0500 From: Benjamin Kaduk <bjkfbsd@gmail.com> To: Xin LI <delphij@freebsd.org> Cc: "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, "src-committers@freebsd.org" <src-committers@freebsd.org> Subject: Re: svn commit: r274583 - head/usr.sbin/watchdogd Message-ID: <CAJ5_RoDrAG2RRnZy1HFfnJXpsa1B0Q028P1J57wbDsGfZYNYzg@mail.gmail.com> In-Reply-To: <201411160944.sAG9iUTJ084769@svn.freebsd.org> References: <201411160944.sAG9iUTJ084769@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Nov 16, 2014 at 4:44 AM, Xin LI <delphij@freebsd.org> wrote: > Author: delphij > Date: Sun Nov 16 09:44:30 2014 > New Revision: 274583 > URL: https://svnweb.freebsd.org/changeset/base/274583 > > Log: > Default to use 10 seconds as nap interval instead of 1. > > Previously, we have a nap interval of 1 second while we have a timeout of > 128 seconds by default, which could be an overkill, and for some hardware > the patting action may be expensive. > > Note that the choice of nap interval is still arbitrary. We preferred > a safe value where even when the system is very heavily loaded, the > watchdog should not shoot the system down if it's not really hung. > According to the manual page of Linux's watchdog daemon, the nap interval > time of theirs is 10 seconds, which seems to be a reasonable value -- > according to Intel documentation AP-725 (Document Number: 292273-001), > ICH5's maximum timeout is about 37.5 seconds, which the ichwd(4) driver > would set when we requested 128 seconds (although it should probably > feed back this as an error and do not set the timeout). Since that's > the shortest maximum value, 10 seconds seems to be a right choice for > us too. > > Discussed with: alfred > MFC after: 1 month > relnotes: yes? -Ben
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ5_RoDrAG2RRnZy1HFfnJXpsa1B0Q028P1J57wbDsGfZYNYzg>