From owner-freebsd-current@FreeBSD.ORG Mon May 11 20:08:48 2009 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 DE0EB106564A; Mon, 11 May 2009 20:08:48 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from mail-bw0-f213.google.com (mail-bw0-f213.google.com [209.85.218.213]) by mx1.freebsd.org (Postfix) with ESMTP id A79B18FC34; Mon, 11 May 2009 20:08:47 +0000 (UTC) (envelope-from onemda@gmail.com) Received: by bwz9 with SMTP id 9so2934421bwz.43 for ; Mon, 11 May 2009 13:08:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=pjduoZjO9e/tARa/LHOUOlq+GsDIVg8hnlxEfquo2J4=; b=JjjpwOhrnYn/uQZuRlqQHglZ44ozRErI8aXPsNVH7uQuOGHZHlizLTn2iSR7zktQvL kW2Cf+VVyp+0ILy2FXtk1DD+j+uFOJ4X7vK3Iyybhd8ogywqBHB/M7o3uc+x1byGvobX i49hYqgEN1yYtlaAp1L0pnFNzFl31jb6QBo5M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=wFdz7WtsskDY/OKWDi2XoCNdmajhqCLSwYrgXdKprLFebbQTIBqcSs4iBMDmUjJgJx ys2j3vgS9AtfURMwWqucGuGCxknv/icLQm+2a0l6TtcDvTwXqma3sn21TzqT6XtsDihT YtGlVhaCjixl8YAUxOtNfirkj/Fwqk3iKeTZo= MIME-Version: 1.0 Received: by 10.239.133.67 with SMTP id 3mr590274hbu.63.1242072526309; Mon, 11 May 2009 13:08:46 -0700 (PDT) In-Reply-To: <4A081868.6010906@FreeBSD.org> References: <49FE1826.4060000@FreeBSD.org> <4A07BC4D.7080604@freebsd.org> <4A081868.6010906@FreeBSD.org> Date: Mon, 11 May 2009 22:08:46 +0200 Message-ID: <3a142e750905111308o62a11c8em5465ea9aa1cfaebc@mail.gmail.com> From: "Paul B. Mahol" To: Alexander Motin Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: FreeBSD acpi , Tim Kientzle , freebsd-mobile@freebsd.org, FreeBSD-Current Subject: Re: Fighting for the power. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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, 11 May 2009 20:08:51 -0000 On 5/11/09, Alexander Motin wrote: > Tim Kientzle wrote: >> I started to try the "hint.apic.0.clock", but noticed >> in your commit r191720: >> Alexander Motin wrote: >>> Add hint.apic.0.clock tunable. Setting it 0 disables using >>> LAPIC timers as hard-/stat-/profclock sources falling back >>> to using i8254 and rtc timers. >>> ... >>> This technique is not working for SMP yet, as only one CPU >>> receives timer interrupts. But I think that problem could >>> be fixed by forwarding interrupts to other CPUs with IPI. >> >> Is anyone looking at this yet? > > I have implemented SMP support for i386 and amd64 in some of my later > commits. And all those hacks helps verry little in my case, most gain I get when laptop monitor is switched off. Even switching hard disk off improves battery life very little. interrupt total rate irq1: atkbd0 5206 3 irq0: clk 156008 99 irq9: acpi0 1152 0 irq12: psm0 16092 10 irq14: ata0 6587 4 irq15: ata1 1 0 irq17: ndis0 28646 18 irq256: hdac0 18 0 Total 213710 136 -- Paul