File a bug report, attach as a patch.I don't have a sponsor.
Well, I do that usually when I get onto something that is specific to my installation, or might be difficult to notice. But this here is not difficult to notice. And it is not that I keep the matter fror me - I tell it publicly, here and on the lists.File a bug report, attach as a patch.
/usr/bin/nice -n 15 /usr/sbin/idprio 23 /usr/local/bin/poudriere bulk
Sorry to hear your experience with the developers. No software is perfect and will always need improvements and bug fixing. If anyone says something else they are plain wrong. Even if they are well known. And suggesting replacing something imperfect with something they know is worse is simply stupid and ignorance.Well, I do that usually when I get onto something that is specific to my installation, or might be difficult to notice. But this here is not difficult to notice. And it is not that I keep the matter fror me - I tell it publicly, here and on the lists.
There were recurring complaints on the lists, that there are certain problems with the scheduler, over years. There are generally responded with the flat answer: if you don't like the new scheduler, you are free to use the old one.
Then you have, further up, lists of literature, from people who claim that they have not only used the scheduler, but have done research on it. If these would have done a slight bit of their homework, instead of just writing nicely formatted papers, they would have noticed this.
So, if there is just no interest in serious, professional work, then I am not the guy who tries to push it by all means, for no own benefit.
I am currently testing your suggestion for kern.sched.preempt_thresh=120. And after removing a pair of other "optimizations" it seems to work just fine. And fulfilling my wish for the lowest possible valueThe ULE scheduler is better then the previous one. But still not "perfect".
The following simple command can block my desktop interactivity which should not happen. I have the impression niceness is not honoured enough.
I'm lacking psychological knowledge but devs should be open to constructive substantiated critics.Code:/usr/bin/nice -n 15 /usr/sbin/idprio 23 /usr/local/bin/poudriere bulk
What optimizations did you remove?I am currently testing your suggestion for kern.sched.preempt_thresh=120. And after removing a pair of other "optimizations" it seems to work just fine. And fulfilling my wish for the lowest possible value
What is your hardware. What to use depends a lot on that. On my system no glitches what so ever.I've been running with preempt_thresh=121 for a little bit now (maybe a week or so) working fine for my desktop/daily usage. If watching a youtube in firefox on one tab and bring up another tab to watch, not autoplay, but basically select and download another youtube video, the first one playing has occasional pauses, similar to a dropped frame or two, but that's it. Audio stays fine in the first one, keyboard, mouse seem normal. I spent a day with it set to 120, but based on what I was seeing in top with most of my user processes at PRI 20, it caused a lot more glitches than the value of 121.
Disabling the other tunables was the first thing I did. Otherwise I cannot test the scheduler in its own right.Haven't tried disabling everything else yet.
kern.sched.steal_thresh=1 kern.sched.balance=0 kern.sched.balance_interval=1000 kern.sched.affinity=10000 kern.sched.preempt_thresh=121
Hardware is an older NUC, CPU is i3-4010U CPU @ 1.70GHz, dual core 16GB ram.
What is the presumed effect ofkern.sched.steal_thresh=1 kern.sched.balance=0 kern.sched.balance_interval=1000 kern.sched.affinity=10000 kern.sched.preempt_thresh=121
Hardware is an older NUC, CPU is i3-4010U CPU @ 1.70GHz, dual core 16GB ram.
kern.sched.balance_interval=1000
* (127 by default on my 12.3-RELEASE) when having deactivated the long term load balancer with kern.sched.balance=0
?kern.sched.balance=0
on your system with regard to your system's problematic behaviour?Don't know exactly. These values came from somewhere on a mailing list or somewhere here.What is the presumed effect ofkern.sched.balance_interval=1000
* (127 by default on my 12.3-RELEASE) when having deactivated the long term load balancer withkern.sched.balance=0
?
What is the intended effect ofkern.sched.balance=0
on your system with regard to your system's problematic behaviour?
___
* integer kern.sched.balance_interval: Average period in stathz ticks to run the long-term balancer
As I suggested you could try 121 again as well to see if there are even less problems with that. If so I might try it out as well. But the difference is more easy to feel on a slower system like yours. But the "recomended" value of 223 is probably to much in most places.So running with preempt_thresh at 120 and the rest of the kern.sched seems to be "good". An interesting thing of note is I've always gotten messages in Xorg.0.log about "event processing lagging" messages about the USB mouse. I'm still getting them, but at a lot slower rate
kern.sched.balance_interval = Average period in stathz ticks to run the long-term balancer. Source https://gist.github.com/dch/e2ccb70254fdf401679ab5e936fd6d00#integer-kernschedbalance_intervalDon't know exactly. These values came from somewhere on a mailing list or somewhere here.
My systems behavior isn't problematic for me.
seems to be very little difference between 120 and 121 with my standard use. I'll probably test at some point with it at the default 80.As I suggested you could try 121 again as well to see if there are even less problems with that. If so I might try it out as well. But the difference is more easy to feel on a slower system like yours. But the "recomended" value of 223 is probably to much in most places.
Go with the lowest setting that gives good and fluent speed. So Alain De Vos was right with his suggestion for his desktop. And I think kern.sched.preempt_thresh=120 will be my recommendation for the future.seems to be very little difference between 120 and 121 with my standard use. I'll probably test at some point with it at the default 80.
ETA
Agree that the 223/224 is probably too high.