Rescuer6394

joined 2 years ago
[–] Rescuer6394 1 points 2 years ago (1 children)

when you reinstall, try to use btrfs (idk if kde neon support it in the installer)

then use timeshift to do a snapshot every day and a snapshot before upgrade. but set it up so that there are not more than ~10 snapshots.

next time something goes wrong you can restore the last snapshot.

Some distros also set it so you have previous snapshots as boot entries in grub.

[–] Rescuer6394 6 points 2 years ago

sync has block and filter.

block is generic lemmy, filter is sync specific.

you can filter keywords, users, communities and instances.

you can only block users and communities.

[–] Rescuer6394 11 points 2 years ago

i don't think you can subscribe to lemmit.online, the only user is the bot, and the only purpose of the instance is to archive stuff.

[–] Rescuer6394 -4 points 2 years ago (2 children)

i don't think this is foss https://play.google.com/store/apps/details?id=com.notebloc.app

it has ads, but you can pay one time to remove them.

[–] Rescuer6394 1 points 2 years ago

i do it... and that's bad right?

[–] Rescuer6394 7 points 2 years ago* (last edited 2 years ago) (1 children)

for docker the syntax is --gpus all

https://docs.docker.com/config/containers/resource_constraints/#expose-gpus-for-use

bonus: syntax to expose the gpu in a docker compose

    deploy:
      resources:
        reservations:
          devices:
            - driver: nvidia
              count: 1
              capabilities: [gpu]

more at https://docs.docker.com/compose/gpu-support/#example-of-a-compose-file-for-running-a-service-with-access-to-1-gpu-device

[–] Rescuer6394 1 points 2 years ago

thank you for the link, i actually understood what this does.

[–] Rescuer6394 1 points 2 years ago

wait till you hear that in Italy we have 14

but only if you are lucky and it's heavily taxed.

[–] Rescuer6394 5 points 2 years ago* (last edited 2 years ago)

check if zswap is already enabled:

zgrep CONFIG_ZSWAP_DEFAULT_ON /proc/config.gz

https://wiki.archlinux.org/title/zswap

[–] Rescuer6394 3 points 2 years ago

i have 8gb on my server, and i need stuff like zram / zwap to keep all the services running. still swaps out ~10gb. but it is on ssd and is fast enough.

[–] Rescuer6394 8 points 2 years ago* (last edited 2 years ago) (7 children)

Isn't zswap enabled by default?

having zram + swap on disk isn't the same as having zswap + swap on disk? the difference should be only that zram show as a swap device while zswap does not.

having only zram, you are still confined by the total ram you have. idk how the average compression ratio is, but you can gain 1.5x ram max. to get more, you need a physical swap device.

is there an advantage of using zram instead of zwap? when you still have a physical swap with lower priority.

bonus question: What if I use all 3 of them? would this just be redundant?

view more: ‹ prev next ›