From owner-freebsd-questions@freebsd.org Mon Jul 12 10:48:11 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A4BC465ADFC for ; Mon, 12 Jul 2021 10:48:11 +0000 (UTC) (envelope-from tomdean@wavecable.com) Received: from smtp02.emerald.cmh.synacor.com (smtp.emerald.synacor.com [208.47.184.7]) (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 4GNgTk3l7hz4nyJ for ; Mon, 12 Jul 2021 10:48:10 +0000 (UTC) (envelope-from tomdean@wavecable.com) X-Authed-Username: dG9tZGVhbkB3YXZlY2FibGUuY29t Received: from [24.113.143.192] ([24.113.143.192:42476] helo=[192.168.1.143]) by mail.wavecable.com (envelope-from ) (ecelerity 3.6.25.56547 r(Core:3.6.25.0)) with ESMTPA id E4/1F-12164-8ED1CE06; Mon, 12 Jul 2021 06:48:09 -0400 To: FreeBSD Questions From: "Thomas D. Dean" Subject: How do I disable CPU throttling Message-ID: Date: Mon, 12 Jul 2021 03:48:07 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Vade-Verdict: clean X-Vade-Analysis-1: gggruggvucftvghtrhhoucdtuddrgedvtddruddvgdefudcutefuodetggdotefrodftvfcurfhrohhf X-Vade-Analysis-2: ihhlvgemucfujgfpteevqfftpdfgoffgtfetnfffpdfqfgfvnecuuegrihhlohhuthemuceftddunecu X-Vade-Analysis-3: secvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefvhffukffffgggtgfgsehtjeertddt X-Vade-Analysis-4: feejnecuhfhrohhmpedfvfhhohhmrghsucffrdcuffgvrghnfdcuoehtohhmuggvrghnseifrghvvggt X-Vade-Analysis-5: rggslhgvrdgtohhmqeenucggtffrrghtthgvrhhnpefgiedtgfeiieetjeefvdekgeelfeegffehueef X-Vade-Analysis-6: hefftefhjeffgeegfefgfffhgfenucfkphepvdegrdduudefrddugeefrdduledvnecuvehluhhsthgv X-Vade-Analysis-7: rhfuihiivgeptdenucfrrghrrghmpehinhgvthepvdegrdduudefrddugeefrdduledvpdhhvghlohep X-Vade-Analysis-8: lgduledvrdduieekrddurddugeefngdpmhgrihhlfhhrohhmpehtohhmuggvrghnseifrghvvggtrggs X-Vade-Analysis-9: lhgvrdgtohhmpdhrtghpthhtohepfhhrvggvsghsugdqqhhuvghsthhiohhnshesfhhrvggvsghsugdr X-Vade-Analysis-10: ohhrghdphhhoshhtpehsmhhtphdrvghmvghrrghlugdrtghmhhdrshihnhgrtghorhdrtghomhdpshhp X-Vade-Analysis-11: fhepshhofhhtfhgrihhlpdgukhhimheppdhnsggprhgtphhtthhopedupdetuhhthhdqfghsvghrpeht X-Vade-Analysis-12: ohhmuggvrghn X-Vade-Client: EMERALD X-Rspamd-Queue-Id: 4GNgTk3l7hz4nyJ X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of tomdean@wavecable.com designates 208.47.184.7 as permitted sender) smtp.mailfrom=tomdean@wavecable.com X-Spamd-Result: default: False [-1.79 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[208.47.184.7:from]; R_SPF_ALLOW(-0.20)[+ip4:208.47.184.0/24]; HFILTER_HELO_IP_A(1.00)[smtp02.emerald.cmh.synacor.com]; HFILTER_HELO_NORES_A_OR_MX(0.30)[smtp02.emerald.cmh.synacor.com]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-0.99)[-0.995]; RECEIVED_SPAMHAUS_PBL(0.00)[24.113.143.192:received]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[208.47.184.7:from]; ASN(0.00)[asn:36271, ipnet:208.47.184.0/23, country:US]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.998]; R_DKIM_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.80)[-0.800]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[wavecable.com]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[208.47.184.7:from:127.0.2.255]; RCVD_IN_DNSWL_NONE(0.00)[208.47.184.7:from]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jul 2021 10:48:11 -0000 I want to run this system at a fixed freq. It has beefed-up cooling. How do I do this? > uname -a FreeBSD aorus 13.0-RELEASE FreeBSD 13.0-RELEASE #0: Sat Jul 10 23:47:01 PDT 2021 tomdean@aorus:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 From dmidecode: MB: Gigabyte TRX40 AORUS XTREME CPU: AMD Ryzen Threadripper 3970X Max Speed: 4550 MHz Current Speed: 3700 MHz # sysctl dev.cpu | grep freq dev.cpu.0.freq_levels: 3700/4070 2800/2800 2200/1980 dev.cpu.0.freq: 2200 #sysctl dev.cpu.0.freq=3700 dev.cpu.0.freq: 2200 -> 3700 === wait 30 sec # sysctl dev.cpu.0.freq dev.cpu.0.freq: 2200 Why does dmidecode (via cpu-x) report a different value than sysctl dev.cpu.0.freq? Tom Dean