Rendered at 10:30:39 GMT+0000 (Coordinated Universal Time) with Cloudflare Workers.
jurschreuder 3 days ago [-]
I'm too triggered by wording that signals it's written or at least modified by an LLM these days
xpct 14 hours ago [-]
I'm not just triggered by the wording, I generally just find it hard to read. That familiar feeling of having read multiple paragraphs where nothing of substance was said, and you realize the text was either heavily edited or generated.
I'd love to read an article about the topic, but can't recommend this one if you expect high informational quality.
StefanBatory 15 hours ago [-]
Article does seem quite interesting at a first glance, but I can't say I'm a fan of these GenAI headers at all.
In his About Me
> But now, thanks to AI, I can speed up the process significantly. AI helps me research faster, draft clearer explanations, and refine my writing—allowing me to finally share this knowledge the way I’ve always envisioned.
So I think he's writting articles himself and then running them through LLM to proofread and fix style, and so on.
rvz 15 hours ago [-]
It is most certainly written with AI. Where are the references?
The only thing you really need to rely on at this point is, if someone who has actually contributed to the Linux kernel scheduler can verify all of this.
If not, then you can't trust that text.
cogman10 14 hours ago [-]
> Where are the references?
The references are scattered throughout the article.
The color scheme makes it a lot harder to catch that they are there. The links don't look like links (don't do that OP).
But once you realize that, you can see that there are a bunch of references back to the linux source throughout the article.
That said, that color scheme isn't always a clickable link. I gotta say, the author needs to be a lot better about consistency. They use blue links, grey text that's actually a link, and the same grey text that isn't a link.
Discovering what is clickable and what's not is a mess. This should be a lot clearer. Ideally everything would be a blue link like in the first paragraph.
SupLockDef 14 hours ago [-]
In their first article of the series:
>I’m not a kernel expert—I’m learning out loud. The goal here isn’t a deep [...]
So I think it's safe to say they didn't contributed to the Linux kernel.
d3Xt3r 14 hours ago [-]
I wish the author explored CFS first, because not only is it simpler to understand, it's also the scheduler that the kernel ran for decades before switching to EEVDF.
Exploring CFS would also naturally lead to exploring its limitations (like why its bad for desktop interactivity), and so EEVDF can be organically introduced into the picture and we'd understand and appreciate it better.
usr1106 9 hours ago [-]
This text repeats things that I have read many times before, maybe
because it's heavily AI assisted as other have suspected. But it fails
to answer my questions I have had unanswered for years.
Q1: Let's start with a single core machine. The explanations always say:
The scheduler does this and does that. As if the the scheduler would
be some external entity. In the single core machine there is only one
actor. The core that executes instructions. One after another. Where
the next one is either determined by the program counter or an
interrupt. I would really like a text that never changes
perspective. It's the CPU that does things (sometimes it executes code
belonging to the scheduler). It's never the scheduler that sits there
in an outside supervising position and can do things.
So lets take this pure user space while(1) task. The CPU jumps into
the timer interrupt code. The article says a flag will be set, but the
real preemption will happen later at a safe spot. So what code is
executed after the flag has been set? Where and how will it notice
that now we are at a safe spot to preempt?
Q2: The multi-core case. All texts write about "the scheduler". As if
we had n cores and 1 scheduler that supervises what they are
doing. But that's certainly not what is happening. I guess all cores
execute some scheduler code regularly (except the tickless ones, but
that's yet another story and rare on a "typical" machine). But how
does that work without creating a mess in the data structures? Well,
some synchronization primitives are probably needed. But how does that
scale for dozens and 100s of cores? I guess most structures are local
to a core and the global ones are modified rarely?
I'd love to read an article about the topic, but can't recommend this one if you expect high informational quality.
In his About Me
> But now, thanks to AI, I can speed up the process significantly. AI helps me research faster, draft clearer explanations, and refine my writing—allowing me to finally share this knowledge the way I’ve always envisioned.
So I think he's writting articles himself and then running them through LLM to proofread and fix style, and so on.
The only thing you really need to rely on at this point is, if someone who has actually contributed to the Linux kernel scheduler can verify all of this.
If not, then you can't trust that text.
The references are scattered throughout the article.
The color scheme makes it a lot harder to catch that they are there. The links don't look like links (don't do that OP).
But once you realize that, you can see that there are a bunch of references back to the linux source throughout the article.
That said, that color scheme isn't always a clickable link. I gotta say, the author needs to be a lot better about consistency. They use blue links, grey text that's actually a link, and the same grey text that isn't a link.
Discovering what is clickable and what's not is a mess. This should be a lot clearer. Ideally everything would be a blue link like in the first paragraph.
>I’m not a kernel expert—I’m learning out loud. The goal here isn’t a deep [...]
So I think it's safe to say they didn't contributed to the Linux kernel.
Exploring CFS would also naturally lead to exploring its limitations (like why its bad for desktop interactivity), and so EEVDF can be organically introduced into the picture and we'd understand and appreciate it better.
Q1: Let's start with a single core machine. The explanations always say: The scheduler does this and does that. As if the the scheduler would be some external entity. In the single core machine there is only one actor. The core that executes instructions. One after another. Where the next one is either determined by the program counter or an interrupt. I would really like a text that never changes perspective. It's the CPU that does things (sometimes it executes code belonging to the scheduler). It's never the scheduler that sits there in an outside supervising position and can do things.
So lets take this pure user space while(1) task. The CPU jumps into the timer interrupt code. The article says a flag will be set, but the real preemption will happen later at a safe spot. So what code is executed after the flag has been set? Where and how will it notice that now we are at a safe spot to preempt?
Q2: The multi-core case. All texts write about "the scheduler". As if we had n cores and 1 scheduler that supervises what they are doing. But that's certainly not what is happening. I guess all cores execute some scheduler code regularly (except the tickless ones, but that's yet another story and rare on a "typical" machine). But how does that work without creating a mess in the data structures? Well, some synchronization primitives are probably needed. But how does that scale for dozens and 100s of cores? I guess most structures are local to a core and the global ones are modified rarely?
Where are these 2 questions answered?