Scheduling service which optimizes Linux’s CPU scheduler and automatically assigns process priorities for improved desktop responsiveness.

@Helix@feddit.de
link
fedilink
5
edit-2
8M

Yeah sure, roll your own for everything, which has worked so great for Canonical in the past. Repeating mistakes other companies have made is nearly as dumb as repeating one’s own mistakes.

There’s already lots of different Desktop schedulers with varied levels of performance, there’s gamemode and Linux on the desktop already has less overhead than Windows.

The Arch wiki has a list of software which already does this: https://wiki.archlinux.org/title/Improving_performance#Adjusting_priorities_of_processes

Pure NIH syndrome.

SudoDnfDashY
link
fedilink
38M

I mean, Solus rolled their own and are doing fine. The problem was that Ubuntu was so focused on the server market that they completely abandoned the desktop and didn’t want to sink a bunch of development costs into Unity and Mir.

Based on their description, this sounds like they rewrote ananicy in rust and added some kernel tweaks. I worry about NIH syndrome, since ananicy already exists and the other optimizations described could literally be done with shell scripts and udev rules. But it’s a nice idea and tbh actually very useful for low-end hardware.

I use more or less exclusively low-end hardware and for laptops/desktops without a lot of oomph being able to intelligently parcel out cpu time to applications that are actually a priority for the user is pretty important.

This kind of optimization is probably useless on anything approaching decent hardware, however.

@Yujiri
link
fedilink
38M

This sounds like a bad idea to me. Having more stuff running just to figure out which of the running stuff to prioritize.

Amicese
link
fedilink
38M

<details><summary>I hold a similar opinion towards this software and <a href=“https://github.com/FeralInteractive/gamemode”><code>gamemode</code></a>.</summary> Application-level software externally managing process priorities is not a good idea; <b style=“color: green;”>games should be optimized independent of other software!</b></details>

@morrowind
link
fedilink
38M

This is how OS’s work

@Yujiri
link
fedilink
48M

Even if that comparison is exactly correct, wouldn’t it just mean that a userspace scheduler is redundant? You don’t want to have two pieces of software running at the same time with the same job.

But I don’t think that comparison is correct. OS kernels aren’t an external tool for managing process priorities. They’re how you create processes in the first place, so of course the OS is the appropriate place to manage them.

@morrowind
link
fedilink
28M

From the article:

Basically this Rust-written, MPL-2.0 licensed software aims to automatically configure the kernel’s CFS scheduler and dynamically deal with process priorities

That is, it’s not an entirely different thing. It wouldn’t make much sense for system 76 to directly add it to the kernel, so I guess it’s a sort of extension…

@Yujiri
link
fedilink
38M

It sounds like it runs in userspace though, not as a kernel module

Amicese
link
fedilink
3
edit-2
8M

System76-Scheduler feels similar to those snake-oiled game boosters.(They modify process priorities.)

@beansniffer
link
fedilink
18M

System76 has a lot of developers that are a part of the “lets rewrite everything in rust!” type of crowd

@blackfire
link
fedilink
18M

Be interesting to see this in action

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

  • 0 users online
  • 5 users / day
  • 18 users / week
  • 49 users / month
  • 299 users / 6 months
  • 5.63K subscribers
  • 1.81K Posts
  • 5.16K Comments
  • Modlog