From owner-freebsd-hackers@freebsd.org Wed Sep 5 12:43:30 2018 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CAE04FEEFB3; Wed, 5 Sep 2018 12:43:30 +0000 (UTC) (envelope-from eric@vangyzen.net) Received: from smtp.vangyzen.net (hotblack.vangyzen.net [IPv6:2607:fc50:1000:7400:216:3eff:fe72:314f]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 77AEF7F873; Wed, 5 Sep 2018 12:43:30 +0000 (UTC) (envelope-from eric@vangyzen.net) Received: from hammy.vangyzen.net (unknown [70.97.188.230]) by smtp.vangyzen.net (Postfix) with ESMTPSA id 307D256482; Wed, 5 Sep 2018 07:43:29 -0500 (CDT) Subject: Re: Celeron J3160 with enabled Turbo mode stays at 480MHz (lowestsetting) forever and can not lower frequency without Tuebo mode To: lev@FreeBSD.org, Cy Schubert , FreeBSD Current , "freebsd-hackers@freebsd.org" References: <20180905001320.0C127109A@spqr.komquats.com> <1963289672.20180905123556@serebryakov.spb.ru> From: Eric van Gyzen Message-ID: <43d68d5a-d8b7-965d-52a6-3eff6cdae1b6@vangyzen.net> Date: Wed, 5 Sep 2018 07:43:28 -0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: <1963289672.20180905123556@serebryakov.spb.ru> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Sep 2018 12:43:31 -0000 On 9/5/18 4:35 AM, Lev Serebryakov wrote: > BTW, these four settings in rc.conf(5) > > performance_cx_lowest > performance_cpu_freq > economy_cx_lowest > economy_cpu_freq > > do NOTHING. They are not used ANYWHERE but rc.conf and rc.conf.5! They are used by /etc/rc.d/power_profile, but not in a way that grep can find. > BTW, "Turbo mode enabled + dev.cpu.X.cx_lowset=C3 + powerd" works, but > gives only 1601 Mhz, not 2240MHz max: > > TURBO ON: > dev.cpu.0.freq_levels: 1601/2000 1600/2000 1520/1900 1440/1800 1360/1700 1280/1600 1200/1500 1120/1400 1040/1300 960/1200 880/1100 800/1000 720/900 640/800 560/700 480/600 420/525 360/450 300/375 240/300 180/225 120/150 60/75 > > TURBO OFF: > dev.cpu.0.freq_levels: 1600/2000 1520/1900 1440/1800 1360/1700 1280/1600 1200/1500 1120/1400 1040/1300 960/1200 880/1100 800/1000 720/900 640/800 560/700 480/600 420/525 360/450 300/375 240/300 180/225 120/150 60/75 1601 is not the actual frequency. That is just how it is reported. It is almost certainly running much higher than 1601. Eric