swap file vs swap partition which one do you use?
neither because I'm not a RAMlet
Neither normally, but I have a swap file enabled right now.
Is there really much difference i/o wise, is swap space even an issue nowadays with massive amounts of ram shoved into systems
i generally don't need swap with over 4GiB of memory.
partition for sure though.
Btrfs doesn't support swapfiles because of the nature of it and it's way too useful for me to use some cuck shit like LVM and ext4/xfs with swapfiles instead.
>>59802511
>>59802523
What about hibernation (suspend to disk)?
>>59802511
> http://unix.stackexchange.com/questions/190398/do-i-need-swap-space-if-i-have-more-than-enough-amount-of-ram
>>59802523
>>59802659
Partition for this reason, with disk space being no problem even for the once in a year hibernation it's fine to give 8GB away.
>>59802659
what about it?
systemd and efi fastboot brings my system up in like a few seconds at worst.
Neither swap is pointless in 2017
>>59802500
Swap file, on my scratch filesystem which is striped across a couple of SSD.
I had tried using swap partitions on each device, but performance was a bit better with the striped file. Enabling zswap helped a bit more.
The box in question has 64 GiB of ram, so I'm using 128 GiB of swap on the SSD, and an additional 128 GiB on spinning disk; which is set to a low priority and is just there to give me time to add more SSD swap.
Most of the processing I do, the memory usage is under 60 GiB, but I get the occasional project where the memory usage can hit a couple of hundred gigs, and it's hard to tell in advance what the resource requirements will be.
Files are stupidly easy to manage. Not a single reason to use a partition.
>>59802739
What do you do with your computer?
>>59802743
unless you use btrfs
>>59802702
If on a laptop, away from power, (yes always save) but having everything set the same is nice when traveling.
For a desktop I can get into the 'don't need no hibernation'. {Unless unstable powergrid at certain hours/night}
At work even with over hours you just sometimes have to call it a day and hibernation makes it easier the next morning.
>I am talking about encrypted swap
Unless you somehow can't spend the the drive space for the equivalent of your RAM.
>I don't know much about servers but hibernation is that sense such weird in the least.
>>59802678
No REAL reasons given in favor of using swap.
The top answer is totally garbage :
>muh you have enough ram but it's not enough so you need a swap
wtf is that retard even saying...
>>59802702
Can you fastboot right into your workflow again? I would imagine you'd have to start everything back up again. Maybe I'm wrong, but I don't see how it could truly replace suspend to disk.
>>59802916
>suspend to disk
>not suspend to ram
lol brainlet detected
>>59803017
>Thinks suspend to ram is always the better answer
>>59803017
>he doesn't use full disk encryption
Pleb detected