-----BEGIN PGP SIGNED MESSAGE-----
On Fri, 2020-06-05 at 10:17 +0200, Igor Raits wrote:
On Fri, 2020-06-05 at 02:03 -0600, Chris Murphy wrote:
> On Fri, Jun 5, 2020 at 1:33 AM Igor Raits
> <ignatenkobrain(a)fedoraproject.org> wrote:
> > > == Upgrade/compatibility impact ==
> > >
> > > Add Supplements:fedora-release-common to zram-generator to pull
> > > it in
> > > on upgrades.
> > I would do it other way around just to keep logic sane.
The fedora-release package is a "dummy" one, so there is no reason to
"Supplement" it because it is meaningless, but having it other way
around should be better.
> > > Existing systems without swap will have swap-on-zram enabled.
> > >
> > > Existing systems with swap-on-drive, will also have swap-on-
> > > zram
> > > enabled (two swap devices), with higher priority for the zram
> > > device.
> > > Existing swap-on-drive will not be removed.
> > It would be nice to see this in action, what kind of issues this
> > might
> > bring.
> A future feature might be zswap for this case. I've done a lot of
> testing with that too but I think it needs some synthetic or
> cases to expose the hypothetically better LRU basis efficiency for
> what to evict from the cache to the swap-on-disk device. But making
> easier for people to do these experiments with real workloads is a
> part of the feature, while keeping the defaults conservative for
> > I would appreciate here how to get to the state from swap-on-disk
> > (default workstation) to the new swap-on-zram (new default
> > workstation). So that people can see better how they would be
> > affected
> > by this change.
> Good point. The feature for priority is not yet in zram-generator.
> work around is to swapoff /dev/zram0 and then swapon -p 3000
> /dev/zram0. Now it has higher priority than swap-on-disk.
I mean to convert existing installation to the new way that would be
installed from scratch, so have only zram and not have physical swap.
understand that we do not want to automagically remove physical swap
upgrade, but it would be nice to have howto that describes how to
enable zram together with removal of physical swap.
That should also include how to modify resume= parameter and regenerate
BLS / grub configuration.
> Chris Murphy
> devel mailing list -- devel(a)lists.fedoraproject.org
> To unsubscribe send an email to devel-leave(a)lists.fedoraproject.org
> Fedora Code of Conduct:
> List Guidelines:
> List Archives:
Igor Raits <ignatenkobrain(a)fedoraproject.org>
-----BEGIN PGP SIGNATURE-----
-----END PGP SIGNATURE-----