• 3 Posts
  • 31 Comments
Joined 1 year ago
cake
Cake day: June 14th, 2023

help-circle





  • If you are looking to reduce the build’s cost consider a cheaper motherboard or a used GPU. The Asrock B650M-HDV/M.2 is the lowest you should go if it has all the connectors you need. As for buying used video card it’s always a bit of risk, but as the most expensive component you could save the most on that. Since all AM5 CPUs have an integrated GPU you could build without the dedicated GPU first.






  • Thanks for the links! I updated my config from z3fold to zsmalloc and adjusted the vm.page-cluster to test these out.

    Reading a bit more, I think when using large max_pool_percent (>30) with Zswap the two solutions are more similar than not. A crucial difference is what use-case is more acceptable since Zswap can cause unresponsiveness (and potential lockup) under high memory pressure. While Zram could result in an OOM crash in a similar worst-case scenario.






  • bazsy@lemmy.worldtoLinux@lemmy.mlAMD GPUs are cursed for me
    link
    fedilink
    English
    arrow-up
    2
    ·
    9 months ago

    Most distros use systemd and its logging solution: journald. You can use journalctl to read the logs around the time of the crash for e.g.:

    • journalctl -S -5m this shows the last 5 minutes. Use this when a game crashes but the system continues working and did not reboot.
    • journalctl -b -1 -S -10m this shows the last 10 minutes from the previous boot. Use this if the crash froze the whole system and rebooted.

    Look for red lines (errors) and what wrote them. AMD GPU faults usually have the ‘amdgpu’ mentioned, memory errors could appear as ‘protection fault’.



  • For the storage you have an additional option: converting a PCIe slot to M.2 Nvme is possible with a passive addin card. This way you could keep the current OS drive and add a 2TB m.2 instead of a SATA one. Since M.2s are quite cheap I went this route last year. Just be warned that secondary x16 slots are slower: it looks like 2.0 x4 for the b450-a pro max.



  • bazsy@lemmy.worldtoLinux@lemmy.mlHelp on BTRFS setup
    link
    fedilink
    English
    arrow-up
    6
    ·
    10 months ago

    Do I need to disable compression on my swap subvolume?

    Short: No

    Long: it doesn’t matter when mounting multiple subvolumes of the same btrfs partition the options from the first one (usually /) will apply to all. So even if you disable it, that will be ignored.

    The old way of creating swap shows the chattr +C line which disables CoW. The same method should work for your Downloads folder since CoW is needed for snapshotting.