On 27/01/2020 21:22, Dennis Lee Bieber wrote:
> And that brings up the biggest problem with a Linux swap file -- it is
> likely not going to be contiguous even on disk
Not a huge problem as it tends to be pretty random reads and writes of
page sized data. It wouldn't make much difference even with a swap
partition, which would be a single continuous area.
> AND if on an SD card (or
> other flash media -- even an SSD can be killed by a system that is swapping
> heavily)... Flash memory behavior means that it is likely every page swap
> to SD card will trigger a new allocation unit erase/write cycle and wear
> leveling means nothing is contiguous.
That is the big problem with swap on flash, but its the pattern of
random accesses rather than fragmentation of the file which gives such
bad performance.
---druck
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|