From: Masaru Nomiya <nomiya@lake.dti.ne.jp> Date: Wed, 02 Aug 2023 16:21:18 +0900 Hello, In the Message; Subject : Re: Let's use ZRAM! Message-ID : <25801.35950.569474.658097@orion.rgrjr.com> Date & Time: Tue, 1 Aug 2023 15:51:26 -0700 [BR] == Bob Rogers <rogers@rgrjr.com> has written: BR> Here it is: BR> root@orion> cat /proc/sys/vm/swappiness BR> 60 BR> root@orion> It is the default state. Thought so. BR> This is approximately 24 hours after starting to use the 5GiB swap BR> partition the disk has had all along, BTW. What? I only added the swap after reading this thread. I still had the swap partition because my disk has long since been partitioned, and I always upgrade by doing a fresh install into an existing partition using the manual partitioning option. It's just that lately I've been failing to add the swap partition, because ISTR the installer used to select all swap partitions for use automatically even when you chose manual partitioning, and I hadn't noticed when it stopped doing that. (Does anybody else remember that?) ================ From: "Carlos E. R." <robin.listas@telefonica.net> Date: Wed, 2 Aug 2023 21:48:17 +0200 On 2023-08-02 13:40, Masaru Nomiya wrote:
. . . You can't tell if the swap space is being used or not without looking at the swap I/O. The only way to do that is to use the sar command.
If swap is used, there is always a few megabytes in it, unless there has been a manual command to disable swap. Even in which case, with almost half my RAM free, swap is shown to be unnecessary, which is the interesting conclusion. -- Bob