TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: DENNIS LEE BIEBER
from: DRUCK
date: 2020-01-28 19:35:00
subject: Re: Question about ever g

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)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.