From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 71C5015806E for ; Fri, 2 Jun 2023 05:15:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 78A3BE07B3; Fri, 2 Jun 2023 05:15:11 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 52C3CE07B3 for ; Fri, 2 Jun 2023 05:15:11 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id F145C33BE99 for ; Fri, 2 Jun 2023 05:15:09 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3757B1D for ; Fri, 2 Jun 2023 05:15:08 +0000 (UTC) From: "Vitaly Zdanevich" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Vitaly Zdanevich" Message-ID: <1685682893.7a0864d7cdd49d0f9ab45248bfd28af2518551b9.zdanevich.vitaly@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: sys-apps/corefreq/ X-VCS-Repository: repo/proj/guru X-VCS-Files: sys-apps/corefreq/metadata.xml X-VCS-Directories: sys-apps/corefreq/ X-VCS-Committer: zdanevich.vitaly X-VCS-Committer-Name: Vitaly Zdanevich X-VCS-Revision: 7a0864d7cdd49d0f9ab45248bfd28af2518551b9 X-VCS-Branch: dev Date: Fri, 2 Jun 2023 05:15:08 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 0e22fa34-83e1-4619-83ec-af1d275d2e3e X-Archives-Hash: 20f4cc0e4fbdc5e5472b6cd0ddc80ad3 commit: 7a0864d7cdd49d0f9ab45248bfd28af2518551b9 Author: Vitaly Zdanevich ya ru> AuthorDate: Fri Jun 2 05:14:53 2023 +0000 Commit: Vitaly Zdanevich ya ru> CommitDate: Fri Jun 2 05:14:53 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7a0864d7 sys-apps/corefreq: longdescription add Signed-off-by: Vitaly Zdanevich ya.ru> sys-apps/corefreq/metadata.xml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/sys-apps/corefreq/metadata.xml b/sys-apps/corefreq/metadata.xml index 1184002b6..e0411fbbb 100644 --- a/sys-apps/corefreq/metadata.xml +++ b/sys-apps/corefreq/metadata.xml @@ -6,4 +6,25 @@ zdanevich.vitaly@ya.ru Vitaly Zdanevich + +CoreFreq provides a framework to retrieve CPU data with a high degree of precision: + +* Core frequencies and ratios; SpeedStep (EIST), Turbo Boost, Hyper-Threading (HTT) and Base Clock +* Performance counters including Time Stamp Counter (TSC), Unhalted Core Cycles (UCC), Unhalted Reference Cycles (URC) +* Number of instructions per cycle or second, IPS, IPC, or CPI +* CPU C-States C0 C1 C3 C6 C7 - C1E - Auto/UnDemotion of C1 C3 +* DTS Temperature and Tjunction Max, Thermal Monitoring TM1 TM2 state, Vcore +* Topology map including Caches for boostrap and application CPU +* Processor features, brand and architecture strings +* In progress: Uncore, Memory Controller channels and geometry, DIMM timings, +* Stress tools, Power and Energy (RAPL, P-State, HWP, TDP), Overclocking, cpuidle and cpufreq driver, ClockSource, Mitigation Mechanisms + +To reach this goal, CoreFreq implements a Linux Kernel module which employs the followings: + +* asm code to keep as near as possible the readings of the performance counters; +* per-CPU, implements slab data memory and high-resolution timer; +* compliant with suspend / resume and CPU Hot-Plug; +* a shared memory to protect kernel from the user-space part of the software; +* atomic synchronization of threads to avoid mutexes and deadlock +