If you put swap in zram, you are paging from RAM to RAM. May as well just not use swap and save the cycles.
- 0 Posts
- 212 Comments
Zram does not impede disk cache, it’s a block device with compression, unavailable to the kernel for anything else.
I do wonder what you’re trying to achieve by moving swap to zram? You’re potentially moving pages in and out of swap for no real reason, with compression, where the swap wouldn’t have occurred if zram weren’t in place.
non_burglar@lemmy.worldto Selfhosted@lemmy.world•Proxmox Plex Hardware Acceleration English1·18 hours ago-
Nesting=1. This isn’t about virtualizing inside the container, it allows internal resources to access parent resources.
-
You should only need the cgroup2 entries, but they should be pointing to the correct devices:
- cgroup2 entries to allow rwm access to the correct device
- /dev/dri dir and file entries that specify bind,optional,create
Nvidia example, but quicksync is similar:
lxc.cgroup2.devices.allow: c 226:0 rwm lxc.cgroup2.devices.allow: c 226:128 rwm lxc.mount.entry: /dev/dri dev/dri none bind,optional,create=dir lxc.mount.entry: /dev/dri/renderD128 dev/renderD128 none bind,optional,create=file
-
non_burglar@lemmy.worldto Selfhosted@lemmy.world•Share single service via WireGuardEnglish1·2 days agoYes, since Tailscale is based on wireguard.
Probably not the best practice, though, since any device that connects will be allowed to use the service if there is no authentication on the cert.
non_burglar@lemmy.worldto Linux@lemmy.ml•[Solved] Can I upgrade my server directly from Debian 11 to 13 without problems?3·3 days agoHonestly, there were so many fundamental changes in the 13 upgrade for certain packages that I had to fix on a couple of machines that I’d be hesitant to try no-scoping the 11 > 13 upgrade.
I flew by the seat of my pants and managed to pull off 10 directly to 12, but I wouldn’t do it for this one.
non_burglar@lemmy.worldto Linux@lemmy.ml•[Solved] Can I upgrade my server directly from Debian 11 to 13 without problems?201·3 days agoNo.
By itself, apt will give you headaches.
Debian migrated to new paths for security non-free firmware in repositories from 11 to 12, and apt goes to v3 in 12 to 13, which changes the format of sources. There is a new apt modernize-sources command, but it assumes your paths are correct.
If you know what you’re doing, you can do this by correcting the repo paths and do the without-new-packages upgrade, but be prepared to fix apt.
If you’re a casual user, maybe stick with 11>12>13.
non_burglar@lemmy.worldto Selfhosted@lemmy.world•How to set up backup for media files on Proxmox?English1·2 days agoIf the target is zfs, use zfs send. If the target is anything else, rsync.
Schedule it with cron.
Be aware that with zfs snapshots, you need to replay them to restore, which means you’ll periodically need to do a full backup. ClaraSystems has a number of guides on how to create zfs datasets to make efficient backups the way you want.
Edit: KlaraSystems, sorry.
I had a very old install, migrated from 2016. It broke on nearly every upgrade, where I’d have to invoke some occ command to fix the db. It was more work than was worth having Nextcloud.
Now I have syncthing and radicale.
Radicale. I just finished setting it up and with that, I can now finally shut down Nextcloud.
non_burglar@lemmy.worldto Selfhosted@lemmy.world•Have you tried self-hosting your own email recently?English4·3 days agoI don’t think they want to bother with the administration, they were forced to to stop anyone from spamming from random SMTP servers.
Because of dmarc and DKIM, we don’t really need this anymore, but there were good reasons for it.
non_burglar@lemmy.worldto Linux@lemmy.ml•How's your experience with samba shares on Linux?20·5 days agoIn general, follow samba’s tunjng guidelines, particularly what not to set.
non_burglar@lemmy.worldto Selfhosted@lemmy.world•I got hooked on browsing openalternative.co's "Most Popular" listEnglish17·5 days agoThis list is terrible. These are all “Ai-powered” apps that have mostly better and established alternatives.
non_burglar@lemmy.worldto Selfhosted@lemmy.world•Sep 12, 2025 - Self-Host Weekly by Ethan ShollyEnglish163·6 days agoPlex isn’t perfect, but jellyfin X Y Z
Really, my guy? You forget that Plex takes things away after saying they wouldn’t? You’re happy with your paid Plex pass… Until Plex decides one day that your pass isn’t lifetime anymore. Or that it doesn’t cover the features it used to. And yes, Plex has lied about this before. That’s why so many ppl are pissed at Plex.
And please give an example of “jellyfin being held back”, whatever that means.
Ethan Sholly, if you don’t know anything about how FOSS works, just listen and stop talking.
I went the other way; I had a Dell r430 and downsized to two hp elitedesk g4 mini. Together, they use less than half of the power of the 1u server.
But I am never satisfied, I’m sure I’ll want to iterate again next year.
On what platform?
non_burglar@lemmy.worldto Linux@lemmy.ml•Using Claude Code to modernize a 25-year-old kernel driver – Dmitry Brant1·8 days agoI believe that when the bubble bursts, education will be one genuine usecase for LLMs.
When the bubble bursts, what will survive is what makes money. Education doesn’t make money unless it’s in the national interest.
Sure, I can accept that.
I don’t particularly have an opinion on artist compensation vs listener freedom when it comes to this. Obviously, I would prefer artists were paid what they deserve, but I don’t like participating in the fallacy that the end user is ethically responsible for the bullshit music industry infrastructure not paying artists properly.
I give where I can, but I’m just some person.
non_burglar@lemmy.worldto Selfhosted@lemmy.world•Why I Ditched Spotify, and How I Set Up My Own Music Stack | LeshiCodesEnglish3·9 days agoI think like this solution the best.
Not if you’re buying them 2nd hand on eBay, which would represent the bulk of building a collection.
To be clear, im not trying to detract from the effort, it’s just op mentioned artists not getting paid what they deserve.
zswap is specifically built to this end and far better suited to it.
zram is great, but it is simply a ramdisk and inappropriate to ops task. It cannot dynamically grow/shrink or deal with hot/cold pages.