On 2020/11/07 23:24, Ashton Fagg wrote (on bugs@): > > I'm running a Ryzen 4750U (8 cores, 16 with SMT). Obviously SMT > being disabled means only 8 of them show up in htop and the > like. However, I've noticed that 4 of my cores are always > idle. They never, ever leave 0% usage no matter what I do - > running stress tests, running make with -j8, doesn't matter, > only 4 cores ever have usage >0.
Does this help? Index: Makefile =================================================================== RCS file: /cvs/ports/sysutils/htop/Makefile,v retrieving revision 1.23 diff -u -p -r1.23 Makefile --- Makefile 12 Sep 2020 17:25:21 -0000 1.23 +++ Makefile 21 Nov 2020 16:01:17 -0000 @@ -5,6 +5,7 @@ COMMENT = interactive process viewer GH_ACCOUNT = htop-dev GH_PROJECT = htop GH_TAGNAME = 3.0.1 +REVISION = 0 CATEGORIES = sysutils Index: patches/patch-openbsd_OpenBSDProcessList_c =================================================================== RCS file: /cvs/ports/sysutils/htop/patches/patch-openbsd_OpenBSDProcessList_c,v retrieving revision 1.2 diff -u -p -r1.2 patch-openbsd_OpenBSDProcessList_c --- patches/patch-openbsd_OpenBSDProcessList_c 11 Sep 2020 12:34:28 -0000 1.2 +++ patches/patch-openbsd_OpenBSDProcessList_c 21 Nov 2020 16:01:17 -0000 @@ -63,3 +63,12 @@ Index: openbsd/OpenBSDProcessList.c } return pl; +@@ -372,7 +397,7 @@ static void OpenBSDProcessList_scanCPUTime(OpenBSDProc + u_int64_t avg[CPUSTATES] = {0}; + + for (int i = 0; i < this->super.cpuCount; i++) { +- getKernelCPUTimes(i, kernelTimes); ++ getKernelCPUTimes(this->cpuIndex[i], kernelTimes); + CPUData* cpu = this->cpus + i + 1; + kernelCPUTimesToHtop(kernelTimes, cpu); +