Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 May 2009 22:08:46 +0200
From:      "Paul B. Mahol" <onemda@gmail.com>
To:        Alexander Motin <mav@freebsd.org>
Cc:        FreeBSD acpi <freebsd-acpi@freebsd.org>, Tim Kientzle <kientzle@freebsd.org>, freebsd-mobile@freebsd.org, FreeBSD-Current <freebsd-current@freebsd.org>
Subject:   Re: Fighting for the power.
Message-ID:  <3a142e750905111308o62a11c8em5465ea9aa1cfaebc@mail.gmail.com>
In-Reply-To: <4A081868.6010906@FreeBSD.org>
References:  <49FE1826.4060000@FreeBSD.org> <4A07BC4D.7080604@freebsd.org> <4A081868.6010906@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 5/11/09, Alexander Motin <mav@freebsd.org> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3a142e750905111308o62a11c8em5465ea9aa1cfaebc>