is this useful?: $ cat sysconf.c #include <stdio.h> #include <unistd.h>
int main() { printf("nproc configured %ld\n", sysconf(_SC_NPROCESSORS_CONF)); printf("nproc online %ld\n", sysconf(_SC_NPROCESSORS_ONLN)); return 0; } $ cc -o sysconf sysconf.c $ ./sysconf nproc configured 4 nproc online 2 On Sun, Sep 19, 2021 at 1:18 PM Chris Bennett < cpb_m...@bennettconstruction.us> wrote: > On Sun, Sep 19, 2021 at 01:37:05PM -0400, Daniel Wilkins wrote: > > Hyperthreads are easy: they've been disabled for years (unless they got > flipped on and I didn't notice.) > > > > Does the setting in the BIOS need to be turned off also? > Or is it irrelevant? I had a server for a while where the company > insisted that it be left on in the BIOS. > > Thanks, > Chris > >