From owner-freebsd-stable@freebsd.org Tue Apr 27 18:28:56 2021 Return-Path: Delivered-To: freebsd-stable@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 8EFE35FAB4E for ; Tue, 27 Apr 2021 18:28:56 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound5c.ore.mailhop.org (outbound5c.ore.mailhop.org [54.244.192.240]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4FV9JS0lmSz4k3c for ; Tue, 27 Apr 2021 18:28:55 +0000 (UTC) (envelope-from ian@freebsd.org) ARC-Seal: i=1; a=rsa-sha256; t=1619548135; cv=none; d=outbound.mailhop.org; s=arc-outbound20181012; b=R7bdcEzPjgQQ39iswB2+noWPVbuZ2KV45dMWhlNdM1r4wQ3LhNovh7FkI46U6RBV+l9ejP0VZgiKv hX+EgAXPrYuCdakAcwn0CPij3QVrR2+bCmDIGXa/XgAIiqiaJJZPZr938tXqxiZldi/IGr2iLC9gCL cCocvi9wU4f/suLcgY0BPsWKIMnZO/iAYe541GmBvLE/dcmrfD0Kp+OlsHyDfn6/jAhjLkimcmyiY2 BZx7NaC3dEpq5i4YuRAx59GJSwgdnPr4CZ/+iScvCLDkUGFhU84lK8LYBRsTkAKNqe2IJDJuOLoIxM mt9Z88jPtJSjhEqeH/GYuWaijnvKq3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=arc-outbound20181012; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:to:from:subject:message-id:dkim-signature:from; bh=qR0FZY4HaE7rTaspP6fFfw12Z5Ij9iGbZcyz6QXSEzM=; b=DMKrMGsxlrzz1uEnsPAIRdAf6SLTMwz2kvqmh4zFjcvW0WIRVNLQoApFi1PacPfEwsWxvY7qSt+mU Wg2FXC2Dhaf0Izb7NcP+vCvPwYRqJkU3IOziXL10ofU424a6FeO5A347Kk9cpMOEeZ1Yv4+0ZccqBM tM/2OW+7sdvpT8nRka/c8SpRKOKGEqoX8BdyWxJVjvSB51i4ofNhFR/gM+qd3eSmcDSRTotG/bLaBz dC4KHFnWPnrVWxkhO4MqxRCmIQBeUm89sd3t5TgR6SW8rTIatakg6lQMYC7UNYiaTmzo9Lj3n9yObS 9lWpanWZK4isVuVoNKy0PTZWsXuazNg== ARC-Authentication-Results: i=1; outbound3.ore.mailhop.org; spf=softfail smtp.mailfrom=freebsd.org smtp.remote-ip=67.177.211.60; dmarc=none header.from=freebsd.org; arc=none header.oldest-pass=0; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=dkim-high; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:to:from:subject:message-id:from; bh=qR0FZY4HaE7rTaspP6fFfw12Z5Ij9iGbZcyz6QXSEzM=; b=CxmsjB3Hd5QeX9azXhADKB9pJgms1bEoX7MiUtjKclgioaq2pWmcHltt4Y62bfnNiiWjaylyIse36 wR3R+AnWt+55Cek46bvOIuGHFPkGxLct42L1ZlUiCH9StmPYMCdtu4Xe74Gu+OdEQ3fGDwzPwHkEAe oc6UJhk2DeVcam3KFxVFQ3/t5QKt+y1TTrZNp6IZXzWdOw5yInxi4kHbPTYAWa/t9zEuZmHa8RZonY OozedfiycUTAs6Ghzxw2cMLDBBM1xAsYHeeuc3hVwR2G+xHhivtuE8ieBcIqysGizsBe4waOeVUoki 9EwwijQHKAmocOAYRe/xNMI1UKTWExQ== X-Originating-IP: 67.177.211.60 X-MHO-RoutePath: aGlwcGll X-MHO-User: 6b4cb79e-a786-11eb-bfc0-bf9d68d023b6 X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (c-67-177-211-60.hsd1.co.comcast.net [67.177.211.60]) by outbound3.ore.mailhop.org (Halon) with ESMTPSA id 6b4cb79e-a786-11eb-bfc0-bf9d68d023b6; Tue, 27 Apr 2021 18:28:54 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id 13RISr0R076912; Tue, 27 Apr 2021 12:28:53 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <6d120fc0eaecc5e89083cd494598e076746c5849.camel@freebsd.org> Subject: Re: clocked speed not showing in dev.cpu.[0-7].freq From: Ian Lepore To: tech-lists , freebsd-stable@freebsd.org Date: Tue, 27 Apr 2021 12:28:53 -0600 In-Reply-To: References: Content-Type: text/plain; charset="ASCII" X-Mailer: Evolution 3.28.5 FreeBSD GNOME Team Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4FV9JS0lmSz4k3c X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [0.00 / 15.00]; local_wl_from(0.00)[freebsd.org]; ASN(0.00)[asn:16509, ipnet:54.244.128.0/17, country:US] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Apr 2021 18:28:56 -0000 On Tue, 2021-04-27 at 19:22 +0100, tech-lists wrote: > Hi, > > Not sure where to put this. system is amd64/stable/13. It's running > powerd but with no additional flags. > > CPU is Intel(R) Core(TM) i7-4770K CPU. Has 32GB RAM > > The system is clocked in the bios at 4.251 GHz. I never see this > value > in sysctl dev.cpu.[0-7].freq though. Here's the output: > > [...] > sysctl dev.cpu.0 > dev.cpu.0.cx_method: C1/hlt > dev.cpu.0.cx_usage_counters: 100878534 > dev.cpu.0.cx_usage: 100.00% last 185us > dev.cpu.0.cx_lowest: C1 > dev.cpu.0.cx_supported: C1/1/0 > dev.cpu.0.freq_levels: 3400/84000 3200/77169 3100/73848 2900/67388 > 2700/61182 2500/55201 2400/52298 2200/46677 2000/41272 1800/36091 > 1700/34277 1500/29407 1300/24752 1100/20312 1000/18167 800/14031 > dev.cpu.0.freq: 3400 > dev.cpu.0.temperature: 68.0C > dev.cpu.0.coretemp.throttle_log: 0 > dev.cpu.0.coretemp.tjmax: 100.0C > dev.cpu.0.coretemp.resolution: 1 > dev.cpu.0.coretemp.delta: 32 > dev.cpu.0.%parent: acpi0 > dev.cpu.0.%pnpinfo: _HID=none _UID=0 _CID=none > dev.cpu.0.%location: handle=\_PR_.CPU0 > dev.cpu.0.%driver: cpu > dev.cpu.0.%desc: ACPI CPU > > Here's the cpu string on boot: > > CPU: Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz (4251.32-MHz K8-class > CPU) > > So, is it really clocked? or does the sysctl show what is right? > > thanks, The same is true on my system: CPU: Intel(R) Xeon(R) CPU W3680 @ 3.33GHz (4250.09-MHz K8-class CPU) dev.cpu.0.freq_levels: 3334/143000 3333/130000 3200/117000 3067/105000 2933/94000 2800/85000 2667/76000 2533/68000 2400/61000 2267/54000 2133/48000 2000/43000 1867/39000 1733/35000 1600/32000 I've clocked this cpu at various speeds between 4.25 - 5.0 ghz over the years (faster when it was younger, more conservative now that it's old). The value in parens (4250.09) changes accordingly, but the values in the sysctl never do. I'm sure this is running at the overclocked speed (various benchmark values change as they should when changing the OC values in the bios). -- Ian