From owner-freebsd-current@FreeBSD.ORG Wed Sep 1 10:05:38 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 D29CE10656CB; Wed, 1 Sep 2010 10:05:38 +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 A56118FC13; Wed, 1 Sep 2010 10:05:37 +0000 (UTC) Received: by fxm4 with SMTP id 4so5337872fxm.13 for ; Wed, 01 Sep 2010 03:05:36 -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=P+kVzRLLgWTD8JVula6zYpbNd8ehlXyfrEKCcHpNimk=; b=lFuzOOK2iMYF+Vur9+vTkVlkfbQ+sWOeVUx5jGC3tTmcaqIWfE4vfMWlrP3QK3phwQ EVvybzFTDYdgk//h6lWFT3CR+pegIcUUf8hRsYYJqS/sz/SVWWJndBRb6CANhpIe5amX 19lWN1uZbxqjCOh736ju/F1MJro6almOQ/ODI= 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=wAkTOT6QaTeJIo9inex/mKRXkQy5UOwi5P1E3feZXBTrbFS9dwDeACyv11kDTijgK5 vpQVHRoW8puFi85zOZ17asPbRP16kQ0CA/j2BuT12lGRSErlHq3gOMrWgJ65Ziwa4MaV ntUALWI/wsdCJGIJU72JINOOWYFZMbBL7KyLE= Received: by 10.223.119.10 with SMTP id x10mr6736240faq.1.1283335536777; Wed, 01 Sep 2010 03:05:36 -0700 (PDT) Received: from ernst.jennejohn.org (p578E1567.dip.t-dialin.net [87.142.21.103]) by mx.google.com with ESMTPS id 14sm4494278fav.2.2010.09.01.03.05.35 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 01 Sep 2010 03:05:36 -0700 (PDT) Date: Wed, 1 Sep 2010 12:05:34 +0200 From: Gary Jennejohn To: Alexander Motin Message-ID: <20100901120534.1eb3db9b@ernst.jennejohn.org> In-Reply-To: <4C7D73C8.5050205@FreeBSD.org> References: <4C7A5C28.1090904@FreeBSD.org> <20100830110932.23425932@ernst.jennejohn.org> <4C7B82EA.2040104@FreeBSD.org> <20100830121148.11926306@ernst.jennejohn.org> <4C7D73C8.5050205@FreeBSD.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, 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 10:05:43 -0000 On Wed, 01 Sep 2010 00:27:36 +0300 Alexander Motin wrote: > Gary Jennejohn wrote: > > On Mon, 30 Aug 2010 13:07:38 +0300 > > Alexander Motin wrote: > >> Yes, as I have said, at this moment empty ticks skipped only while CPU > >> is in C2/C3 states. In C1 state there is no way to handle lost events on > >> wake up. While it may be not very dangerous, it is not very good. > >> > > Too bad. I'd say that systems which are limited to C1 don't benefit > > much (or not at all) from your changes. > > I've solved it! :) > Yup, this definitely reduces the number of inerrupts on my C1-only system :) Now I'm seeing on the order of 100 to 200 interrupts/s instead of around 2300. I'll run this new kernel some more and see how stable it is. Thanks, mav! -- Gary Jennejohn