The original post: /r/debian by /u/pawxed on 2024-12-26 13:34:54.
Hello! I’m advanced at these stuff but linux kernel seems to be having issue for me and i needed some help on how i should resolve this issue because i never seen anyone encountering this, I tried using fedora 41 workstation and debian bookworm, even ubuntu! It gave me the same result, I’m currently using debian 12 bookworm
[ 127.555158] perf: interrupt took too long (2542 > 2500), lowering kernel.perf_event_max_sample_rate to 78500
[ 142.724751] perf: interrupt took too long (3271 > 3177), lowering kernel.perf_event_max_sample_rate to 61000"
Yes i know that perf are meant to do that by the linux kernel but it really made my performance 10 times worse, considering my laptop is low end with only 2 core
My solution to this is that i have to reboot every single time i turned on my laptop, when it entered the loading plymouth screen i had to spam CTRL ALT DEL to reboot, after that the perf message no longer appearing in the dmesg
It’s getting annoying to me because sometimes it solved it but sometimes it doesn’t solve it and i had to reboot multiple times just to get rid of the sluggish performance, I’m pretty sure it’s not related to my HDD since it could handle my Windows partition pretty fast (I do not have fast boot enabled) and it loads website pretty fast in firefox
but when i do the same thing loading a site in debian or fedora it’ll run so sluggish as if i’m running intel celeron (I even tried using librewolf and it gave me the same lag issue)
Any ideas for the solution? I’m considering to turn off the perf by running
sysctl -w kernel.perf_cpu_time_max_percent=0
But when i think about it, it may be risky.
Specification:
Toshiba satellite C640
6gb RAM
500gb HDD (Partition: Windows 11/Debian bookworm)
Intel core i5 M430 (GPU: intel Integrated graphic)
Linux kernel: 6.1.0-27-amd64