From owner-freebsd-acpi@FreeBSD.ORG Mon Nov 10 11:06:46 2008 Return-Path: Delivered-To: freebsd-acpi@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EAC0A106568F for ; Mon, 10 Nov 2008 11:06:45 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D18A88FC2D for ; Mon, 10 Nov 2008 11:06:45 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id mAAB6jpT049619 for ; Mon, 10 Nov 2008 11:06:45 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id mAAB6j0M049615 for freebsd-acpi@FreeBSD.org; Mon, 10 Nov 2008 11:06:45 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 10 Nov 2008 11:06:45 GMT Message-Id: <200811101106.mAAB6j0M049615@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-acpi@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-acpi@FreeBSD.org X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Nov 2008 11:06:46 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/128639 acpi [PATCH] [acpi_asus] acpi for ASUS A6F,A3E,A3F,A3N not f kern/128634 acpi [patch] fix acpi_asus(4) in asus a6f laptop o kern/127581 acpi [patch] [acpi_sony] Add support for more Sony features o kern/124744 acpi [acpi] [patch] incorrect _BST result validation for To o kern/124412 acpi [acpi] power off error on Toshiba M40 laptop o kern/123039 acpi [acpi] ACPI AML_BUFFER_LIMIT errors during boot o kern/121504 acpi [patch] Correctly set hw.acpi.osname on certain machin f kern/121454 acpi [pst] Promise SuperTrak SX6000 does not load during bo o kern/121102 acpi [acpi_fujitsu] [patch] update acpi_fujitsu for the P80 o kern/120515 acpi [acpi] [patch] acpi_alloc_wakeup_handler: can't alloc o kern/119356 acpi [acpi]: i386 ACPI wakeup not work due resource exhaust o kern/119200 acpi [acpi] Lid close switch suspends CPU for 1 second on H o kern/118973 acpi [acpi]: Kernel panic with acpi boot o kern/117605 acpi [acpi] [request] add debug.cpufreq.highest o kern/116939 acpi [acpi] PCI-to-PCI misconfigured for bus three and can o i386/114562 acpi [acpi] cardbus is dead after s3 on Thinkpad T43 with a o kern/114165 acpi [acpi] Dell C810 - ACPI problem s kern/112544 acpi [acpi] [patch] Add High Precision Event Timer Driver f o kern/108954 acpi [acpi] 'sleep(1)' sleeps >1 seconds when speedstep (Cx o kern/108695 acpi [acpi]: Fatal trap 9: general protection fault when in o kern/108581 acpi [sysctl] sysctl: hw.acpi.cpu.cx_lowest: Invalid argume o kern/108488 acpi [acpi] ACPI-1304: *** Error: Method execution failed o kern/108017 acpi [acpi]: Acer Aspire 5600 o kern/106924 acpi [acpi] ACPI resume returns g_vfs_done() errors and ker o kern/105537 acpi [acpi] problems in acpi on HP Compaq nc6320 o kern/104625 acpi ACPI on ASUS A8N-32 SLI/ASUS P4P800 does not show ther o kern/102252 acpi acpi thermal does not work on Abit AW8D (intel 975) o kern/97383 acpi Volume buttons on IBM Thinkpad crash system with ACPI s i386/91748 acpi acpi problem on Acer TravelMare 4652LMi (nvidia panic, s kern/91038 acpi [panic] [ata] [acpi] 6.0-RELEASE on Fujitsu Siemens Am s kern/90243 acpi Laptop fan doesn't turn off (ACPI enabled) (Packard Be o kern/89411 acpi [acpi] acpiconf bug o i386/83018 acpi [install] Installer will not boot on Asus P4S8X BIOS 1 o kern/81000 acpi [apic] Via 8235 sound card worked great with FreeBSD 5 o i386/79081 acpi ACPI suspend/resume not working on HP nx6110 o kern/76950 acpi ACPI wrongly blacklisted on Micron ClientPro 766Xi sys s kern/73823 acpi [request] acpi / power-on by timer support o i386/72566 acpi ACPI, FreeBSD disables fan on Compaq Armada 1750 o i386/69750 acpi Boot without ACPI failed on ASUS L5 f kern/67309 acpi zzz reboot computer (ACPI S3) o kern/56024 acpi ACPI suspend drains battery while in S3 o i386/55661 acpi ACPI suspend/resume problem on ARMADA M700 o i386/54756 acpi ACPI suspend/resume problem on CF-W2 laptop 43 problems total. From owner-freebsd-acpi@FreeBSD.ORG Mon Nov 10 16:28:02 2008 Return-Path: Delivered-To: freebsd-acpi@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 060F0106567F; Mon, 10 Nov 2008 16:28:02 +0000 (UTC) (envelope-from nate@root.org) Received: from nlpi025.prodigy.net (nlpi025.sbcis.sbc.com [207.115.36.54]) by mx1.freebsd.org (Postfix) with ESMTP id C9D178FC13; Mon, 10 Nov 2008 16:28:01 +0000 (UTC) (envelope-from nate@root.org) Received: from [10.0.5.18] (ppp-71-139-3-53.dsl.snfc21.pacbell.net [71.139.3.53]) (authenticated bits=0) by nlpi025.prodigy.net (8.13.8 smtpauth/dk/8.13.8) with ESMTP id mAAGRxZ4008929; Mon, 10 Nov 2008 10:28:00 -0600 Message-ID: <49186111.9020103@root.org> Date: Mon, 10 Nov 2008 08:28:01 -0800 From: Nate Lawson User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Alexander Motin References: <491404BF.1090807@FreeBSD.org> In-Reply-To: <491404BF.1090807@FreeBSD.org> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit Cc: FreeBSD acpi Subject: Re: RFC: powerd algorithms enhancements X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Nov 2008 16:28:02 -0000 Alexander Motin wrote: > The discussion of this is going on mobile@: > > -------- Original Message -------- > Subject: RFC: powerd algorithms enhancements > Date: Wed, 05 Nov 2008 22:57:55 +0200 > From: Alexander Motin > To: freebsd-mobile@FreeBSD.org > > Hi. > > I would like to propose the patch for powerd that fixes some issues, > makes it more universal and on my opinion more usable. The main ideas of > mine were: I have not yet reviewed the patch but have some comments. > 1. To make it more SMP polite. Previous version uses average CPU load > that leads to the often load underestimation. It make powerd with > default configuration unusable on systems with more then 2 CPUs. I > propose to use summary load instead of average one. IMO this is the best > we can do without specially tuned scheduler. Also as soon as measuring > total load on SMP systems is more useful then total idle, I have > switched to it. Ok. > 2. To make powerd's operation independent from number and size of > frequency levels I have added internal frequency counter which > translated into real frequencies only on a last stage and only as good > as gone. Some systems may have only several power levels, while mine has > 17 of them, so adaptation time in completely different. It would be good > if algorithm was not depending on it. I don't understand the advantage of this. > 3. As part of previous I have changed adaptive mode to rise frequency on > demand up to 2 times and fall on 1/8 per time internal. > > 4. For desktop (AC-powered) systems I have added one more mode - > "hiadaptive". It rises frequency twice faster, drops it 4 times slower, > prefers twice lower CPU load and has additional delay before leaving the > highest frequency after the period of maximum load. This mode was > specially made to improve interactivity of the systems where operation > capabilities are more significant then power consumption, but keeping > maximum frequency all the time is not needed. > > 5. I have reduced polling interval from 1/2 to 1/4 of second. It is not > important for algorithm math now, but gives better system interactivity. There's a patch Cyrille Szymanski has sent me to review that implements the FLAT and PAST algorithms in powerd. I think we should not add new modes that are heuristics (including this one) until we have a chance to compare it to algorithms that have been the result of real research. I'll try to get Cyrille to send out an amended patch for public review. -- Nate From owner-freebsd-acpi@FreeBSD.ORG Mon Nov 10 20:36:46 2008 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3418B1065962 for ; Mon, 10 Nov 2008 20:36:46 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from cmail.optima.ua (cmail.optima.ua [195.248.191.121]) by mx1.freebsd.org (Postfix) with ESMTP id AF4A38FC16 for ; Mon, 10 Nov 2008 20:36:45 +0000 (UTC) (envelope-from mav@FreeBSD.org) X-Spam-Flag: SKIP X-Spam-Yversion: Spamooborona-2.1.0 Received: from [77.52.118.234] (account mav@alkar.net HELO mavbook.mavhome.dp.ua) by cmail.optima.ua (CommuniGate Pro SMTP 5.2.9) with ESMTPSA id 227514485; Mon, 10 Nov 2008 22:36:43 +0200 Message-ID: <49189B47.7090509@FreeBSD.org> Date: Mon, 10 Nov 2008 22:36:23 +0200 From: Alexander Motin User-Agent: Thunderbird 2.0.0.17 (X11/20081029) MIME-Version: 1.0 To: Nate Lawson References: <491404BF.1090807@FreeBSD.org> <49186111.9020103@root.org> In-Reply-To: <49186111.9020103@root.org> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD acpi Subject: Re: RFC: powerd algorithms enhancements X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Nov 2008 20:36:46 -0000 Nate Lawson wrote: > Alexander Motin wrote: >> 2. To make powerd's operation independent from number and size of >> frequency levels I have added internal frequency counter which >> translated into real frequencies only on a last stage and only as good >> as gone. Some systems may have only several power levels, while mine has >> 17 of them, so adaptation time in completely different. It would be good >> if algorithm was not depending on it. > > I don't understand the advantage of this. Universality and predictiveness. Systems with 2 and with 32 levels will drop/rise frequency with same absolute rate. If we are trying to speak about some comparing, algorithm should be hardware independent. > There's a patch Cyrille Szymanski has sent me to review that implements > the FLAT and PAST algorithms in powerd. I think we should not add new > modes that are heuristics (including this one) until we have a chance to > compare it to algorithms that have been the result of real research. So show it to us. This area is heuristic by default as there is several opposite criteriums, so any algorithm will be heuristic. -- Alexander Motin From owner-freebsd-acpi@FreeBSD.ORG Tue Nov 11 00:19:23 2008 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1F5461065679 for ; Tue, 11 Nov 2008 00:19:23 +0000 (UTC) (envelope-from matheusber@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.27]) by mx1.freebsd.org (Postfix) with ESMTP id C404F8FC25 for ; Tue, 11 Nov 2008 00:19:22 +0000 (UTC) (envelope-from matheusber@gmail.com) Received: by qw-out-2122.google.com with SMTP id 9so1757859qwb.7 for ; Mon, 10 Nov 2008 16:19:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:received:message-id :in-reply-to:references:date:subject:from:to:reply-to:user-agent :mime-version:content-type:content-transfer-encoding:x-priority :importance; bh=56PomdUkntJWklyUyaAopr7m6tApKqf8Q1wwhPVVEhw=; b=RUji0R9EvpTpO4qygXWABsSMa1WwCyzEHquL2l3/wRvjaQERlVWP1I18yMMOYYuJV0 F1vaWGMgLIL+NnKFEsWtUUxG+e+MiFKIqUoUwbRKqJtkZfdqJhYZcTeq48LDHz4HvBKi Lbvw5gL1vyDi2k52A4tLkkkT79gqnvfd5dJbQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:in-reply-to:references:date:subject:from:to:reply-to :user-agent:mime-version:content-type:content-transfer-encoding :x-priority:importance; b=x8Xr95LR6mpCwhg7Ew9jSrpf7q9aTzANlZDYKxW0VMPIbJgZ0+u8bBw6xNxkkdnqGJ 5a68mPdfW7MEojcTmiF/FdGxYFX33vG3aUrnIH/YkzrNe21nrzA4tBcWpUuOgsnJsqUy bYU5BWQS2db372FTfxPPAhaRLzSrkv38sBRns= Received: by 10.214.113.15 with SMTP id l15mr7489713qac.177.1226360898140; Mon, 10 Nov 2008 15:48:18 -0800 (PST) Received: from cygnus.homeunix.com ([189.71.66.56]) by mx.google.com with ESMTPS id 9sm10241224yws.5.2008.11.10.15.48.15 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 10 Nov 2008 15:48:17 -0800 (PST) Received: by cygnus.homeunix.com (Postfix, from userid 80) id 72F61B834F; Mon, 10 Nov 2008 20:48:10 -0300 (BRT) Received: from 10.1.1.80 (SquirrelMail authenticated user matheus) by 10.1.1.10 with HTTP; Mon, 10 Nov 2008 21:48:10 -0200 (BRST) Message-ID: In-Reply-To: <49186111.9020103@root.org> References: <491404BF.1090807@FreeBSD.org> <49186111.9020103@root.org> Date: Mon, 10 Nov 2008 21:48:10 -0200 (BRST) From: "Nenhum_de_Nos" To: freebsd-acpi@freebsd.org User-Agent: SquirrelMail/1.4.15 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: Re: RFC: powerd algorithms enhancements X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: matheus@eternamente.info List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Nov 2008 00:19:23 -0000 as all you are talking about the subject, and I read all messages, is there any module to load and make my AthlonXP 1700+ use less power ? running 7-STABLE, just a file server. any acpi-stuff I could enable would be great, as I just use all its power when compiling ... thanks, matheus -- We will call you cygnus, The God of balance you shall be From owner-freebsd-acpi@FreeBSD.ORG Tue Nov 11 01:04:03 2008 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9366A1065680 for ; Tue, 11 Nov 2008 01:04:03 +0000 (UTC) (envelope-from spawk@acm.poly.edu) Received: from acm.poly.edu (acm.poly.edu [128.238.9.200]) by mx1.freebsd.org (Postfix) with ESMTP id 368648FC1C for ; Tue, 11 Nov 2008 01:04:02 +0000 (UTC) (envelope-from spawk@acm.poly.edu) Received: (qmail 37942 invoked from network); 11 Nov 2008 00:37:24 -0000 Received: from unknown (HELO ?192.168.0.2?) (spawk@69.123.45.64) by acm.poly.edu with AES256-SHA encrypted SMTP; 11 Nov 2008 00:37:24 -0000 Message-ID: <4918D3B3.1080305@acm.poly.edu> Date: Mon, 10 Nov 2008 19:37:07 -0500 From: Boris Kochergin User-Agent: Thunderbird 2.0.0.16 (X11/20080727) MIME-Version: 1.0 To: matheus@eternamente.info References: <491404BF.1090807@FreeBSD.org> <49186111.9020103@root.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@freebsd.org Subject: Re: RFC: powerd algorithms enhancements X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Nov 2008 01:04:03 -0000 Nenhum_de_Nos wrote: > as all you are talking about the subject, and I read all messages, is > there any module to load and make my AthlonXP 1700+ use less power ? > > running 7-STABLE, just a file server. any acpi-stuff I could enable would > be great, as I just use all its power when compiling ... > > thanks, > > matheus > That CPU is not listed as having PowerNow! support. You may be able to set it to permanently run at a lower frequency in your system's BIOS. -Boris From owner-freebsd-acpi@FreeBSD.ORG Tue Nov 11 05:50:02 2008 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3D1F31065686 for ; Tue, 11 Nov 2008 05:50:02 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [220.233.188.227]) by mx1.freebsd.org (Postfix) with ESMTP id 9BF3C8FC1E for ; Tue, 11 Nov 2008 05:50:01 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id mAB5KUnj008760; Tue, 11 Nov 2008 16:20:31 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Tue, 11 Nov 2008 16:20:30 +1100 (EST) From: Ian Smith To: matheus@eternamente.info In-Reply-To: Message-ID: <20081111161549.U70117@sola.nimnet.asn.au> References: <491404BF.1090807@FreeBSD.org> <49186111.9020103@root.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-acpi@freebsd.org Subject: Re: RFC: powerd algorithms enhancements X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Nov 2008 05:50:02 -0000 On Mon, 10 Nov 2008, Nenhum_de_Nos wrote: > as all you are talking about the subject, and I read all messages, is > there any module to load and make my AthlonXP 1700+ use less power ? > > running 7-STABLE, just a file server. any acpi-stuff I could enable would > be great, as I just use all its power when compiling ... What does 'sysctl hw.acpi dev.cpu' have to say? cheers, Ian From owner-freebsd-acpi@FreeBSD.ORG Tue Nov 11 17:56:12 2008 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 85401106567A for ; Tue, 11 Nov 2008 17:56:12 +0000 (UTC) (envelope-from matheusber@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.247]) by mx1.freebsd.org (Postfix) with ESMTP id 316D08FC0A for ; Tue, 11 Nov 2008 17:56:11 +0000 (UTC) (envelope-from matheusber@gmail.com) Received: by an-out-0708.google.com with SMTP id b6so3920ana.13 for ; Tue, 11 Nov 2008 09:56:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:received:message-id :in-reply-to:references:date:subject:from:to:user-agent:mime-version :content-type:content-transfer-encoding:x-priority:importance:sender; bh=QlxmD+haCvHmP2gg4iNYykBREkU8DEv2ZzcQ7tzgYZw=; b=rsDpHMInffSW11J5vpCHpxGJ0Em8J3YmsfsKFLmBAWOnJT4FJuir/i6zPYBDpcv6Q7 nGbje/5KycojLLdUlSAxZiRPYOJmrvzgF1HAQsHwbCDheI41wgSEnXAADQGi4rmKl5ra d4xTxnyerzAboS84EzHD2oMISf8p3NjJJ6IMM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:in-reply-to:references:date:subject:from:to:user-agent :mime-version:content-type:content-transfer-encoding:x-priority :importance:sender; b=EiJro2AhVC3rQRLmGKzFKI6jNfBaLX9+YtTbNYVIWmX8AjTsvSIJMIZitO9gLNSozv bWpVyzVrxH5oFGaNQgtJ1oweyHa2MBBK4uYL8FogtpO7+Ql6A4FiVYHqgHxqow/mqmmc UPsPq3lUC/5V7pgmS6kzR16PymzH6cwc9SlMw= Received: by 10.100.135.16 with SMTP id i16mr3241453and.99.1226426170999; Tue, 11 Nov 2008 09:56:10 -0800 (PST) Received: from cygnus.homeunix.com ([189.71.66.56]) by mx.google.com with ESMTPS id 5sm11184020ywl.4.2008.11.11.09.56.08 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 11 Nov 2008 09:56:09 -0800 (PST) Received: by cygnus.homeunix.com (Postfix, from userid 80) id DB01FB834F; Tue, 11 Nov 2008 14:56:03 -0300 (BRT) Received: from 189.92.56.9 (SquirrelMail authenticated user matheus) by cygnus.homeunix.com with HTTP; Tue, 11 Nov 2008 15:56:03 -0200 (BRST) Message-ID: <7d13c992592d1976010179b40b26c057.squirrel@cygnus.homeunix.com> In-Reply-To: <20081111161549.U70117@sola.nimnet.asn.au> References: <491404BF.1090807@FreeBSD.org> <49186111.9020103@root.org> <20081111161549.U70117@sola.nimnet.asn.au> Date: Tue, 11 Nov 2008 15:56:03 -0200 (BRST) From: "Nenhum_de_Nos" To: freebsd-acpi@freebsd.org User-Agent: SquirrelMail/1.4.15 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Sender: Nenhum_de_Nos Subject: Re: RFC: powerd algorithms enhancements X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Nov 2008 17:56:12 -0000 On Tue, November 11, 2008 3:20 am, Ian Smith wrote: > On Mon, 10 Nov 2008, Nenhum_de_Nos wrote: > > as all you are talking about the subject, and I read all messages, is > > there any module to load and make my AthlonXP 1700+ use less power ? > > > > running 7-STABLE, just a file server. any acpi-stuff I could enable > would > > be great, as I just use all its power when compiling ... > > What does 'sysctl hw.acpi dev.cpu' have to say? [root@xxx ~]# sysctl hw.acpi hw.acpi.supported_sleep_state: S1 S4 S5 hw.acpi.power_button_state: S5 hw.acpi.sleep_button_state: S1 hw.acpi.lid_switch_state: NONE hw.acpi.standby_state: S1 hw.acpi.suspend_state: S3 hw.acpi.sleep_delay: 1 hw.acpi.s4bios: 1 hw.acpi.verbose: 0 hw.acpi.disable_on_reboot: 0 hw.acpi.handle_reboot: 0 hw.acpi.reset_video: 0 hw.acpi.thermal.min_runtime: 0 hw.acpi.thermal.polling_rate: 10 hw.acpi.thermal.user_override: 0 hw.acpi.thermal.tz0.temperature: 43.0C hw.acpi.thermal.tz0.active: -1 hw.acpi.thermal.tz0.passive_cooling: 1 hw.acpi.thermal.tz0.thermal_flags: 0 hw.acpi.thermal.tz0._PSV: 66.0C hw.acpi.thermal.tz0._HOT: -1 hw.acpi.thermal.tz0._CRT: 70.0C hw.acpi.thermal.tz0._ACx: 66.0C -1 -1 -1 -1 -1 -1 -1 -1 -1 hw.acpi.thermal.tz0._TC1: 4 hw.acpi.thermal.tz0._TC2: 3 hw.acpi.thermal.tz0._TSP: 60 hw.acpi.cpu.cx_lowest: C1 [root@xxx ~]# sysctl dev.cpu dev.cpu.0.%desc: ACPI CPU dev.cpu.0.%driver: cpu dev.cpu.0.%location: handle=\_PR_.CPU0 dev.cpu.0.%pnpinfo: _HID=none _UID=0 dev.cpu.0.%parent: acpi0 dev.cpu.0.cx_supported: C1/0 C2/90 C3/900 dev.cpu.0.cx_lowest: C1 dev.cpu.0.cx_usage: 100.00% 0.00% 0.00% [root@xxx ~]# if it rings any bells :) I really forgot the option of lowering the freq the cpu works. but this (as said in this thread) must come together with cpu vcc lowering ... Am I wrong ? and as I remembered I have an imap server and squirrelmail in it (that was slow on a PII 333MHz), I think that changing cpu freq would be great (unfortunatelly impossible as said) well, anything to make it draw less power :) thanks to you all, matheus -- We will call you cygnus, The God of balance you shall be From owner-freebsd-acpi@FreeBSD.ORG Tue Nov 11 17:57:09 2008 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0656C106568F for ; Tue, 11 Nov 2008 17:57:09 +0000 (UTC) (envelope-from matheusber@gmail.com) Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.28]) by mx1.freebsd.org (Postfix) with ESMTP id B20D28FC14 for ; Tue, 11 Nov 2008 17:57:08 +0000 (UTC) (envelope-from matheusber@gmail.com) Received: by yx-out-2324.google.com with SMTP id 8so3969yxb.13 for ; Tue, 11 Nov 2008 09:57:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:received:message-id :in-reply-to:references:date:subject:from:to:reply-to:user-agent :mime-version:content-type:content-transfer-encoding:x-priority :importance:sender; bh=QlxmD+haCvHmP2gg4iNYykBREkU8DEv2ZzcQ7tzgYZw=; b=cD+rdOoyymbKoom0y1RLSjJzySm9kLFcUcs9okApASbIggIDPdbVnXZlMmGk5x2tkI 7KY3kr6WZ7DcL4qIBqwglLlCOQWQVIQtlidZxFJgPzgQgxl0r7sh/rAgbQ5ma+zFFPxv oIuE+/x67LiXXq9m0c2dRkzmRcRuf7IAMCbOY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:in-reply-to:references:date:subject:from:to:reply-to :user-agent:mime-version:content-type:content-transfer-encoding :x-priority:importance:sender; b=WHJllas0GfznvjdAXzXYeFv4LXmsjaSaiYrJV0wPVwBxUbcgr3tOKV29uuDJjDxBeI 9DeH8pc8ySatYV3SCBE/fc0MxcWEw4NUGl/+TPuN3wHUS9CYW36X6mo8RtDnJqOPor6k Nsz6z8zR2X9swsZUdqQlgOzX8lxwiKTXKFBYY= Received: by 10.100.105.13 with SMTP id d13mr3240809anc.102.1226426227952; Tue, 11 Nov 2008 09:57:07 -0800 (PST) Received: from cygnus.homeunix.com ([189.71.66.56]) by mx.google.com with ESMTPS id 8sm11219509ywg.6.2008.11.11.09.57.05 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 11 Nov 2008 09:57:07 -0800 (PST) Received: by cygnus.homeunix.com (Postfix, from userid 80) id 725BBB834F; Tue, 11 Nov 2008 14:57:01 -0300 (BRT) Received: from 189.92.56.9 (SquirrelMail authenticated user matheus) by cygnus.homeunix.com with HTTP; Tue, 11 Nov 2008 15:57:01 -0200 (BRST) Message-ID: In-Reply-To: <20081111161549.U70117@sola.nimnet.asn.au> References: <491404BF.1090807@FreeBSD.org> <49186111.9020103@root.org> <20081111161549.U70117@sola.nimnet.asn.au> Date: Tue, 11 Nov 2008 15:57:01 -0200 (BRST) From: "Nenhum_de_Nos" To: freebsd-acpi@freebsd.org User-Agent: SquirrelMail/1.4.15 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Sender: Nenhum_de_Nos Subject: Re: RFC: powerd algorithms enhancements X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: matheusber@gmail.com List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Nov 2008 17:57:09 -0000 On Tue, November 11, 2008 3:20 am, Ian Smith wrote: > On Mon, 10 Nov 2008, Nenhum_de_Nos wrote: > > as all you are talking about the subject, and I read all messages, is > > there any module to load and make my AthlonXP 1700+ use less power ? > > > > running 7-STABLE, just a file server. any acpi-stuff I could enable > would > > be great, as I just use all its power when compiling ... > > What does 'sysctl hw.acpi dev.cpu' have to say? [root@xxx ~]# sysctl hw.acpi hw.acpi.supported_sleep_state: S1 S4 S5 hw.acpi.power_button_state: S5 hw.acpi.sleep_button_state: S1 hw.acpi.lid_switch_state: NONE hw.acpi.standby_state: S1 hw.acpi.suspend_state: S3 hw.acpi.sleep_delay: 1 hw.acpi.s4bios: 1 hw.acpi.verbose: 0 hw.acpi.disable_on_reboot: 0 hw.acpi.handle_reboot: 0 hw.acpi.reset_video: 0 hw.acpi.thermal.min_runtime: 0 hw.acpi.thermal.polling_rate: 10 hw.acpi.thermal.user_override: 0 hw.acpi.thermal.tz0.temperature: 43.0C hw.acpi.thermal.tz0.active: -1 hw.acpi.thermal.tz0.passive_cooling: 1 hw.acpi.thermal.tz0.thermal_flags: 0 hw.acpi.thermal.tz0._PSV: 66.0C hw.acpi.thermal.tz0._HOT: -1 hw.acpi.thermal.tz0._CRT: 70.0C hw.acpi.thermal.tz0._ACx: 66.0C -1 -1 -1 -1 -1 -1 -1 -1 -1 hw.acpi.thermal.tz0._TC1: 4 hw.acpi.thermal.tz0._TC2: 3 hw.acpi.thermal.tz0._TSP: 60 hw.acpi.cpu.cx_lowest: C1 [root@xxx ~]# sysctl dev.cpu dev.cpu.0.%desc: ACPI CPU dev.cpu.0.%driver: cpu dev.cpu.0.%location: handle=\_PR_.CPU0 dev.cpu.0.%pnpinfo: _HID=none _UID=0 dev.cpu.0.%parent: acpi0 dev.cpu.0.cx_supported: C1/0 C2/90 C3/900 dev.cpu.0.cx_lowest: C1 dev.cpu.0.cx_usage: 100.00% 0.00% 0.00% [root@xxx ~]# if it rings any bells :) I really forgot the option of lowering the freq the cpu works. but this (as said in this thread) must come together with cpu vcc lowering ... Am I wrong ? and as I remembered I have an imap server and squirrelmail in it (that was slow on a PII 333MHz), I think that changing cpu freq would be great (unfortunatelly impossible as said) well, anything to make it draw less power :) thanks to you all, matheus -- We will call you cygnus, The God of balance you shall be From owner-freebsd-acpi@FreeBSD.ORG Wed Nov 12 00:30:42 2008 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 480471065674 for ; Wed, 12 Nov 2008 00:30:42 +0000 (UTC) (envelope-from gaijin.k@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.27]) by mx1.freebsd.org (Postfix) with ESMTP id EA8F18FC0C for ; Wed, 12 Nov 2008 00:30:41 +0000 (UTC) (envelope-from gaijin.k@gmail.com) Received: by qw-out-2122.google.com with SMTP id 9so124215qwb.7 for ; Tue, 11 Nov 2008 16:30:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:cc :in-reply-to:references:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; bh=/HWiepzHIQsjGD1EwBr3PKwMnghxpLqwWv0AdIEX0HA=; b=d2aafqJ6FSj9IrF8QxO4tlsEJk9xbEjelfXL4GG3zyq/GeyYoROV4EUynudLiDzzM6 6AXYRF7MObcmCJ1BA+vavLbFXwJ5UpRLeSaSUtVyfXKEGWPlubt3kXIya+tufNr84WPF xs/kVE8XKo321ddzNPTF4QzY54xXvN0PIKO24= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:date :message-id:mime-version:x-mailer:content-transfer-encoding; b=LftfewDeatS799lc+Xw7KslwPSpzz/Ov/buuGD+InyVy9SDYcUXD7xYMgJqgn9zTu+ A4XYPrYuqmQQkWoeG6TXRj5hNF1UtA90mceSCt9l94RyIZhgySn+upFX9Qpgs5owGcNY wDhiBkQpyWQ31M3C0KCOJLQcUHbDV4rDwX3cg= Received: by 10.215.100.1 with SMTP id c1mr9174824qam.113.1226449841189; Tue, 11 Nov 2008 16:30:41 -0800 (PST) Received: from ?10.0.3.231? (pool-70-111-21-88.nwrk.east.verizon.net [70.111.21.88]) by mx.google.com with ESMTPS id 8sm12037634ywg.6.2008.11.11.16.30.40 (version=SSLv3 cipher=RC4-MD5); Tue, 11 Nov 2008 16:30:40 -0800 (PST) From: "Alexandre \"Sunny\" Kovalenko" To: Nenhum_de_Nos In-Reply-To: <7d13c992592d1976010179b40b26c057.squirrel@cygnus.homeunix.com> References: <491404BF.1090807@FreeBSD.org> <49186111.9020103@root.org> <20081111161549.U70117@sola.nimnet.asn.au> <7d13c992592d1976010179b40b26c057.squirrel@cygnus.homeunix.com> Content-Type: text/plain; charset=utf-8 Date: Tue, 11 Nov 2008 19:30:30 -0500 Message-Id: <1226449830.1244.30.camel@RabbitsDen> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 8bit Cc: freebsd-acpi@freebsd.org Subject: Re: RFC: powerd algorithms enhancements X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Nov 2008 00:30:42 -0000 On Tue, 2008-11-11 at 15:56 -0200, Nenhum_de_Nos wrote: > On Tue, November 11, 2008 3:20 am, Ian Smith wrote: > > On Mon, 10 Nov 2008, Nenhum_de_Nos wrote: > > > as all you are talking about the subject, and I read all messages, is > > > there any module to load and make my AthlonXP 1700+ use less power ? > > > > > > running 7-STABLE, just a file server. any acpi-stuff I could enable > > would > > > be great, as I just use all its power when compiling ... > > > > What does 'sysctl hw.acpi dev.cpu' have to say? > [...] > [root@xxx ~]# sysctl dev.cpu > dev.cpu.0.%desc: ACPI CPU > dev.cpu.0.%driver: cpu > dev.cpu.0.%location: handle=\_PR_.CPU0 > dev.cpu.0.%pnpinfo: _HID=none _UID=0 > dev.cpu.0.%parent: acpi0 > dev.cpu.0.cx_supported: C1/0 C2/90 C3/900 > dev.cpu.0.cx_lowest: C1 > dev.cpu.0.cx_usage: 100.00% 0.00% 0.00% > [root@xxx ~]# > > if it rings any bells :) All I can suggest here is sysctl dev.cpu.0.cx_lowest="C3" or, if it gets you totally unresponsive machine, sysctl dev.cpu.0.cx_lowest="C2" how much of the power saving you will see from this is the separate question. -- Alexandre "Sunny" Kovalenko (Олександр Коваленко) From owner-freebsd-acpi@FreeBSD.ORG Wed Nov 12 03:42:22 2008 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 30C201065670 for ; Wed, 12 Nov 2008 03:42:22 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [220.233.188.227]) by mx1.freebsd.org (Postfix) with ESMTP id 7CC988FC14 for ; Wed, 12 Nov 2008 03:42:21 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id mAC3f2G0055717; Wed, 12 Nov 2008 14:41:03 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Wed, 12 Nov 2008 14:41:02 +1100 (EST) From: Ian Smith To: "Alexandre \"Sunny\" Kovalenko" In-Reply-To: <1226449830.1244.30.camel@RabbitsDen> Message-ID: <20081112142137.Q70117@sola.nimnet.asn.au> References: <491404BF.1090807@FreeBSD.org> <49186111.9020103@root.org> <20081111161549.U70117@sola.nimnet.asn.au> <7d13c992592d1976010179b40b26c057.squirrel@cygnus.homeunix.com> <1226449830.1244.30.camel@RabbitsDen> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-acpi@freebsd.org, Nenhum_de_Nos Subject: Re: RFC: powerd algorithms enhancements X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Nov 2008 03:42:22 -0000 On Tue, 11 Nov 2008, Alexandre "Sunny" Kovalenko wrote: > On Tue, 2008-11-11 at 15:56 -0200, Nenhum_de_Nos wrote: > > On Tue, November 11, 2008 3:20 am, Ian Smith wrote: > > > On Mon, 10 Nov 2008, Nenhum_de_Nos wrote: > > > > as all you are talking about the subject, and I read all messages, is > > > > there any module to load and make my AthlonXP 1700+ use less power ? > > > > > > > > running 7-STABLE, just a file server. any acpi-stuff I could enable > > > would > > > > be great, as I just use all its power when compiling ... > > > > > > What does 'sysctl hw.acpi dev.cpu' have to say? > > > [...] Reinjecting a bit .. > hw.acpi.thermal.user_override: 0 > hw.acpi.thermal.tz0.temperature: 43.0C > hw.acpi.thermal.tz0.active: -1 > hw.acpi.thermal.tz0.passive_cooling: 1 > hw.acpi.thermal.tz0.thermal_flags: 0 > hw.acpi.thermal.tz0._PSV: 66.0C > hw.acpi.thermal.tz0._HOT: -1 > hw.acpi.thermal.tz0._CRT: 70.0C > hw.acpi.thermal.tz0._ACx: 66.0C -1 -1 -1 -1 -1 -1 -1 -1 -1 > hw.acpi.thermal.tz0._TC1: 4 > hw.acpi.thermal.tz0._TC2: 3 > hw.acpi.thermal.tz0._TSP: 60 > hw.acpi.cpu.cx_lowest: C1 Certainly no cpu frequency control. Surprisingly low _CRT temperature but unless it ever actually gets too hot, it's not a problem. I don't really follow why .passive-cooling=1 with no cpufreq driver/s attached? > > [root@xxx ~]# sysctl dev.cpu > > dev.cpu.0.%desc: ACPI CPU > > dev.cpu.0.%driver: cpu > > dev.cpu.0.%location: handle=\_PR_.CPU0 > > dev.cpu.0.%pnpinfo: _HID=none _UID=0 > > dev.cpu.0.%parent: acpi0 > > dev.cpu.0.cx_supported: C1/0 C2/90 C3/900 > > dev.cpu.0.cx_lowest: C1 > > dev.cpu.0.cx_usage: 100.00% 0.00% 0.00% > > [root@xxx ~]# > > > > if it rings any bells :) > All I can suggest here is > > sysctl dev.cpu.0.cx_lowest="C3" > > or, if it gets you totally unresponsive machine, > > sysctl dev.cpu.0.cx_lowest="C2" > > how much of the power saving you will see from this is the > separate question. If that works to any extent you'll notice some drop in cpu temperature. I do see a slight but noticeable idle temp. drop on my T23 in C2, though nothing compared to the power reduction of lower frequency (about half). cheers, Ian From owner-freebsd-acpi@FreeBSD.ORG Fri Nov 14 01:24:37 2008 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 626161065670 for ; Fri, 14 Nov 2008 01:24:37 +0000 (UTC) (envelope-from cnszym@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.25]) by mx1.freebsd.org (Postfix) with ESMTP id DCBB48FC0A for ; Fri, 14 Nov 2008 01:24:36 +0000 (UTC) (envelope-from cnszym@gmail.com) Received: by ey-out-2122.google.com with SMTP id 6so501911eyi.7 for ; Thu, 13 Nov 2008 17:24:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=IfWc3BIII/AcDqLnVq6C4QOEfesxt0G6JrhtKpCU1Hs=; b=oRKnZANY4LxkmGQk5sSC8xsynTb4//pagfMrLIySg9goV5sMgoUQ+GWYHXpv8VqXvK f5cuTh+/oNoMLOSviEGgFih92SCQRM6lfAz6bRPsfev0r91RnjrenmKsETcaUghB4Hay C4BtVJQr028l2nl8QH4X0VvmRca69KEMdGLRY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=adqxfB4AuoiAHAw8D1X3xCsdesPjGNCDUcAOSw23TMG1F53iRda6Z5vXZwPE3DJSnr jJg46UQ4Wq2K6cKJquSwOw8DNl5MzH8i1UGlLfImv3Dv5nGDP+XYq8AXMGmalqVLVTFd OnkMoXP6xEeQo03EshKKA+fYmYmgzPtf3h3Cc= Received: by 10.210.141.4 with SMTP id o4mr385517ebd.3.1226624129943; Thu, 13 Nov 2008 16:55:29 -0800 (PST) Received: by 10.210.43.20 with HTTP; Thu, 13 Nov 2008 16:55:29 -0800 (PST) Message-ID: Date: Fri, 14 Nov 2008 09:55:29 +0900 From: "Cyrille Szymanski" To: "Alexander Motin" In-Reply-To: <49189B47.7090509@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <491404BF.1090807@FreeBSD.org> <49186111.9020103@root.org> <49189B47.7090509@FreeBSD.org> Cc: FreeBSD acpi Subject: Re: RFC: powerd algorithms enhancements X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Nov 2008 01:24:37 -0000 2008/11/11 Alexander Motin : > Universality and predictiveness. Systems with 2 and with 32 levels will > drop/rise frequency with same absolute rate. If we are trying to speak about > some comparing, algorithm should be hardware independent. Hi The heuristics PAST and FLAT are two examples of strategies which do just this : they determine the desired operating frequency (in Hz) and then switch to the closest level available. >> There's a patch Cyrille Szymanski has sent me to review that implements >> the FLAT and PAST algorithms in powerd. I think we should not add new >> modes that are heuristics (including this one) until we have a chance to >> compare it to algorithms that have been the result of real research. > > So show it to us. This area is heuristic by default as there is several > opposite criteriums, so any algorithm will be heuristic. Although I see the benefits of your proposal, and reckon that systems with may levels are more and more common these days. The point is, I think, to avoid adding tuning knobs to powerd that would be too specific to your configuration and which might benefit everyone. Research will (I hope) indicate the way to go. Thanks ! -- Cyrille Szymanski From owner-freebsd-acpi@FreeBSD.ORG Fri Nov 14 09:14:22 2008 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2A2881065670 for ; Fri, 14 Nov 2008 09:14:22 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from cmail.optima.ua (cmail.optima.ua [195.248.191.121]) by mx1.freebsd.org (Postfix) with ESMTP id A45778FC13 for ; Fri, 14 Nov 2008 09:14:21 +0000 (UTC) (envelope-from mav@FreeBSD.org) X-Spam-Flag: SKIP X-Spam-Yversion: Spamooborona-2.1.0 Received: from orphanage.alkar.net (account mav@alkar.net [212.86.226.11] verified) by cmail.optima.ua (CommuniGate Pro SMTP 5.2.9) with ESMTPA id 227743129; Fri, 14 Nov 2008 11:14:20 +0200 Message-ID: <491D416C.6030207@FreeBSD.org> Date: Fri, 14 Nov 2008 11:14:20 +0200 From: Alexander Motin User-Agent: Thunderbird 2.0.0.14 (X11/20080612) MIME-Version: 1.0 To: Cyrille Szymanski References: <491404BF.1090807@FreeBSD.org> <49186111.9020103@root.org> <49189B47.7090509@FreeBSD.org> In-Reply-To: X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Fri, 14 Nov 2008 12:19:34 +0000 Cc: FreeBSD acpi Subject: Re: RFC: powerd algorithms enhancements X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Nov 2008 09:14:22 -0000 Hi. Cyrille Szymanski wrote: >>> There's a patch Cyrille Szymanski has sent me to review that implements >>> the FLAT and PAST algorithms in powerd. I think we should not add new >>> modes that are heuristics (including this one) until we have a chance to >>> compare it to algorithms that have been the result of real research. >> So show it to us. This area is heuristic by default as there is several >> opposite criteriums, so any algorithm will be heuristic. > > Although I see the benefits of your proposal, and reckon that systems > with may levels are more and more common these days. The point is, I > think, to avoid adding tuning knobs to powerd that would be too > specific to your configuration and which might benefit everyone. There is natural trade-off between interactivity and power saving. So I don't think that "hiadaptive" mode is something too specific to my system. I haven't added any other tuning, even reduced amount of tuning that was required to make it work in some cases before. > Research will (I hope) indicate the way to go. So where I can get your patches or algorithms description? -- Alexander Motin From owner-freebsd-acpi@FreeBSD.ORG Fri Nov 14 19:18:38 2008 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E3B9A1065680 for ; Fri, 14 Nov 2008 19:18:38 +0000 (UTC) (envelope-from ivan@serezhkin.com) Received: from shustrik.urh.ru (shustrik.urh.ru [89.108.81.81]) by mx1.freebsd.org (Postfix) with ESMTP id A70C48FC16 for ; Fri, 14 Nov 2008 19:18:38 +0000 (UTC) (envelope-from ivan@serezhkin.com) Received: from vany.yandex.ru (dhcp216-36.yandex.ru [213.180.216.36]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: ivan@serezhkin.com) by shustrik.urh.ru (Postfix) with ESMTPSA id 611031D074 for ; Fri, 14 Nov 2008 21:56:35 +0300 (MSK) Message-ID: <491DCAF2.9080507@serezhkin.com> Date: Fri, 14 Nov 2008 22:01:06 +0300 From: "Ivan B. Serezhkin" User-Agent: Thunderbird 2.0.0.17 (X11/20081024) MIME-Version: 1.0 To: freebsd-acpi@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Flag: SKIP X-Spam-Yversion: Spamooborona-2.1.0 Subject: generalized driver for acpi all devices. X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Nov 2008 19:18:39 -0000 Hello. I now writing device driver for fujitsu siemens notebook hotkeys FUJ02E3, and think, that before understanding how this device works a must write driver, that provide all acpi methods to sysctl and all event to log. I'v done it, but can't understand how this device is working =) I think that it must be musch easy if i already has some ways to call acpi methods and intercept events from userspace by commandline. Now i write driver, that gains, device and methods to provide in sysctl, from kenv, but in some devices this tunablie is too long. Please, explain, how can i access real acpi code from kernel and how can i found devices and methods to provide it ? Also, redirect to good documentation is what i want =) Also, i think to use /dev/acpi as a commandline interface, now there only sysctl acces, i want add some command language to it something like call _SB_.PCI0.LPCB.FEXT.SIRB(1) 0x0 alias _SB_.PCI0.LPCB.FJEX FJEX ok call FJEX.GHKS() 0x0 is this good ? or we must use some other mechanism ? But now i have not enough experience for this =) but i'll try it =) -- Ivan B. Serezhkin Spamooborona, Yandex. http://so.yandex.ru/