Originally posted by MadCatX
View Post
Announcement
Collapse
No announcement yet.
The Linux Kernel's Scheduler Apparently Causing Issues For Google Stadia Game Developers
Collapse
X
-
Originally posted by Volta View Post
I think this Gnome developer meant it's Gnome which may also affect end result somehow. The blogger who wrote an article was pointed by few people his methodology is wrong, though.
- Likes 1
Comment
-
MadCatX Exactly. And it didn't stop him from saying Linux scheduler is bad just by basing on his flawed methodology. Furthermore, he didn't provide kernel configuration which is crucial in such cases. I can easily assume Google developers are really that bad. PS. Linux have very good tracing tools, but it seems he didn't bother to use them.
Comment
-
Originally posted by Volta View PostFurthermore, he didn't provide kernel configuration which is crucial in such cases.
Comment
-
Originally posted by PuckPoltergeist View Post
Ubuntu 18.04 (4.15.0-72-generic) (in the comment-section) And there was suspected, that a kernel with CONFIG_PREEMPT_NONE was benched. So no, it's not the scheduler from Linux that's bad, but a kernel-config from a distribution that doesn't fit the needs.
Comment
-
Originally posted by PuckPoltergeist View Post
Ubuntu 18.04 (4.15.0-72-generic) (in the comment-section) And there was suspected, that a kernel with CONFIG_PREEMPT_NONE was benched. So no, it's not the scheduler from Linux that's bad, but a kernel-config from a distribution that doesn't fit the needs.
- Likes 1
Comment
-
Originally posted by PuckPoltergeist View Post
What's "locks up" and "heavy thread activity"? I'm running a compile job with make -j20, listening to music and writing this answer at moment. Everything works smooth. So how is the scheduler crappy here?
One recent example that happened at work was a linux board that went AWOL due to high load. We couldn't even ssh into it reliably because it was "so busy". Compiling has a LOT of empty timeframes to fill in other stuff. It's very light weight load that doesn't utilize the whole system properly.
On the desktop side I definitely got situations in which my mouse was lagging, sound got choppy and I couldn't continue watching youtube. One was with compiling but in addition to another runaway process. I think compiling alone is just not "good enough" to cause this.
It MIGHT be related to IO as well but why should 3rd party IO cause issues with something that's not even using the disk/resource? Ask yourself that...
Comment
-
Originally posted by Almindor View Post
I see you desktop boys are still at it...
One recent example that happened at work was a linux board that went AWOL due to high load. We couldn't even ssh into it reliably because it was "so busy". Compiling has a LOT of empty timeframes to fill in other stuff. It's very light weight load that doesn't utilize the whole system properly.
On the desktop side I definitely got situations in which my mouse was lagging, sound got choppy and I couldn't continue watching youtube. One was with compiling but in addition to another runaway process. I think compiling alone is just not "good enough" to cause this.
It MIGHT be related to IO as well but why should 3rd party IO cause issues with something that's not even using the disk/resource? Ask yourself that...
So if you're running a desktop kernel (1000Hz timer, CONFIG_PREEMPT=y) you won't need RT-scheduling. I don't even have the cgroup-config from systemd active (https://www.phoronix.com/forums/foru...27#post1149827) and I can't trigger any lagging. It really looks like every bad scheduler behaviour is a wrong config.
Comment
-
Originally posted by Zan Lynx View Post
Also, Ubuntu 18's systemd configuration was broken (in my opinion). I had wondered why my Ryzen 3900X would bog down while compiling big Android Studio projects on Ubuntu, but not on Fedora. It seems that changing the Ubuntu /etc/systemd/system.conf settings to enable accounting for most of the resources fixed it for me. You really do want the cgroups to share out the CPU by group, not by individual thread.
- Likes 1
Comment
-
Originally posted by Volta View Post
I can't imagine how this is even possible for developer to be such lame?
edit:
Oh, and he has a very very big ego: https://isocpp.org/blog/2017/03/i-wr...malte-skarupkeLast edited by PuckPoltergeist; 03 January 2020, 02:21 PM.
- Likes 2
Comment
Comment