I’ve run Arch without swap for many years without issues. The key of course is that you need enough RAM for what you are trying to do with your computer.
There’s no reason why a 32GB RAM + 0GB swap system should have more problems than a 16GB RAM + 16GB swap system with the same workload. If anything, the former is going to run much better.
I run a lot of VMs; I typically run 2 at the same time in addition to running other programs in the background, my usecase is more eccentric than most users in the Linux space which is already pretty niche
What is finicky about a swap file?
It’s just this:
mkswap -U clear --size 4G --file /swapfile swapon /swapfile
Done
I’m using BTRFS with LUKS-based Full Disk Encryption, the last time I used swapfiles with BTRFS with FDE it was in 2019 and it was painful to say the least, I rememeber spending several weeks scouring Stack and the Arch forums in order to get it to work properly.
If anything it’s way easier to create a file in your filesystem than having to (re-)partition your drive to have a swap partition. Much more flexible too if you want to change your swap configuration in the future.
swapfiles are great in that you can resize them at will, however after trying all 3 options I found myself questioning when would I even want to resize swap for a single system, so at a certain point I felt that swapfiles were more of a gimmick cause again you don’t really want to depend on swap if can.
after a quick preliminary search,
a couple of things I’ve found out:
this might not necessarily be adopted by the mainstream desktop users, due to the nature of zram compressing data in addition to disallowing hibernation
Hibernating to swap on zram is not supported, even when zram is configured with a backing device on permanent storage. logind will protect against trying to hibernate to a swap space on zram.
to me atm; zram seems great for server based systems rather than for desktop users’ systems
one other method for zram mainstream adoption is to encourage an eccentric system that I’m currently using, which is to have the host system only contain minimal packages to run Virtual Machines:
sorry for the long comment!
stuff like this interests me the most so I’ve spent a lot of time in learning and tinkering around🤗
definitely agreed on against using swap as memory as much as you can especially since it can needlessly wear out your ssd (m.2 on most if not all on modern systems)
allocating swap is still necessary as it provides features such as:
On my journey to learning Arch Linux I’ve personally tried:
the last two doesn’t guarantee 0 problems as user errors such as allocating too much system memory to VMs can cause issues for the host system, but it does tend to mitigate the majority of issues that prevent the perception of system stability in comparison to Windows or Macs
this seems like a great idea as it provides proof in writing just in case the stakeholder complains later on about the thing you implemented at their request
if you wouldn’t mind
Please mark as NSFW🤗
this is such a weird situation that I’m pretty sure that the court would also agree with her as most people (including me) wouldn’t know about the vehicle classification let alone knowing that electric ridable suitcases are a thing
anyways thanks for sharing this interesting/funny post!
huh I guess it might be federation issues, either way fair enough!
For next time, plesase remove the duplicate posts instead of leaving them with the edited title “Deleted”
besides that it’s a simple mistake so you’re good🤗
yup, you’re more likely to have a better time with Linux if you have an AMD gpu
currrently if you get an NVIDIA gpu, you’d miss out on features like explicit sync and triple buffering, NVIDIA’s getting better about supporting Linux via open source drivers, although with their current focus/obsession on AI (and decrease on the gaming market based on Jenson’s recent behavior towards gamers at Computex 2024) it’s hard to tell what efftect that might have for driver support
by crossposting here I’m hoping to help people who’d like some help getting started with Linux/or solving Linux related problems🤗
the current conservative Albertan government is a joke
Calgary’s having a water crisis and not once have I heard that Danielle or her party is doing anything to help
Mental Outlaw’s vid is probably a good place to start, afterwards I’d recommend reading Libreboot’s documentation
Edit:
how can I check the ROM after I run the command
./build roms t440plibremrc_12mb
ah rip, I didn’t catch this part sorry
unfortunately I’m not the right person to answer that, hopefully someone else might know
congrats to jellygiggler69😂
great name to attach an official award to lamo
it’s not offensive,
anyways thanks!
if you wouldn’t mind
please mark as NSFW~
NixOS on my laptop and Arch on desktop
desktop’s having occasional graphical issues but that’s primarily due to my gtx1080 showing it’s age
Laptop’s doing good although I’ll never buy an Asus laptop ever again (battery charging issues)
thank you!
I’ve added hyfetch to the post🤗
sorry I didn’t do it earlier, had to deal with family stuff!
it’s why I made the TLDW summary as I wanted to save everyone’s time🤗
if so that’s pretty dope!