BBS:      TELESC.NET.BR
Assunto:  Re: Adding a hardware swap partition
De:       Theo
Data:     Fri, 13 Mar 2026 14:16:26 +0000
-----------------------------------------------------------
The Natural Philosopher  wrote:
> I think that is an interesting summary, the point being made that speed 
> is dominated today by disk access times, not CPU cycles in addressing  a 
> file system.
> And with the demise of spinning rust, there is no seek delay either, so 
> the theoretical advantages of an actual partition in the disks low 
> sector area, no longer outweigh the operational simplicity of a swap file.
> 
> Like so many other things that grew out of limited RAM and slow spinning 
> rust disks, the swap partition is really no longer necessary...

One advantage of a swap partition is that it's a dedicated space - if you
start running low on space it may limit the size of swapfile that can be
created, which has a knock-on impact on performance.

Another reason is if you're using hibernate.  You need swap space at least
as large as RAM to save out your memory contents to, so that can prevent
hibernate working if you are running low on space.  Also hibernate/restore
is a fairly low-level process and swap partitions are easier to setup for
that than swap files.

Theo

--- PyGate Linux v1.5.13
 * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)

-----------------------------------------------------------
[Voltar]