From owner-freebsd-hackers@freebsd.org Wed Sep 5 09:35:59 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 9D2E1FEA2DF; Wed, 5 Sep 2018 09:35:59 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.not-for.work (onlyone.not-for.work [IPv6:2a01:4f8:201:6350::2]) by mx1.freebsd.org (Postfix) with ESMTP id 361487985F; Wed, 5 Sep 2018 09:35:59 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from lion.home.serebryakov.spb.ru (unknown [IPv6:2001:470:923f:1:99c6:bbf1:45c9:c9cf]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.not-for.work (Postfix) with ESMTPSA id 049D6C89; Wed, 5 Sep 2018 12:35:56 +0300 (MSK) Date: Wed, 5 Sep 2018 12:35:56 +0300 From: Lev Serebryakov Reply-To: lev@FreeBSD.org Organization: FreeBSD Message-ID: <1963289672.20180905123556@serebryakov.spb.ru> To: 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: <20180905001320.0C127109A@spqr.komquats.com> References: <20180905001320.0C127109A@spqr.komquats.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 09:35:59 -0000 Hello Cy, Wednesday, September 5, 2018, 3:12:34 AM, you wrote: > Are you running powers? powerd? yes. With "adaptive" strategy" > Do you use c-states? Oops. My fault. I've forgot to set cx_lowest to C3 on all cores. 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! > What happens if you boot in (instead of switch to) turbo mode? Sorry? I could only turn Turbo mode on/off in BIOS before boot. 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 But I could live with that :-) -- Best regards, Lev mailto:lev@FreeBSD.org