Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Aug 2010 09:19:14 -0700
From:      Doug Barton <dougb@FreeBSD.org>
To:        Andriy Gapon <avg@icyb.net.ua>
Cc:        freebsd-current@FreeBSD.org
Subject:   Re: runaway intr problems: powerd and/or hw.acpi.cpu.cx_lowest related
Message-ID:  <4C77E582.5080706@FreeBSD.org>
In-Reply-To: <4C7792A1.9090909@icyb.net.ua>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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