[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-user
Subject:    [gentoo-user] Re: [OT] suggest SSD partitioning
From:       Nikos Chantziaras <realnc () gmail ! com>
Date:       2021-12-10 15:16:51
Message-ID: sovr14$f2p$1 () ciao ! gmane ! io
[Download RAW message or body]

On 09/12/2021 21:27, pat@xvalheru.org wrote:
> I'm planning small /boot partition, / partition and /data (including 
> home) partition.

I just use one partition. What's the point of having multiple ones if
they're all on the same storage device?


> But I'm not sure if I should create a swap partition or swap to 
> file. I'm daily hibernating the system to disk. And what should be 
> the size od the swap same as RAM or bigger?
The "perfect" setup here would be to get a very small SSD (and those 
tend to be very cheap), like a 64GB one for $20 or thereabout, and use 
that as your swap. Just a single swap partition that uses all available 
storage space.

I don't like swap being on my main SSD, since SSDs wear out when you 
write to them. If you're hibernating the system all the time, that 
results in quite a lot of data being written. Having a cheap small 
dedicated SSD for that where you don't care much about its longevity 
sounds like a good idea to me.

If you can't do that, then it doesn't matter much whether you use a swap 
file or partition. On an SSD, both should perform about the same. On an 
HDD, swap files could run into fragmentation issues if you resize them 
or create them incorrectly. On an SSD, fragmentation doesn't have much 
of an impact. A swap file gives you the option to resize it later on 
without having to do filesystem and partition resizing, so I'd say a 
swap file sounds better.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic