From owner-freebsd-hackers@freebsd.org Wed Sep 5 12:53:16 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 23C26FEF60D; Wed, 5 Sep 2018 12:53:16 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from smtp-out-no.shaw.ca (smtp-out-no.shaw.ca [64.59.134.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 7D5967FF6E; Wed, 5 Sep 2018 12:53:15 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from spqr.komquats.com ([70.67.125.17]) by shaw.ca with ESMTPA id xXJ1fZ1DYp5A1xXJ2fkDPH; Wed, 05 Sep 2018 06:53:13 -0600 X-Authority-Analysis: v=2.3 cv=JLKPTPCb c=1 sm=1 tr=0 a=VFtTW3WuZNDh6VkGe7fA3g==:117 a=VFtTW3WuZNDh6VkGe7fA3g==:17 a=kj9zAlcOel0A:10 a=JBFolyDoGHsA:10 a=D3aUqHbKAAAA:8 a=YxBL1-UpAAAA:8 a=6I5d2MoRAAAA:8 a=MTVuH1_HWQHdM4k58OgA:9 a=CjuIK1q_8ugA:10 a=46e8-uGIe74A:10 a=cMCrhCMO5xpCME3_Hjt_:22 a=Ia-lj3WSrqcvXOmTRaiG:22 a=IjZwj45LgO3ly-622nXo:22 Received: from slippy.cwsent.com (slippy [10.1.1.91]) by spqr.komquats.com (Postfix) with ESMTPS id 6509C743; Wed, 5 Sep 2018 05:54:04 -0700 (PDT) Received: from slippy.cwsent.com (localhost [127.0.0.1]) by slippy.cwsent.com (8.15.2/8.15.2) with ESMTP id w85CrAEI022476; Wed, 5 Sep 2018 05:53:10 -0700 (PDT) (envelope-from Cy.Schubert@cschubert.com) Received: from slippy (cy@localhost) by slippy.cwsent.com (8.15.2/8.15.2/Submit) with ESMTP id w85CrAX3022473; Wed, 5 Sep 2018 05:53:10 -0700 (PDT) (envelope-from Cy.Schubert@cschubert.com) Message-Id: <201809051253.w85CrAX3022473@slippy.cwsent.com> X-Authentication-Warning: slippy.cwsent.com: cy owned process doing -bs X-Mailer: exmh version 2.8.0 04/21/2012 with nmh-1.7.1 Reply-to: Cy Schubert From: Cy Schubert X-os: FreeBSD X-Sender: cy@cwsent.com X-URL: http://www.cschubert.com/ To: Eric van Gyzen cc: lev@FreeBSD.org, Cy Schubert , FreeBSD Current , "freebsd-hackers@freebsd.org" Subject: Re: Celeron J3160 with enabled Turbo mode stays at 480MHz (lowestsetting) forever and can not lower frequency without Tuebo mode In-Reply-To: Message from Eric van Gyzen of "Wed, 05 Sep 2018 07:43:28 -0500." <43d68d5a-d8b7-965d-52a6-3eff6cdae1b6@vangyzen.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 05 Sep 2018 05:53:10 -0700 X-CMAE-Envelope: MS4wfHz1hGJh7XKLBkcEyZR+gA7H6A+8P0ShhMgb+3BPbNAF8uzCwGRQ//G3NNhwp2+8AMiPXx7hedwI1fFLNRG+HXRWeAEkFJIZtvdXjxc4bFjh6YUftPqj gqf2hl0ZFxJMu4oLRZjDDZFrJrkatz8mcBdAtkRcBMBfkrTYaCaUt09Xmvk36vNpEzFfV9yCeBS/hgCMTvrn9sIburoc9zSC3Q7hdaoVe8BTxqJJ1pLqmyh5 YIHp9W+4KHp2zR67qdTUfZjYmTFxtX+DXGpIUHCQr8A= 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:53:16 -0000 In message <43d68d5a-d8b7-965d-52a6-3eff6cdae1b6@vangyzen.net>, Eric van Gyzen writes: > 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 12 > 80/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 12 > 00/1500 1120/1400 1040/1300 960/1200 880/1100 800/1000 720/900 640/800 560/70 > 0 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. We don't know this until we can independently verify it. Do you mind running some benchmarks with and without turbo mode? -- Cheers, Cy Schubert FreeBSD UNIX: Web: http://www.FreeBSD.org The need of the many outweighs the greed of the few.