[Arm-dev] Using zram-swap

Gordan Bobic gordan at redsleeve.org
Fri Oct 12 17:04:33 UTC 2018


Because bloatware and OOM killer?

On Fri, Oct 12, 2018 at 6:03 PM Fred Gleason <fredg at paravelsystems.com>
wrote:

> On Oct 12, 2018, at 12:25, Gordan Bobic <gordan at redsleeve.org> wrote:
>
> Because swapping to SD card is slow, swapping to zram is fast, and zram
> only takes about 1/2 of the RAM that it provides.
> It's basically RAM compression.
> It works and makes a positive difference, even without exceedingly slow
> storage.
>
>
> Right, but that begs a larger question: why swap *at all*? The whole point
> of virtual memory in the first place was as a performance hack to allow the
> processor to see a larger memory space than can be accommodated by core RAM
> alone. For certain workloads, in situations where one has a mass storage
> device upon which to place the swapped memory pages, this makes sense; but
> when the ‘storage device’ is the very core RAM that one is attempting to
> ‘extend’, it becomes a completely self-defeating exercise; complexity for
> the sake of complexity.
>
> Cheers!
>
>
> |----------------------------------------------------------------------|
> | Frederick F. Gleason, Jr. |              Chief Developer             |
> |                           |              Paravel Systems             |
> |----------------------------------------------------------------------|
> |   An expert is a person who avoids the small errors while he sweeps  |
> |   on to the grand fallacy.                                           |
> |                                           -- Benjamin Stolberg       |
> |----------------------------------------------------------------------|
> _______________________________________________
> Arm-dev mailing list
> Arm-dev at centos.org
> https://lists.centos.org/mailman/listinfo/arm-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/arm-dev/attachments/20181012/b9da7b0f/attachment-0001.html>


More information about the Arm-dev mailing list