This website requires JavaScript.
Explore
Help
Sign In
pool
/
systemd-zram-service
SHA256
Watch
2
Star
0
Fork
1
You've already forked systemd-zram-service
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
factory
systemd-zram-service
/
zramswapoff
7 lines
65 B
Plaintext
Raw
Permalink
Normal View
History
Unescape
Escape
Accepting request 650228 from home:malcolmlewis:openSUSE_General New package submission. See boo#1116056 for more details. Please add me as maintainer. OBS-URL: https://build.opensuse.org/request/show/650228 OBS-URL: https://build.opensuse.org/package/show/filesystems/systemd-zram-service?expand=0&rev=1
2018-12-06 13:57:53 +01:00
#!/bin/bash
# Switching off swap
Accepting request 1000767 from home:archerallstars 1. To disable multi-zRAM device creation (based on the number of CPU cores) in the original script, as it's deprecated, can cause some issues, and is unnecessary since kernel 4.7. See https://bugzilla.suse.com/show_bug.cgi?id=1185928 and https://github.com/Nefelim4ag/systemd-swap/issues/176 2. To change the zRAM compression algorithm from "lzo-rle" to "zstd", as it yields the highest compression ratio, hence the fastest to complete the task. Both compression ratio and speed are better than "lzo-rle". Therefore, changing the compression algorithm to "zstd" will benefit zRAM usage. See https://www.reddit.com/r/Fedora/comments/mzun99/new_zram_tuning_benchmarks/ OBS-URL: https://build.opensuse.org/request/show/1000767 OBS-URL: https://build.opensuse.org/package/show/filesystems/systemd-zram-service?expand=0&rev=6
2022-09-05 13:01:40 +02:00
swapoff /dev/zram0
Accepting request 650228 from home:malcolmlewis:openSUSE_General New package submission. See boo#1116056 for more details. Please add me as maintainer. OBS-URL: https://build.opensuse.org/request/show/650228 OBS-URL: https://build.opensuse.org/package/show/filesystems/systemd-zram-service?expand=0&rev=1
2018-12-06 13:57:53 +01:00
rmmod zram
Reference in New Issue
Copy Permalink