there seems to be an issue where the cpu is under-utilized while manually compiling ( cmake --build build -j$(getconf _NPROCESSORS_ONLN) ). all core frequencies look fine but utilized at less than ~5%. building pkgs with yay seems ok though… i have checked around the web but cant find anything really related to my case. any and all help is welcomed!
hi! thanks for replying. i have now added your suggestion as its a little nifty one. but i specifically specified cmake --build build -j$(getconf _NPROCESSORS_ONLN). so it should have worked?
hi!. the issue is the cpu is not being saturated 100% when compiling and building stuff from src. i have tried building devolutionX and it has taken more than 11 hours. where i see all core being used at ~5% capacity. i tried building others and it was the same. but yay builds stuff just fine.
I was gonna say something buy yer not sure where to start exvr[yt a nre user
Pretty sure I meant to type encounter
1st line I have no idea so sorry to anyone who reads it.
yes devolutionX. but i clone it from src using git clone. then i cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release -Wno-dev and cmake --build build -j$(getconf _NPROCESSORS_ONLN). this is per their build wiki. and i honestly have always done it this way on every other distro i use.
im beginning to think there’s something in bios or straight up cpu degradation… i will have to test on debian and maybe even fedora too and see. i can also try a different kernel i guess too
Compiling can also be i/o intense. If you get i/o overload this results in low cpu load, as it is most of the time waiting for i/o to finish. You might check if everything is ok with the disks, not full, not broken…
this command will list compatible kernel parameter for your cpu. i then added these i915.enable_psr=0 i915.enable_dc=0 i915.disable_power_well=1 to /etc/default/grub and to also /etc/kernel/cmdline. then just because… i also added this to my .zshrc
// function to set desired cpu governor
// available cpufreq governors: conservative ondemand userspace powersave performance schedutil
function setcpu () {
if [ -f /usr/bin/cpupower ]; then
sudo cpupower frequency-set -g performance
echo “Set cpu to performance!”
else
echo “cpupower not found”
fi
}
after these additions i can finally compile with the force on my side
i915 mod parameters are related to GPU, not CPU. They have influence on sleep modes and sync, but i don’t see any connection to CPU performance. As these i915 have various issues that strongly depend on specific processor generation, it would be interesting to see your lscpu here.
Setting the cpu governor does have influence on cpu power, that makes sense.