On Thu, Jun 8, 2017 at 3:30 AM, Michael Stahl <mstahl(a)redhat.com> wrote:
what's the point of putting swap onto a hard disk in the first
place,
with today's RAM sizes (or even 10 years ago) of GBs, when swap is read
in unpredictable random order that incurs 10ms of latency each time?
It suggests maybe zram to obviate the need for either a swap device or
file; at least on the workstation product. Maybe the other products
would prefer zswap, or just leaving things as they are.
even worse, the most memory intensive applications on most users'
desktop is the web browser, which is garbage collected, and there is the
well known problem that there are no interfaces in POSIX that would
enable swapping of a GC'd heap to have acceptable performance.
It'd be interesting to see if zram suffers from the same problem
during memory pressure.
--
Chris Murphy