From owner-freebsd-current@FreeBSD.ORG Fri Aug 27 16:19:19 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 1D53A1065696 for ; Fri, 27 Aug 2010 16:19:19 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with ESMTP id B71218FC15 for ; Fri, 27 Aug 2010 16:19:18 +0000 (UTC) Received: (qmail 20149 invoked by uid 399); 27 Aug 2010 16:19:16 -0000 Received: from localhost (HELO ?192.168.0.142?) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 27 Aug 2010 16:19:16 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4C77E582.5080706@FreeBSD.org> Date: Fri, 27 Aug 2010 09:19:14 -0700 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: Andriy Gapon References: <4C71E858.90009@FreeBSD.org> <4C721334.1050000@icyb.net.ua> <4C7219B2.4070303@FreeBSD.org> <4C722209.1020405@icyb.net.ua> <4C72297D.90104@FreeBSD.org> <4C722ADD.1030103@icyb.net.ua> <4C7234A1.3050108@FreeBSD.org> <4C7792A1.9090909@icyb.net.ua> In-Reply-To: <4C7792A1.9090909@icyb.net.ua> X-Enigmail-Version: 1.1.1 OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@FreeBSD.org Subject: Re: runaway intr problems: powerd and/or hw.acpi.cpu.cx_lowest related 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: Fri, 27 Aug 2010 16:19:19 -0000 On 08/27/2010 03:25 AM, Andriy Gapon wrote: > on 23/08/2010 11:43 Doug Barton said the following: >> Ok, so it seems that you're suggesting to disable throttling, so I added the >> following to /boot/loader.conf: >> >> hint.p4tcc.0.disabled="1" >> hint.p4tcc.1.disabled="1" >> hint.acpi_throttle.0.disabled="1" >> hint.acpi_throttle.1.disabled="1" >> >> Not sure the .1.'s are necessary, but I wanted to be thorough. With that I get: >> dev.cpu.0.freq_levels: 2333/31000 2000/26000 1667/22000 1333/17000 1000/13000 >> dev.est.0.freq_settings: 2333/31000 2000/26000 1667/22000 1333/17000 1000/13000 >> dev.est.1.freq_settings: 2333/31000 2000/26000 1667/22000 1333/17000 1000/13000 >> >> hopefully that's more in line with what it should be? I'd really like to be able >> to at least use powerd since it does seem to help with heat when the system is >> idle (and by extension, power consumption as well). >> >> Unless you say differently when I get up tomorrow I'll try this configuration >> for a little while and see how it goes. > > So, how did this go? > Did the change make any difference? Yes, it improved things greatly. I first ran with just powerd for several hours and that worked fine. The next day I was able to use powerd and cx_lowest=C2 for the better part of a day (including watching a few flash videos). By the end of the day intr started to run away again, so not out of the woods yet, but at least this shows we're going in the right direction. Also, while poking around in the BIOS settings I noticed in one of the "information only" screens that I don't usually visit one line about the "minimum cpu speed" is 1.00 GHz, which the sysctl output above seems to verify. So where the throttling code was getting all those other numbers I don't know. Meanwhile I've actually not been running FreeBSD for most of this week I've been working on re-partitioning my new disk and running ubuntu. So 2 interesting pieces of information there, first the "CPU Frequency Scaling Monitor" for the gnome that comes with ubuntu never goes below 1 GHz, so that bit seems extra verified. Second, I can watch all the flash videos I want while doing other stuff in the background (like restoring the backups of my data) without any problems, so add that to windows in terms of OS' that work on this same hardware. Now that I have finally figured out how to boot windows, linux, and 2 FreeBSDs on the same disk I'll be able to set up 7-stable i386 and 9-current amd64 to see how they compare to the 9-current i386 I was using previously; so I should have more information in a few days. hth, Doug -- Improve the effectiveness of your Internet presence with a domain name makeover! http://SupersetSolutions.com/ Computers are useless. They can only give you answers. -- Pablo Picasso