From owner-freebsd-hackers@FreeBSD.ORG Wed Sep 1 14:38:38 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 271F51065781 for ; Wed, 1 Sep 2010 14:38:38 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from mail.ebusiness-leidinger.de (mail.ebusiness-leidinger.de [217.11.53.44]) by mx1.freebsd.org (Postfix) with ESMTP id C5DC18FC21 for ; Wed, 1 Sep 2010 14:38:37 +0000 (UTC) Received: from outgoing.leidinger.net (p57B3A486.dip.t-dialin.net [87.179.164.134]) by mail.ebusiness-leidinger.de (Postfix) with ESMTPSA id 76EA184400A; Wed, 1 Sep 2010 16:18:40 +0200 (CEST) Received: from webmail.leidinger.net (webmail.leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id 2DFB81400; Wed, 1 Sep 2010 16:18:36 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=Leidinger.net; s=outgoing-alex; t=1283350716; bh=wUvW0SUxzmnC/EGW3wc7dtTBrFM8YOCT/7xgKkyGrE8=; h=Message-ID:Date:From:To:Cc:Subject:References:In-Reply-To: MIME-Version:Content-Type:Content-Transfer-Encoding; b=TgfJarNgGcQ18FMRW68kl8n8IzXdyySaloiNfGux732Ki4VCvkQ2/K8qYzLmQ7NnW Q3nQqMHbK4PHN8SQewp2vp1zBG7Gwkx2lSfgDSvt+zWotLmwg9rUJ9n2Df7sf1ix0E 4f146ylNxi4Jm9byqzcCC9lr3brj8fTItPg2mDqBcl4PIR7gnZ+ojQb040nbHsvR4H 630FTAaAeTDXIrhtHA5tzziLfPDOulshpAQWiyvh9TyUQNI4OQT94Pg05aJL4WyqhX FWrO2oX1vvX49vKS7u0OZhDWmcHEwBaKnetO0MBbNCDgRmA6Kp4t4jSO4rCMljcDod zZ7KV7VMvTVww== Received: (from www@localhost) by webmail.leidinger.net (8.14.4/8.13.8/Submit) id o81EIZKC086351; Wed, 1 Sep 2010 16:18:35 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from pslux.ec.europa.eu (pslux.ec.europa.eu [158.169.9.14]) by webmail.leidinger.net (Horde Framework) with HTTP; Wed, 01 Sep 2010 16:18:34 +0200 Message-ID: <20100901161834.198574t14uxayygw@webmail.leidinger.net> Date: Wed, 01 Sep 2010 16:18:34 +0200 From: Alexander Leidinger To: Alexander Motin References: <4C7A5C28.1090904@FreeBSD.org> In-Reply-To: <4C7A5C28.1090904@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Dynamic Internet Messaging Program (DIMP) H3 (1.1.4) X-EBL-MailScanner-Information: Please contact the ISP for more information X-EBL-MailScanner-ID: 76EA184400A.A3C50 X-EBL-MailScanner: Found to be clean X-EBL-MailScanner-SpamCheck: not spam, spamhaus-ZEN, SpamAssassin (not cached, score=-1.1, required 6, autolearn=disabled, ALL_TRUSTED -1.00, DKIM_SIGNED 0.10, DKIM_VALID -0.10, DKIM_VALID_AU -0.10) X-EBL-MailScanner-From: alexander@leidinger.net X-EBL-MailScanner-Watermark: 1283955521.06581@R6gtFt2J/AmiNGXAxUk5hQ X-EBL-Spam-Status: No X-Mailman-Approved-At: Wed, 01 Sep 2010 15:31:32 +0000 Cc: freebsd-hackers@FreeBSD.org, FreeBSD-Current Subject: Re: One-shot-oriented event timers management X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Sep 2010 14:38:38 -0000 Quoting Alexander Motin (from Sun, 29 Aug 2010 16:10:00 +0300): > I have actively tested this code for a few days on my amd64 Core2Duo > laptop and i386 Core-i5 desktop system. With C2/C3 states enabled > systems experience only about 100-150 interrupts per second, having HZ > set to 1000. These events mostly caused by several event-greedy > processes in our tree. I have traced and hacked several most aggressive > ones in this patch: http://people.freebsd.org/~mav/tm6292_idle.patch . > It allowed me to reduce down to as low as 50 interrupts per system, > including IPIs! It looks like you are comming to a point where Powertop would be helpful. There's a dtracified version of it available at the opensolaris site (it would at least need some additional dtrace probes in our kernel). http://hub.opensolaris.org/bin/view/Project+tesla/Powertop Bye, Alexander. -- Our customers' paperwork is profit. Our own paperwork is loss. http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137