• Re: zram not zramfs for swap

    From andy5995@1:105/44 to Maurice Kinal on Thursday, September 03, 2026 21:47:07
    Subject: Re: zram not zramfs for swap

    Maurice Kinal wrote to andy5995 on 08/31/2026 02:35 <=-

    Hej andy5995!

    Using zramfs is new to me, I've been using it for about a month. I
    have 14GB Ram.

    New to me as well. Offhand it sounds like /dev/ramX which I used to
    use before I became familiar with the kernel's tmpfs. Comparing tmpfs with nvme0n1p2 - which I currently have mounted on /dev/lfs;

    Hello Maurice!

    I unintentionally gave you incorrect info. zram not zram fs.

    [andy@prometheus build-asan](master)$ zramctl
    NAME ALGORITHM DISKSIZE DATA COMPR TOTAL STREAMS MOUNTPOINT
    /dev/zram0 zstd 8G 1.2G 373M 388.1M [SWAP]

    zram is a Linux kernel module that allows you to set up compressed >filesystems in RAM.

    zram-tools uses this module to set up compressed swap space. This is useful >on systems with low memory or servers running a large amount of services with >data that's easily swappable but that you may wish to swap back fast without >sacrificing disk bandwidth.

    By default it allocates a maximum of 50% of memory, although it only uses >what it needs. You can configure this in /etc/default/zramswap.

    --
    -Andy Alt

    ... NoCarrierMail, the new multi-platform, multi-format offline reader!
    === NoCarrierMail/Linux v0.55
    --- SBBSecho 3.37-Win32
    * Origin: X-Bit BBS > Oregon USA > x-bit.org/info (1:105/44)
  • From Maurice Kinal@1:153/7001 to andy5995 on Friday, September 04, 2026 05:17:02
    Hey andy5995!

    I unintentionally gave you incorrect info. zram not zram fs.

    Happens all the time. I am meaning to research it but have been a tad distracted with the latest build. I'll try and catch up soon.

    Life is good,
    Maurice

    o- o- o- -o -o o- -o -o o- -o o- -o
    /) /) /) (\ (\ /) (\ (\ /) (\ /) (\
    ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^
    ... Sceal æghwylc mon alætan lændagas.
    Every man will have to relinquish the days loaned to him.
    --- GNU bash, version 5.3.15(1)-release (x86_64-pc-linux-gnu)
    * Origin: Little Mikey's Brain - Ladysmith BC, Canada (1:153/7001)