[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

swap file vs swap partition which one do you use?

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 20
Thread images: 1

File: swap-in-ubuntu.jpg (14KB, 252x281px) Image search: [Google]
swap-in-ubuntu.jpg
14KB, 252x281px
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
Thread posts: 20
Thread images: 1


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.