From owner-svn-src-head@FreeBSD.ORG Sun Nov 16 21:46:54 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6915B66A; Sun, 16 Nov 2014 21:46:54 +0000 (UTC) Received: from mail-wi0-x22e.google.com (mail-wi0-x22e.google.com [IPv6:2a00:1450:400c:c05::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0D145DAE; Sun, 16 Nov 2014 21:46:54 +0000 (UTC) Received: by mail-wi0-f174.google.com with SMTP id h11so4014376wiw.1 for ; Sun, 16 Nov 2014 13:46:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=sz1YznBWxlhN7YE3i/TWkQ//vymTHcWK2tQMlAXcWaQ=; b=xosIKVz5X3i3ejIqXNEPG1tXXH3UlcAyVxktbmE4ZIeZ4v7D4/H78dUCO+oOoL3zF7 ZgNn/uLRW2XnhRRrOr6KhSlSLOOQb6khFPYYM2DQrWx+EsZeVhHRi1/iWmWcrmoPNPNq zoYyNaUmEIGfTvkA0rlQ6SAcbYPPY+qW0PfVU4znxXBbalpxoW05JMuXS2eAspZ3hb4k D0oTgC1mYFcuYVJcty34hV7655ZPObuqffifz9EOV5nvskjuh/uqVcgojdubFJo6cO0M onzgbrWJ3eVCAbBZFM1w0zlCeoJ30KtruqWuED6eqWbYIXr3+M7SgMlehgBvc1Lu9Q/O ACAg== MIME-Version: 1.0 X-Received: by 10.194.248.195 with SMTP id yo3mr32698209wjc.60.1416174412493; Sun, 16 Nov 2014 13:46:52 -0800 (PST) Received: by 10.27.179.168 with HTTP; Sun, 16 Nov 2014 13:46:52 -0800 (PST) In-Reply-To: <201411160944.sAG9iUTJ084769@svn.freebsd.org> References: <201411160944.sAG9iUTJ084769@svn.freebsd.org> Date: Sun, 16 Nov 2014 16:46:52 -0500 Message-ID: Subject: Re: svn commit: r274583 - head/usr.sbin/watchdogd From: Benjamin Kaduk To: Xin LI Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: "svn-src-head@freebsd.org" , "svn-src-all@freebsd.org" , "src-committers@freebsd.org" X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Nov 2014 21:46:54 -0000 On Sun, Nov 16, 2014 at 4:44 AM, Xin LI 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