Re: Disable btrfs memory swap file
On 6/26/23 23:20, Jeffrey Walton wrote: On Tue, Jun 27, 2023 at 2:14 AM Samuel Sieb wrote: On 6/26/23 20:48, Jeffrey Walton wrote: I've got a Fedora 38 install (upgrade from F37). The install happened with Anaconda. Anaconda created the compressed memory swap file. I resized the disk and added a proper swap partition. Now I need to modify /etc/fstab and disable the compressed memory swap file. In the screen text below, /dev/nvme0n1p4 is the new partition. My Google-fu really sucks today. I cannot find a discussion of it. How do I modify fstab to remove the compressed memory swap file? Why would you want to? The compiler is crashing in cc1plus. I'm out-of-memory on a machine with 16GB of RAM. Effectively I'm DoS'd with the btrfs default strategy. Time to do something different... like get rid of that compressed swap file in RAM, use a real swap file, and use memory for programs. It has nothing to do with btrfs. That's just the default and it works really well. You get lots of "extra" memory without the lag of going to the disk. You could add the disk swap as well. You don't have to remove the zram for that. ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org 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@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
Re: Disable btrfs memory swap file
On Tue, Jun 27, 2023 at 2:14 AM Samuel Sieb wrote: > > On 6/26/23 20:48, Jeffrey Walton wrote: > > > > I've got a Fedora 38 install (upgrade from F37). The install happened > > with Anaconda. Anaconda created the compressed memory swap file. I > > resized the disk and added a proper swap partition. Now I need to > > modify /etc/fstab and disable the compressed memory swap file. In the > > screen text below, /dev/nvme0n1p4 is the new partition. > > > > My Google-fu really sucks today. I cannot find a discussion of it. > > > > How do I modify fstab to remove the compressed memory swap file? > > Why would you want to? The compiler is crashing in cc1plus. I'm out-of-memory on a machine with 16GB of RAM. Effectively I'm DoS'd with the btrfs default strategy. Time to do something different... like get rid of that compressed swap file in RAM, use a real swap file, and use memory for programs. > The easiest way would be to remove the "zram-generator" package. I > don't know off-hand how to disable a generator. Thanks. Jeff ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org 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@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
Re: Disable btrfs memory swap file
On 6/26/23 20:48, Jeffrey Walton wrote: Hi Everyone, I've got a Fedora 38 install (upgrade from F37). The install happened with Anaconda. Anaconda created the compressed memory swap file. I resized the disk and added a proper swap partition. Now I need to modify /etc/fstab and disable the compressed memory swap file. In the screen text below, /dev/nvme0n1p4 is the new partition. My Google-fu really sucks today. I cannot find a discussion of it. How do I modify fstab to remove the compressed memory swap file? Why would you want to? The easiest way would be to remove the "zram-generator" package. I don't know off-hand how to disable a generator. ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org 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@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
Disable btrfs memory swap file
Hi Everyone, I've got a Fedora 38 install (upgrade from F37). The install happened with Anaconda. Anaconda created the compressed memory swap file. I resized the disk and added a proper swap partition. Now I need to modify /etc/fstab and disable the compressed memory swap file. In the screen text below, /dev/nvme0n1p4 is the new partition. My Google-fu really sucks today. I cannot find a discussion of it. How do I modify fstab to remove the compressed memory swap file? Thanks in advance. --- $ sudo blkid [sudo] password for jwalton: /dev/nvme0n1p3: LABEL="fedora_localhost-live" UUID="c9556f10-0bc7-4018-829f-7a892300b2e0" UUID_SUB="12db21cb-7e46-4878-a52f-4a8be1e29525" BLOCK_SIZE="4096" TYPE="btrfs" PARTLABEL="fedora" PARTUUID="6513b9de-51e5-4714-942f-2d2c315f3a3c" /dev/nvme0n1p1: UUID="B78D-F611" BLOCK_SIZE="512" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="94c2d79e-02a3-4af8-bb8c-e62a1ebadf47" /dev/nvme0n1p4: UUID="26b85275-6dc9-4ffa-914c-e992d216a3e6" TYPE="swap" PARTUUID="5a906783-7377-48b8-ab47-c0f45d861171" /dev/nvme0n1p2: UUID="27d17ecd-07db-46e6-ace5-6edbfd06724f" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="44d9d521-cf65-414d-ba2b-f69927b5bcab" /dev/zram0: LABEL="zram0" UUID="823c4078-30b0-489e-8f48-5b818696680d" TYPE="swap" $ cat /etc/fstab # /etc/fstab # ... # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. UUID=c9556f10-0bc7-4018-829f-7a892300b2e0 / btrfs subvol=root,compress=zstd:1 0 0 UUID=27d17ecd-07db-46e6-ace5-6edbfd06724f /boot ext4 defaults1 2 UUID=B78D-F611 /boot/efi vfat umask=0077,shortname=winnt 0 2 UUID=c9556f10-0bc7-4018-829f-7a892300b2e0 /home btrfs subvol=home,compress=zstd:1 0 0 $ sudo blkid [sudo] password for jwalton: /dev/nvme0n1p3: LABEL="fedora_localhost-live" UUID="c9556f10-0bc7-4018-829f-7a892300b2e0" UUID_SUB="12db21cb-7e46-4878-a52f-4a8be1e29525" BLOCK_SIZE="4096" TYPE="btrfs" PARTLABEL="fedora" PARTUUID="6513b9de-51e5-4714-942f-2d2c315f3a3c" /dev/nvme0n1p1: UUID="B78D-F611" BLOCK_SIZE="512" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="94c2d79e-02a3-4af8-bb8c-e62a1ebadf47" /dev/nvme0n1p4: UUID="26b85275-6dc9-4ffa-914c-e992d216a3e6" TYPE="swap" PARTUUID="5a906783-7377-48b8-ab47-c0f45d861171" /dev/nvme0n1p2: UUID="27d17ecd-07db-46e6-ace5-6edbfd06724f" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="44d9d521-cf65-414d-ba2b-f69927b5bcab" /dev/zram0: LABEL="zram0" UUID="823c4078-30b0-489e-8f48-5b818696680d" TYPE="swap" ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org 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@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
Re: Nvidia Driver Turned Off?
> On 26 Jun 2023, at 09:08, Stephen Morris wrote: > > I was just expecting the kmod/akmod nvidia drivers the system was using when > I did the upgrade would still be being used until I rebooted, but that seemed > to not be the case. The upgrade does not do anything to the already loaded kernel modules. You must reboot to be able to use the new drivers. Until then the system uses the old, already loaded, drivers. Maybe there is user mode code that was upgraded that caused the issue? Barry Barry ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org 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@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
Re: Nvidia Driver Turned Off?
On 26/6/23 03:47, Barry Scott wrote: On 25/06/2023 13:20, George N. White III wrote: You should check the version of the nvidea drivers you are currently using. If you don't want to wait 5 minutes there are ways to determine that the installation has finished, e.g, using journalctl. The way I use to figure out its safe to reboot is to check for an running jobs using: systemctl list-jobs That will show the akmods service running after you do the dnf update. Once list-jobs is empty you can reboot. I have that scripted into into code I use to update and reboot my fedora machines. Barry Thankyou for the responses everyone. I'm using the kmod and akmod nvidia drivers from the rpmfusion repositories and I didn't do a reboot after the upgrade, I accessed an email containing a link into one of the games I play through firefox, but it would not run because it could believed hardware acceleration was disabled, and I know hardware acceleration for this game doesn't work with the nouveau drivers. I was just expecting the kmod/akmod nvidia drivers the system was using when I did the upgrade would still be being used until I rebooted, but that seemed to not be the case. regards, Steve ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org 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@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue OpenPGP_0x594338B1DE179AB2.asc Description: OpenPGP public key OpenPGP_signature.asc Description: OpenPGP digital signature ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org 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@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue