From owner-freebsd-current@FreeBSD.ORG Wed Sep 1 16:09:31 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AB02B10656A4; Wed, 1 Sep 2010 16:09:31 +0000 (UTC) (envelope-from gljennjohn@googlemail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 831708FC25; Wed, 1 Sep 2010 16:09:30 +0000 (UTC) Received: by fxm4 with SMTP id 4so5660174fxm.13 for ; Wed, 01 Sep 2010 09:09:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:in-reply-to:references:reply-to:x-mailer:mime-version :content-type:content-transfer-encoding; bh=kBE+5xIKOXge18YCpdZfwEBaNbvg6pTJK4MpfnkXwNQ=; b=AErbtwGWihTQ7gzLML6JbikQqxD/hPcsUnLpkIMwMo53yYc6nJ+3IRG3QHmQOoQC66 1dVXGfaq0pyeUFbAW8iA7OEOUCXVSyVCZbv7onBUmR4rzrpncYvDEZ0ymf/nWpgJlV/g +hgbrmwH2sfiYVQHvaYUvkneO5Q+FiByIi14A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:cc:subject:message-id:in-reply-to:references:reply-to :x-mailer:mime-version:content-type:content-transfer-encoding; b=vb6+Xs+0jJDOXh5rXHwOkt4M8kRa6EaiJbLWj/r3ptlv0F6wQrPapwcRUqsXkrYyFN yZmmGd0rgHVLDm3U0VHU44Mna54ychFBNKZoz11/EuO9I90y3QXrWB7jLldJm7E+Xo67 lpm8fYeSl7bGMOGJqJgxcb+0KdQf3+gc/BPU4= Received: by 10.223.116.3 with SMTP id k3mr7197834faq.81.1283357369395; Wed, 01 Sep 2010 09:09:29 -0700 (PDT) Received: from ernst.jennejohn.org (p578E1567.dip.t-dialin.net [87.142.21.103]) by mx.google.com with ESMTPS id j14sm1750101faa.47.2010.09.01.09.09.26 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 01 Sep 2010 09:09:27 -0700 (PDT) Date: Wed, 1 Sep 2010 18:09:26 +0200 From: Gary Jennejohn To: gljennjohn@googlemail.com Message-ID: <20100901180926.4b04e2cc@ernst.jennejohn.org> In-Reply-To: <20100901141541.3e36c868@ernst.jennejohn.org> References: <4C7A5C28.1090904@FreeBSD.org> <20100830110932.23425932@ernst.jennejohn.org> <4C7B82EA.2040104@FreeBSD.org> <20100830121148.11926306@ernst.jennejohn.org> <20100831102918.4f5404cc@ernst.jennejohn.org> <4C7CC1DE.1080907@FreeBSD.org> <4C7E2E8A.3030709@FreeBSD.org> <20100901141541.3e36c868@ernst.jennejohn.org> X-Mailer: Claws Mail 3.7.6 (GTK+ 2.18.7; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org, Alexander Motin , FreeBSD-Current Subject: Re: One-shot-oriented event timers management X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: gljennjohn@googlemail.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Sep 2010 16:09:31 -0000 On Wed, 1 Sep 2010 14:15:41 +0200 Gary Jennejohn wrote: > On Wed, 01 Sep 2010 13:44:26 +0300 > Alexander Motin wrote: > > Updated patch: http://people.freebsd.org/~mav/timers_oneshot6.patch > > > > Patch also includes some optimizations to reduce lock contention. > > > > Thanks for testing. > > > > OK, I'll give it a try, althought your previous patch seems to be working > quite well. > This has changed the behavior of the HPET timers somewhat. With patch5 I was seeing approximately equal interrupt counts from hpet0 and hpet1. Now the majority of interrupts are on hpet0 by a factor of 6 to 10. Not a show stopper, just thought I'd mention it. One difference is that I didn't apply tm6292_idle.patch this time. -- Gary Jennejohn