-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 On Fri, 2020-06-05 at 02:03 -0600, Chris Murphy wrote: > On Fri, Jun 5, 2020 at 1:33 AM Igor Raits > <ignatenkobrain@xxxxxxxxxxxxxxxxx> 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. > > Hmmm. 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 > contrived > cases to expose the hypothetically better LRU basis efficiency for > what to evict from the cache to the swap-on-disk device. But making > it > easier for people to do these experiments with real workloads is a > big > part of the feature, while keeping the defaults conservative for > starters. > > > > 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. A > 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. I understand that we do not want to automagically remove physical swap on upgrade, but it would be nice to have howto that describes how to enable zram together with removal of physical swap. > > > > -- > Chris Murphy > _______________________________________________ > devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx > To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx > Fedora Code of Conduct: > https://docs.fedoraproject.org/en-US/project/code-of-conduct/ > List Guidelines: > https://fedoraproject.org/wiki/Mailing_list_guidelines > List Archives: > https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx - -- Igor Raits <ignatenkobrain@xxxxxxxxxxxxxxxxx> -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEcwgJ58gsbV5f5dMcEV1auJxcHh4FAl7Z/5gACgkQEV1auJxc Hh4wuxAAqGsG3tdWdSEQl3VxEzL474KvKZMWjJ4JMRt4LPjvvr6U5zexeL+V8iPj vKRPfV6DGZy/cKmn4LlKK/t+C4ITYyTCK2x96CsL0qtNKC1xp5UoxBvgr/dKj4ao bBHjzQqubjW21FedOHfblECx8uGL+1taKENb2oNr+s0AOVAxXW9U88/GSf/bwJbC 8QDqeEuW4Ea3Lmr/3z19QchCH7EzQJqgpOrkPw5Q1b/aLcTdcqeO9jKOzBMUxyJe czuOGkFELcKRECJwvPTF7nkXBG48kIVGe/JJ57l66+RzF6djd4//IW58Qtj9aI8q HjN/LwdsgxcknSeF/tCXDkTk/STYLJ7C6WqdHJGEf+nHId54GrkYyXjRgIXFuy+P gM3TPtX8RJ5dFBpmOubGgMeQBos6doFWxKGCnER7s2qDBUOwv+EZUSx6IP7PdYA/ C9NF4vBb/qhhbR3zfBcdPYfbEmA+CUxabop81mmOIv1Q/xs0xsIkbMqg/nO0ya4q K2VmFmR3SMBVcXGWiY7G6MHk1rGIn1TWOtAlVYPgUoFS55e/ES5LG8SvCw2Vf7jP IBBEqoiphchhCUR7h/V0k4nT5TLXsdIkZHxKZVccHqGdUY7sPea09eX2Pv+jtKv4 OqqDEKD+XO+cXh5CHRZeLnJrKJfNkdRJ9Ur5pBq+/b4ZG5tjjH4= =ocnt -----END PGP SIGNATURE----- _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx