Examples could be things like specific configuration defaults or general decision-making in leadership.

What would you change?

  • Samueru@lemmy.world
    link
    fedilink
    arrow-up
    42
    arrow-down
    4
    ·
    edit-2
    11 months ago

    Some defaults I would like to see:

    • Have zsh as the interactive shell (And also have its dotfiles in a better location like XDG_CONFIG_HOME/zsh)

    • Btrfs with compression enabled and subvolumes set. (Maybe also timeshift installed, not sure because not everyone uses timeshift for btrfs snapshots).

    • ZRAM (With proper sysctl.conf like PopOS does).

    • Pacman as the package manager with an Aur helper already installed.

    • No bloat™ preinstalled, nothing of shipping flatpak or snap by default or even a DE. So I can just boot into a tty without having to do the minimal install from zero.

    • Comply with the FHS and XDG specs (Arch removeding installs packages to /opt and doesnt set ~/.local/bin as part of PATH)

    • Dont break userspace (arch did this recently with an update to glibc that removed a patch that breaks steam games)


    Edit: Also forgot to mention:

    • Ship x86-64 v3 binaries, common arch, even Gentoo is doing it while on arch you have to use non official repos.
    • bazsy@lemmy.world
      link
      fedilink
      English
      arrow-up
      5
      ·
      11 months ago

      Btrfs with compression enabled and subvolumes set.

      And enable/automate maintenance services for BTRFS. For example: balace should be run on heavily used system disks or scrub could help detect errors even on single disks.

      ZRAM (With proper sysctl.conf like PopOS does).

      Could you explain the preference of ZRAM over ZSWAP? I thought the latter was the more advanced and better performing solution. Is there some magic in Pop’s config?

        • bazsy@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          edit-2
          11 months ago

          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.

          • Samueru@lemmy.world
            link
            fedilink
            arrow-up
            1
            ·
            edit-2
            11 months ago

            Oh I can tell you that zram will not result in an OOM that zswap would prevent:

            I once ran into a bug when using foobar2000 with wine to convert my music library that resulted in an insanely high ram usage, like my 16 GIB ram was filled and then my 32 GIB zram was also filled and the PC froze.

            I just went and edited my zram config to make my zram 48GIB and ran foobar again, it ended the conversion without issue kek. No idea wtf happened but whatever data was being written in memory was being compressed good by zRAM, like very few people would even use a swap partition or file that is more than 32 GIB to begin with.

            I also tested running Zelda tears of the kingdom in yuzu using 4GiB of ram with a big zram and it worked, that game in yuzu is a ramhog and on windows people need 16 GiB of ram and they still max out their swapfile.

            There is also a vid on yt titled zram vs windows pagefile where a user running endevour demostrates how zram can take a bunch of Minecraft mods while windows with the help its of pagefile cant

            Edit: Here is the vid: https://www.youtube.com/watch?v=nMYTBsjeoTc

    • lud@lemm.ee
      link
      fedilink
      arrow-up
      3
      ·
      11 months ago

      If you don’t want ANYTHING installed by default you should probably just go for the specialized distros that provide that.

      • Samueru@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        edit-2
        11 months ago

        The issue with many of those distros is that it usually means that you have to install everything from 0.

        Arch is good at this because the archinstall script speeds it up and you don’t have to choose a DE. But with other distros that use a graphical installer, you are forced to use whatever they ship as the default desktop environment.

        edit: And holy removed properly configuring Btrfs subvolumes from 0 is something that I tried with voidlinux and I ended up breaking the entire install.