Closed terencode closed 3 years ago
Maybe a error from linux-tkg project.
https://seafile.ptr1337.dev/d/4046e0b9a4bf41d2abb0/
Here are some Genv3 Kernels precompiled, check if the problem also happens.
Hi @terencode
http://lkml.iu.edu/hypermail/linux/kernel/1804.0/01103.html
If it is the same problem, I think it is related to the mainstream kernel. CacULE has no changes on no_hz_*
Thank you
It's not coming from linux-tkg. I tried your build linux-cacule-5.12.12-1-x86_64.pkg.tar.zst
and can still reproduce the warning.
There is no warning when using linux-tkg with NO_HZ_FULL too but using PDS instead of CACULE.
which bootloader youre using and which config options are you using there ?
which distro are using ?
your system specs should be also interesting.
Hi @terencode @ptr1337 @hamadmarri,
I believe this is the same issue as I previously mentioned here: https://github.com/hamadmarri/cacule-cpu-scheduler/discussions/23#discussioncomment-714144. Since this warning comes from a check and the computed delta
is not actually used anywhere, currently I just comment out this check in order to suppress the warning:
--- a/kernel/sched/core.c 2021-05-07 20:53:26.000000000 +1000
+++ b/kernel/sched/core.c 2021-05-09 20:44:03.476618640 +1000
@@ -4619,14 +4619,14 @@
update_rq_clock(rq);
- if (!is_idle_task(curr)) {
- /*
- * Make sure the next tick runs within a reasonable
- * amount of time.
- */
- delta = rq_clock_task(rq) - curr->se.exec_start;
- WARN_ON_ONCE(delta > (u64)NSEC_PER_SEC * 3);
- }
+ //if (!is_idle_task(curr)) {
+ ///*
+ //* Make sure the next tick runs within a reasonable
+ //* amount of time.
+ //*/
+ //delta = rq_clock_task(rq) - curr->se.exec_start;
+ //WARN_ON_ONCE(delta > (u64)NSEC_PER_SEC * 3);
+ //}
curr->sched_class->task_tick(rq, curr, 0);
calc_load_nohz_remote(rq);
which bootloader youre using and which config options are you using there ?
Not sure why the bootloader would matter here but I'm using refind.
When you say "config options" I assume you mean kernel parameters in the context of bootloader?
Here they are : audit=0 root=UUID=a30ceffc-8940-46b1-96b0-952e9642799a rw initrd=amd-ucode.img initrd=initramfs-linux-tkg-cacule.img quiet splash loglevel=3 vt.global_cursor_default=0 rd.systemd.show_status=auto rd.udev.log-priority=3 libahci.ignore_sss=1 scsi_mod.use_blk_mq=1 threadirqs amdgpu.ppfeaturemask=0xffffffff nowatchdog vfio-pci.ids=1002:6610 xhci_hcd.quirks=270336 nohz_full=1-5,7-11
which distro are using ?
ArchLinux
your system specs should be also interesting.
Here are some :
Hi @terencode @ptr1337 @hamadmarri,
Hey!
I believe this is the same issue as I previously mentioned here: #23 (reply in thread). Since this warning comes from a check and the computed delta is not actually used anywhere, currently I just comment out this check in order to suppress the warning:
Ah dang I searched the thread for someone having a similar issue using CTR+F but forgot that after a thread reaches a certain length, messages are hidden and you need to hit the "view more" button...
I see hamadmarri asked some questions about your input at the end of the thread, maybe it's the occasion to continue here?
Hi @terencode @ptr1337 @hamadmarri,
I believe this is the same issue as I previously mentioned here: #23 (reply in thread). Since this warning comes from a check and the computed
delta
is not actually used anywhere, currently I just comment out this check in order to suppress the warning:--- a/kernel/sched/core.c 2021-05-07 20:53:26.000000000 +1000 +++ b/kernel/sched/core.c 2021-05-09 20:44:03.476618640 +1000 @@ -4619,14 +4619,14 @@ update_rq_clock(rq); - if (!is_idle_task(curr)) { - /* - * Make sure the next tick runs within a reasonable - * amount of time. - */ - delta = rq_clock_task(rq) - curr->se.exec_start; - WARN_ON_ONCE(delta > (u64)NSEC_PER_SEC * 3); - } + //if (!is_idle_task(curr)) { + ///* + //* Make sure the next tick runs within a reasonable + //* amount of time. + //*/ + //delta = rq_clock_task(rq) - curr->se.exec_start; + //WARN_ON_ONCE(delta > (u64)NSEC_PER_SEC * 3); + //} curr->sched_class->task_tick(rq, curr, 0); calc_load_nohz_remote(rq);
Hi @raykzhao cc: @terencode @ptr1337
I will add your patch to cacule soon. I was planning to add it that time but I got busy and forgot about it.
Thank you so much
I observe the following warning happening shortly after booting linux 5.12.11 with CacULE v5.12-r2 (NO_HZ_FULL) :