From owner-freebsd-current@FreeBSD.ORG Mon Nov 5 09:40:36 2012 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1ECD9919; Mon, 5 Nov 2012 09:40:36 +0000 (UTC) (envelope-from lists@rewt.org.uk) Received: from abby.lhr1.as41113.net (abby.lhr1.as41113.net [91.208.177.20]) by mx1.freebsd.org (Postfix) with ESMTP id D0B548FC1B; Mon, 5 Nov 2012 09:40:35 +0000 (UTC) Received: from [172.16.11.21] (bella.stf.rewt.org.uk [91.208.177.62]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by abby.lhr1.as41113.net (Postfix) with ESMTPS id 3Xw85G1D0bz13P0; Mon, 5 Nov 2012 09:40:34 +0000 (GMT) Message-ID: <5097898C.9080109@rewt.org.uk> Date: Mon, 05 Nov 2012 09:40:28 +0000 From: Joe Holden User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: Davide Italiano Subject: Re: Dynamic Ticks/HZ References: <509758B8.1000409@rewt.org.uk> <50975F6F.6010907@rewt.org.uk> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Nov 2012 09:40:36 -0000 Davide Italiano wrote: > On Nov 4, 2012 10:40 PM, "Joe Holden" wrote: >> Davide Italiano wrote: >>> On Mon, Nov 5, 2012 at 7:12 AM, Joe Holden wrote: >>>> Hi guys, >>>> >>>> Has some default changed between 9.1-RC2 and HEAD? >>>> >>>> On identical machines, one with 9.1-RC2 and one with HEAD from yesterday >>>> (GENERIC) I see the following in systat -v: >>>> >>>> 9.1: >>>> 65 cpu0:timer >>>> 10 cpu1:timer >>>> >>>> HEAD: >>>> 1127 cpu0:timer >>>> 22 cpu1:timer >>>> >>>> These are Supermicro i3 boxes and as far as I can see they have matching >>>> BIOS config. >>>> >>>> Thanks, >>>> J >>>> _______________________________________________ >>>> freebsd-current@freebsd.org mailing list >>>> http://lists.freebsd.org/mailman/listinfo/freebsd-current >>>> To unsubscribe, send any mail to " > freebsd-current-unsubscribe@freebsd.org" >>> >>> Which is your refresh rate for systat? >>> I generally measure sampling every one second (i.e. systat -vm 1). >>> Also, are you making your measurements when the system is idle? >>> In order to trace the source(s) of these interrupts you might consider >>> to collect data via KTR. >>> >> I'm also using a one second refresh rate, the system is entirely idle and > the interupt rate is almost entirely static at 1127, occasionally it will > drop to 1119. >> From what I understand the timer is hz/ticks which became dynamic in 9.0, > although that behaviour doesn't appear to be in HEAD anymore, at least on > this hardware. >> Thanks, >> J > > It should be available, AFAIK. As I can see from your previous post you get > about 20 interrupts on cpu1. This number is about 1/100 of the value you > get on a !tickless kernel. > If you provide the required ktr infos, probably someone will take a look. doh, running kernel wasn't as GENERIC as I thought it was, looks like device polling not only breaks dynamic ticks but also reduces rx ability significantly, exactly 150,000 pps per 1000hz on igb versus 650,000 without Is this a known issue? (and if device polling isn't as useful as it once was, should it be removed?)