systemd-swap
linux
systemd-swap | linux | |
---|---|---|
6 | 1,008 | |
551 | 179,883 | |
- | - | |
0.0 | 10.0 | |
over 2 years ago | 7 days ago | |
Python | C | |
GNU General Public License v3.0 only | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
systemd-swap
-
I want to change my zRAM compression algorithm to zstd on openSUSE Tumbleweed
As a bonus, the systemd-zram-service's scripts will create zRAM devices based on the number of your CPU cores. This is problematic as it's a deprecated practice, and can also cause an issue on some multicore CPUs. Basically, we already have "multi stream functionality" since kernel 3.15. And since kernel 4.7, regardless of the value passed to [max_comp_streams], zRAM will always allocate multiple compression streams - one per online CPU - thus allowing several concurrent compression operations.
-
What happens when there is no more swap partition is full and RAM is full? Does Linux swaps anyway in some other way (maybe swap files like Windows), or can't it swap anymore?
Historically, Linux has created an additional (fixed-size) swap partition or file. In case you mention you get OOM. But for some time there is a great project systemd-swap creating hybrid swap space. You can even find it in the official Arch Linux Community repo.
-
PERSONAL OPINION: /Swapfile or Swap Partition?
There is also systemd/zram-generator that allows you to create and manage swap devices more easily. And Nefelim4ag/systemd-swap (abandoned?) that automatically creates swap files and resizes them based on RAM usage.
-
Do I need to create a swap partition?
SwapFC - https://github.com/Nefelim4ag/systemd-swap
-
A warning about 5.12-rc1
That sound like what systemd-swap does. Apparently, hibernation is not quite working yet, though.
https://github.com/Nefelim4ag/systemd-swap
-
Can I mix zram with swapfc?
Disclaimer: I couldn't find anything relating to SwapFC other than from the README of systemd-swap. What I've written above is just based on the one-line description of SwapFC, as well as prior knowledge of zswap and zram (obtained from the Linux Kernel docs).
linux
- Shut up TensorFlow
-
Defend against vampires with 10 gbps network encryption
There's a number of "special" Ethernet addresses that a proper Ethernet bridge must never forward. The Linux bridge implements a mechanism to ignore _some_ of these constraints, but not all of them. If you ned that, you can always get to manual patching in https://github.com/torvalds/linux/blob/d42f7708e27cc68d080ac... et al.
-
Yaak Is Now Open Source
Reminds me of Linus' comments[1][2] on pull requests in the kernel's GitHub mirror. The fact that you can't disable pull requests give the impression that it's mandatory to allow anyone to request changes and for you to review them.
[1] https://github.com/torvalds/linux/pull/7
- Linux - লিনাক্স
-
Rust in Linux Revisited
I think this is intended as more of a proof of concept than as a useful change, but apparently this driver is going to be enabled on Fedora rawhide soon.
https://github.com/torvalds/linux/blob/master/drivers/net/ph...
MR where they are working though a build system issue: https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3...
-
Rust for Linux Revisited
We mostly agree. My comments re: whether Drew's proposed solution is a reasonable alternative to Rust for Linux are in a sister comment.
> To someone who isn't accustomed to idiomatic Rust, it seems completely insane to have to go digging around in the type system in order to enable magic elsewhere in the call stack, when you can just tell the computer what to do.
I think this would be a fairer point if the interface was a well documented C interface which showed how to use the interface correctly but it wasn't.
See the API docs: https://www.kernel.org/doc/html/v6.0/filesystems/api-summary...
And the function itself: https://github.com/torvalds/linux/blob/d5d547aa7b51467b15d9c...
If these guys don't like types, fine. But these guys need help quick if the above is the best they can summon.
-
Linux Pipes Are Slow
> I do not know why the JMP is not just a RET, however.
The jump seems generated by the expansion of the `ASM_CLAC` macro, which is supposed to change the EFLAGS register ([1], [2]). However in this case the expansion looks like it does nothing (maybe because of the target ?). I 'd be interested to know more about that. Call to the wild.
[1]: https://github.com/torvalds/linux/blob/master/arch/x86/inclu...
[2]: https://stackoverflow.com/a/60579385
-
We have reached OpenBSD of Theseus
Like I said, not anti-email. I don't see why it's git vs cvs:
> Recall that git was also designed to work over mailing lists. git format-patch, git apply, etc.
Right, and when you do web things with that same git in 2024, it looks and works like it's 2024.
You could use an old git server/file browser UI, or the built-in gitweb[0] for example, but you don't, you use something more modern & featureful, working better on mobile, looking prettier, etc. Even Linux (with its history intertwined with git) uses Github[1] as its mirror, not gitweb or anything looking like the link above for OpenBSD.
[0]: https://repo.or.cz/w/git.git/tree/HEAD:/gitweb/
[1]: https://github.com/torvalds/linux
- AMD's Strix Point: Zen 5 Hits Mobile
-
Beginner’s Guide to Open-Source. Start your Open-Source Journey 🚀
Linux
What are some alternatives?
nohang - A sophisticated low memory handler for Linux
zen-kernel - Zen Patched Kernel Sources
btrfs-progs - Development of userspace BTRFS tools
DS4Windows - Like those other ds4tools, but sexier
TempOSD - On Screen Display for cpu and gpu temperatures, ram and swap usages statistics.
winapps - Run Windows apps such as Microsoft Office/Adobe in Linux (Ubuntu/Fedora) and GNOME/KDE as if they were a part of the native OS, including Nautilus integration.
uniswap-sushiswap-arbitrage-bot - Two bots written in JS that uses flashswaps and normal swaps to arbitrage Uniswap. Includes an automated demostration.
Open and cheap DIY IP-KVM based on Raspberry Pi - Open and inexpensive DIY IP-KVM based on Raspberry Pi
zram-generator - Systemd unit generator for zram devices
serenity - The Serenity Operating System 🐞
auto-zram - Automatically configure zram as swap on a machine, using sensible defaults, with the ability to tweak it to your needs.
DsHidMini - Virtual HID Mini-user-mode-driver for Sony DualShock 3 Controllers