On 10/2/22 15:25, Samuel Sieb wrote:
On 10/2/22 15:18, Mike Wright wrote:
On 10/2/22 13:52, Bill Cunningham wrote:
I wanted to ask all who might be interested too, and know the
answers to this, first, in short,
/dev/zram0 my system says is a swap file. It's really no big deal,
but I would rather not have one. I see the old 'mkswap' command is
gone, I look at the filesystem and see no visible swap. Is there a
way to turn this off? I really don't think my memory needs to swap
out pages to the filesystem; but then, maybe it could use it. Turning
it off probably wouldn't hurt.
And also what comes goes, my system went down and no worries.
But I did try to rescue the system with e2fsck. When done after quite
some time. All the showed up was 'lost+found' and in that directory
was a lot of directories that were numbered. Some had the hash in
front. I guess I really did a number on it. Nothing was lost worth
keeping. It needed cleaned anyway.
If you decide you do need swap checkout zswap. It compresses swapped
out pages and stores them in local RAM. It's a kernel option and is
activated by adding "zswap.enabled=1" to the linux boot lines in your
grub.cfg.
Because it's not a command, per se, there's no man page. A web search
on zswap will return plenty of info.
zram is a compressed memory block device used by default for swap in
Fedora now. zswap is different. It intercepts swap writes and caches
them compressed in RAM. It still requires an actual swap partition as
well unlike zram.
Thanks.
zram requires creation of a memory swap area. Where would that
typically be done? rc.local ? If it overflows does it fall back to a
disk swap partition?
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue