this post was submitted on 09 Jul 2023
24 points (96.2% liked)

Linux

47523 readers
1595 users here now

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

Related Communities

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

founded 5 years ago
MODERATORS
 

I like to follow articles benchmarking OSs on phoronix a lot. Whenever Arch looks bad I see comments riddled with saying that is because the default scheduler sucks. I feel fairly compitent with Linux but for some reason schedulers seemed like this black box that lives in the realm of places where I normally break my OS from not paying close attention.

Is it a program run by something like systemd? Is it a config or patch of the kernel? Which ones are good and how important are they?

Anyways, any advice on schedulers would be appreciated.

top 3 comments
sorted by: hot top controversial new old
[–] qjkxbmwvz@lemmy.sdf.org 9 points 1 year ago

Keep in mind that there is, in general, a scheduler tradeoff between latency and throughput.

So, if you're doing audio recording and mixing, this is likely to have very different scheduler requirements than something churning through batch jobs. The former wants low latency, the latter high throughput.

[–] nous@programming.dev 5 points 1 year ago (1 children)

It is part of their kernel. And there are a few different schedulers at play, you have the CPU one as well as the I/O one. Arch Linux has various different kernels (such as the zen one) that use different CPU schedulers (with lots of options in the AUR as well) and there are various settings you can tweak for different I/O ones.

I general you should go through the Improving performance wiki page on the details for these and even more performance tweaks you can do.

There is also pages for tuning things for better battery life for laptops as well that you may also find interesting.

[–] rodbiren@midwest.social 1 points 1 year ago

Arch wiki to the rescue. I swear the forms of arch Linux must just be riddled with references to the wiki. Eventually I'll learn that it just knows. Thanks for the response.