Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-07-29 Thread stan via devel
On Tue, 28 Jul 2020 13:51:00 -0600 Chris Murphy wrote: > That information is stale. The feature page has been updated. > > man page contains: > >To disable a configuration file supplied by the vendor, the > recommended way is to place a symlink to /dev/null in the > configuration direc

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-07-29 Thread Chris Murphy
On Wed, Jul 29, 2020 at 12:56 AM John M. Harris Jr wrote: > > On Tuesday, July 28, 2020 12:51:00 PM MST Chris Murphy wrote: > > On Tue, Jul 28, 2020 at 11:29 AM stan via devel > > wrote: > > > > > > > > > > > On Thu, 4 Jun 2020 16:30:07 -0400 > > > Ben Cotton wrote: > > > > > > > > > > > > > htt

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-07-29 Thread Sergio Belkin
El lun., 6 jul. 2020 a las 18:15, Samuel Sieb () escribió: > On 7/6/20 1:48 PM, Sergio Belkin wrote: > > At > > > https://fedoraproject.org/wiki/Changes/SwapOnZRAM#Why_systemd_zram-generator.3F > > it says: > > > > "Do not create swap partition/LV with default installations." > > I don't understan

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-07-28 Thread John M. Harris Jr
On Tuesday, July 28, 2020 12:51:00 PM MST Chris Murphy wrote: > On Tue, Jul 28, 2020 at 11:29 AM stan via devel > wrote: > > > > > > > On Thu, 4 Jun 2020 16:30:07 -0400 > > Ben Cotton wrote: > > > > > > > > > https://fedoraproject.org/wiki/Changes/SwapOnZRAM > > > > > > > > > How can it be

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-07-28 Thread Chris Murphy
On Tue, Jul 28, 2020 at 11:29 AM stan via devel wrote: > > On Thu, 4 Jun 2020 16:30:07 -0400 > Ben Cotton wrote: > > > https://fedoraproject.org/wiki/Changes/SwapOnZRAM > > > How can it be disabled? > > > > Immediately: > > swapoff /dev/zram0 > > > > Permanently: > > rm /etc/systemd/zra

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-07-28 Thread stan via devel
On Thu, 4 Jun 2020 16:30:07 -0400 Ben Cotton wrote: > https://fedoraproject.org/wiki/Changes/SwapOnZRAM > How can it be disabled? > > Immediately: > swapoff /dev/zram0 > > Permanently: > rm /etc/systemd/zram-generator.conf I realize this is a really late reply, but I wanted to disab

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-07-06 Thread Samuel Sieb
On 7/6/20 1:48 PM, Sergio Belkin wrote: At https://fedoraproject.org/wiki/Changes/SwapOnZRAM#Why_systemd_zram-generator.3F it says: "Do not create swap partition/LV with default installations." I don't understand if it is a description or a prescription :)I mean, can coexist swap partition/LV

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-07-06 Thread Sergio Belkin
El vie., 5 jun. 2020 a las 16:10, John M. Harris Jr () escribió: > On Friday, June 5, 2020 12:03:03 PM MST Chris Murphy wrote: > > On Fri, Jun 5, 2020 at 11:47 AM John M. Harris Jr > > wrote: > > > > > > > > > On Thursday, June 4, 2020 11:54:37 PM MST Kevin Kofler wrote: > > > > > > > > > > Also

Re: an "old-school *nix defaults" spin [was Re: Fedora 33 System-Wide Change proposal: swap on zram]

2020-06-30 Thread Markus Larsson
On 30 June 2020 16:52:52 CEST, Matthew Miller wrote: >On Tue, Jun 30, 2020 at 08:43:34AM +0200, Markus Larsson wrote: >> I have been using fedora since FC1 and there has been a few shifts. The >> latest shift seems to be a strong desire to be just another Ubuntu. That's >> fine, nothing wrong wi

Re: an "old-school *nix defaults" spin [was Re: Fedora 33 System-Wide Change proposal: swap on zram]

2020-06-30 Thread Matthew Miller
On Tue, Jun 30, 2020 at 08:43:34AM +0200, Markus Larsson wrote: > I have been using fedora since FC1 and there has been a few shifts. The > latest shift seems to be a strong desire to be just another Ubuntu. That's > fine, nothing wrong with that... Do we need more Ubuntus though? I don't know wha

Re: an "old-school *nix defaults" spin [was Re: Fedora 33 System-Wide Change proposal: swap on zram]

2020-06-29 Thread Tomasz Torcz
On Mon, Jun 29, 2020 at 06:29:09PM -0700, John M. Harris Jr wrote: > On Monday, June 29, 2020 5:04:18 PM MST Rahul Sundaram wrote: > > Hi > > > > On Mon, Jun 29, 2020 at 4:40 PM Markus Larsson wrote: > > > Thanks, I am well aware. That wasn't really the topic here. > > > > If there is a repeated

Re: an "old-school *nix defaults" spin [was Re: Fedora 33 System-Wide Change proposal: swap on zram]

2020-06-29 Thread Markus Larsson
On 30 June 2020 02:04:18 CEST, Rahul Sundaram wrote: >Hi > >On Mon, Jun 29, 2020 at 4:40 PM Markus Larsson wrote: > >> >> Thanks, I am well aware. That wasn't really the topic here. >> > >If there is a repeated feeling that anyone has that a particular edition >isn't what they are looking for, f

Re: an "old-school *nix defaults" spin [was Re: Fedora 33 System-Wide Change proposal: swap on zram]

2020-06-29 Thread John M. Harris Jr
On Monday, June 29, 2020 5:04:18 PM MST Rahul Sundaram wrote: > Hi > > On Mon, Jun 29, 2020 at 4:40 PM Markus Larsson wrote: > > Thanks, I am well aware. That wasn't really the topic here. > > If there is a repeated feeling that anyone has that a particular edition > isn't what they are looking f

Re: an "old-school *nix defaults" spin [was Re: Fedora 33 System-Wide Change proposal: swap on zram]

2020-06-29 Thread Rahul Sundaram
Hi On Mon, Jun 29, 2020 at 4:40 PM Markus Larsson wrote: > > Thanks, I am well aware. That wasn't really the topic here. > If there is a repeated feeling that anyone has that a particular edition isn't what they are looking for, figuring out how to make a different set of choices is and perhaps

Re: an "old-school *nix defaults" spin [was Re: Fedora 33 System-Wide Change proposal: swap on zram]

2020-06-29 Thread Markus Larsson
On 29 June 2020 22:33:43 CEST, Rahul Sundaram wrote: >Hi > >On Mon, Jun 29, 2020 at 4:30 PM Markus Larsson wrote: > >> >> No that doesn't help at all. It doesn't address what I wrote about many >> seeing a problem for the first time when a change is suggested and that >> this leads to more heat

Re: an "old-school *nix defaults" spin [was Re: Fedora 33 System-Wide Change proposal: swap on zram]

2020-06-29 Thread Rahul Sundaram
Hi On Mon, Jun 29, 2020 at 4:30 PM Markus Larsson wrote: > > No that doesn't help at all. It doesn't address what I wrote about many > seeing a problem for the first time when a change is suggested and that > this leads to more heated debates than needed. > I also feel alienated by the target au

Re: an "old-school *nix defaults" spin [was Re: Fedora 33 System-Wide Change proposal: swap on zram]

2020-06-29 Thread Markus Larsson
On 29 June 2020 21:50:50 CEST, Matthew Miller wrote: >On Mon, Jun 29, 2020 at 07:46:53PM +0200, Markus Larsson wrote: >> I think it would be beneficial to lift up the problems we're trying to >> solve and then work towards possible solutions. I don't think it even >> would take more time. I woul

Re: an "old-school *nix defaults" spin [was Re: Fedora 33 System-Wide Change proposal: swap on zram]

2020-06-29 Thread Matthew Miller
On Mon, Jun 29, 2020 at 07:46:53PM +0200, Markus Larsson wrote: > I think it would be beneficial to lift up the problems we're trying to > solve and then work towards possible solutions. I don't think it even > would take more time. I would probably help people commit to the problem > and possibly

Re: an "old-school *nix defaults" spin [was Re: Fedora 33 System-Wide Change proposal: swap on zram]

2020-06-29 Thread Markus Larsson
On 29 June 2020 19:30:53 CEST, Matthew Miller wrote: >On Mon, Jun 29, 2020 at 07:18:00PM +0200, Markus Larsson wrote: >> I think most of these things could be solved in better ways, I don't think >> the "change request"-route is a good way to get the discussion started >> though. It tends to bec

Re: an "old-school *nix defaults" spin [was Re: Fedora 33 System-Wide Change proposal: swap on zram]

2020-06-29 Thread Matthew Miller
On Mon, Jun 29, 2020 at 07:18:00PM +0200, Markus Larsson wrote: > I think most of these things could be solved in better ways, I don't think > the "change request"-route is a good way to get the discussion started > though. It tends to become mudslinging matches where those who proposed > the chang

Re: an "old-school *nix defaults" spin [was Re: Fedora 33 System-Wide Change proposal: swap on zram]

2020-06-29 Thread Markus Larsson
On 29 June 2020 18:44:46 CEST, Matthew Miller wrote: >On Mon, Jun 29, 2020 at 06:30:11PM +0200, Markus Larsson wrote: >> A spin feels like a commitment that involves gathering what other people >> feel and need. While I'm cautious about some changes I tend to welcome >> change in general. I just

an "old-school *nix defaults" spin [was Re: Fedora 33 System-Wide Change proposal: swap on zram]

2020-06-29 Thread Matthew Miller
On Mon, Jun 29, 2020 at 06:30:11PM +0200, Markus Larsson wrote: > A spin feels like a commitment that involves gathering what other people > feel and need. While I'm cautious about some changes I tend to welcome > change in general. I just need to see the benefits and there needs to be > reason to

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-06-29 Thread Markus Larsson
On 29 June 2020 18:06:10 CEST, Matthew Miller wrote: >On Sat, Jun 27, 2020 at 10:09:08PM +0200, Markus Larsson wrote: >> I was thinking more in the lines of a Remix. >> Mainly to avoid spending time trying to get it blessed in the right >> forums. > >Sure, you could do that too. The process is t

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-06-29 Thread Matthew Miller
On Sat, Jun 27, 2020 at 10:09:08PM +0200, Markus Larsson wrote: > I was thinking more in the lines of a Remix. > Mainly to avoid spending time trying to get it blessed in the right > forums. Sure, you could do that too. The process is to submit it as a Change to FESCo just like this one, and since

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-06-29 Thread Matthew Miller
On Sun, Jun 28, 2020 at 10:47:14PM -0400, Matthew Miller wrote: > The Council talked about this at our meeting in Minneapolis in 2018. We > didn't ask FESCo to update the technical policy to reflect the strategic > plan... but probably we should. https://pagure.io/fesco/issue/2418 (Includes links

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-06-29 Thread John M. Harris Jr
On Monday, June 29, 2020 12:58:30 AM MST Zbigniew Jędrzejewski-Szmek wrote: > On Sun, Jun 28, 2020 at 01:32:41PM -0700, John M. Harris Jr wrote: *snip* > > - Mask/disable systemd-homed > > > Doesn't do anything unless you create some users with homectl. There's no reason for it to be there, wast

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-06-29 Thread Zbigniew Jędrzejewski-Szmek
On Sun, Jun 28, 2020 at 01:32:41PM -0700, John M. Harris Jr wrote: > On Sunday, June 28, 2020 12:18:32 PM MST Zbigniew Jędrzejewski-Szmek wrote: > > On Sat, Jun 27, 2020 at 03:34:17PM -0400, Matthew Miller wrote: > > > > > On Sat, Jun 27, 2020 at 10:25:01AM -0700, John M. Harris Jr wrote: > > > >

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-06-28 Thread Matthew Miller
On Sun, Jun 28, 2020 at 07:28:34PM +0100, Peter Robinson wrote: > Technically yes, see the fedora-release-* for one of the Editions, all > the spins should have the equivalent now, not sure if there's a FESCo > policy on it though. The Council talked about this at our meeting in Minneapolis in 201

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-06-28 Thread John M. Harris Jr
On Sunday, June 28, 2020 12:18:32 PM MST Zbigniew Jędrzejewski-Szmek wrote: > On Sat, Jun 27, 2020 at 03:34:17PM -0400, Matthew Miller wrote: > > > On Sat, Jun 27, 2020 at 10:25:01AM -0700, John M. Harris Jr wrote: > > > > > Jesus Christ, this actually got approved. It's time to fork Fedora. This

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-06-28 Thread Zbigniew Jędrzejewski-Szmek
On Sat, Jun 27, 2020 at 03:34:17PM -0400, Matthew Miller wrote: > On Sat, Jun 27, 2020 at 10:25:01AM -0700, John M. Harris Jr wrote: > > Jesus Christ, this actually got approved. It's time to fork Fedora. This is > > really getting out of hand. > > As mentioned earlier, there's no need to "fork F

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-06-28 Thread Peter Robinson
> On Saturday, June 27, 2020 12:34:17 PM MST Matthew Miller wrote: > > On Sat, Jun 27, 2020 at 10:25:01AM -0700, John M. Harris Jr wrote: > > > > > Jesus Christ, this actually got approved. It's time to fork Fedora. This > > > is really getting out of hand. > > > > > > > > As mentioned earlier, th

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-06-28 Thread John M. Harris Jr
On Saturday, June 27, 2020 12:34:17 PM MST Matthew Miller wrote: > On Sat, Jun 27, 2020 at 10:25:01AM -0700, John M. Harris Jr wrote: > > > Jesus Christ, this actually got approved. It's time to fork Fedora. This > > is really getting out of hand. > > > > As mentioned earlier, there's no need

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-06-27 Thread Markus Larsson
On 27 June 2020 21:34:17 CEST, Matthew Miller wrote: >On Sat, Jun 27, 2020 at 10:25:01AM -0700, John M. Harris Jr wrote: >> Jesus Christ, this actually got approved. It's time to fork Fedora. This is >> really getting out of hand. > > >As mentioned earlier, there's no need to "fork Fedora". It

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-06-27 Thread Matthew Miller
On Sat, Jun 27, 2020 at 10:25:01AM -0700, John M. Harris Jr wrote: > Jesus Christ, this actually got approved. It's time to fork Fedora. This is > really getting out of hand. As mentioned earlier, there's no need to "fork Fedora". It sounds like there are at least of few of y'all who feel strong

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-06-27 Thread Chris Murphy
On Sat, Jun 27, 2020 at 11:25 AM John M. Harris Jr wrote: > Jesus Christ, this actually got approved. It's time to fork Fedora. This is > really getting out of hand. It will not apply to upgrades, just new clean installs. Still pending discussion with installer team on whether to also use it by

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-06-27 Thread John M. Harris Jr
On Thursday, June 4, 2020 1:30:07 PM MST Ben Cotton wrote: > https://fedoraproject.org/wiki/Changes/SwapOnZRAM > > == Summary == > > Swap is useful, except when it's slow. zram is a RAM drive that uses > compression. Create a swap-on-zram during start-up. And no longer use > swap partitions by de

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-06-15 Thread Chris Murphy
Help needed! We're discussing the parameters of the test day, and the difficulty is answering: "what are the test cases?" This comment and the one after it: https://pagure.io/fedora-qa/issue/632#comment-658340 What language simply and properly conveys that the "test case" is essentially created

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-06-14 Thread John M. Harris Jr
On Wednesday, June 10, 2020 2:50:55 AM MST Kevin Kofler wrote: > John M. Harris Jr wrote: > > > What's even more wild is that you can't easily disable it. Even though > > it's supposed to be disabled ("vendor preset: disabled") it's actually > > built into systemd, as a static unit. > > > Have y

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-06-10 Thread Kevin Kofler
John M. Harris Jr wrote: > What's even more wild is that you can't easily disable it. Even though > it's supposed to be disabled ("vendor preset: disabled") it's actually > built into systemd, as a static unit. Have you tried masking the units? Disabling tends to have only limited success (becaus

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-06-09 Thread John M. Harris Jr
On Tuesday, June 9, 2020 2:24:02 AM MST Kevin Kofler wrote: > John M. Harris Jr wrote: > > > I wonder if we could get that masked in Fedora Server and KDE Spin, > > potentially along with homed, userdb, repart (Who in the world thought > > this was a good idea?), resolved, networkd, > > systemd-xd

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-06-09 Thread Konstantin Kharlamov
On Tue, 2020-06-09 at 09:04 -0600, Chris Murphy wrote: > On Mon, Jun 8, 2020 at 4:54 PM Konstantin Kharlamov < > hi-an...@yandex.ru> wrote: > > > So, I am testing ZRAM right now (as per your advice in another > > thread). All well > > so far, however reading this makes me think I gonna stumble upo

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-06-09 Thread Richard Shaw
On Tue, Jun 9, 2020 at 3:44 AM Marius Schwarz wrote: > > And ZRAM is one of the tools, that should not be enabled by default > anyway. In a best case scenario it extends memory, but in most cases it > slows it down. With 16GB there isn't even a use-case for it. > I don't think that can be said a

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-06-09 Thread Samuel Sieb
On 6/9/20 1:43 AM, Marius Schwarz wrote: And ZRAM is one of the tools, that should not be enabled by default anyway. In a best case scenario it extends memory, but in most cases it slows it down. With 16GB there isn't even a use-case for it. It doesn't slow anything down. If you don't use it,

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-06-09 Thread Chris Murphy
On Mon, Jun 8, 2020 at 4:54 PM Konstantin Kharlamov wrote: > So, I am testing ZRAM right now (as per your advice in another thread). All > well > so far, however reading this makes me think I gonna stumble upon a point where > ZSRAM will be a better fit. > > You see, the idea of ZRAM and ZSWAP i

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-06-09 Thread Chris Murphy
On Mon, Jun 8, 2020 at 4:32 PM Konstantin Kharlamov wrote: > > Well, recent articles on LWN mention a spike in interest to hibernation¹, so > I'd expect hibernation to get improved. It's a start. They may also want to pick up the encrypted+signed work, but for different reasons. In the cloud cas

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-06-09 Thread Lennart Poettering
On Di, 09.06.20 11:24, Kevin Kofler (kevin.kof...@chello.at) wrote: > John M. Harris Jr wrote: > > I wonder if we could get that masked in Fedora Server and KDE Spin, > > potentially along with homed, userdb, repart (Who in the world thought > > this was a good idea?), resolved, networkd, > > syst

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-06-09 Thread Neal Gompa
On Tue, Jun 9, 2020 at 5:25 AM Kevin Kofler wrote: > > John M. Harris Jr wrote: > > I wonder if we could get that masked in Fedora Server and KDE Spin, > > potentially along with homed, userdb, repart (Who in the world thought > > this was a good idea?), resolved, networkd, > > systemd-xdg-autosta

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-06-09 Thread Kevin Kofler
John M. Harris Jr wrote: > I wonder if we could get that masked in Fedora Server and KDE Spin, > potentially along with homed, userdb, repart (Who in the world thought > this was a good idea?), resolved, networkd, > systemd-xdg-autostart-generator (you've got to be kidding with these > generators..

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-06-09 Thread Marius Schwarz
Am 09.06.20 um 02:03 schrieb Kevin Kofler: > I disagree. /etc should be prepopulated by packages and/or the distribution > installer. Then the directory is left for the local admin to customize. Not to speak of the fact, that you do not know which defaults are in place, if they are not visible som

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-06-08 Thread Neal Gompa
On Tue, Jun 9, 2020 at 12:21 AM John M. Harris Jr wrote: > > On Monday, June 8, 2020 5:03:20 PM MST Kevin Kofler wrote: > > Lennart Poettering wrote: > > > > > Well, if you don#t want that behaviour don't use the partition type > > > UUIDs from the "discoverable partition spec" for your partitions

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-06-08 Thread John M. Harris Jr
On Monday, June 8, 2020 5:03:20 PM MST Kevin Kofler wrote: > Lennart Poettering wrote: > > > Well, if you don#t want that behaviour don't use the partition type > > UUIDs from the "discoverable partition spec" for your partitions. > > > > It's how these type uuids are defined: > > > > https://sy

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-06-08 Thread Kevin Kofler
Lennart Poettering wrote: > Well, if you don#t want that behaviour don't use the partition type > UUIDs from the "discoverable partition spec" for your partitions. > > It's how these type uuids are defined: > > https://systemd.io/DISCOVERABLE_PARTITIONS/ > > By using these partition type uuids y

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-06-08 Thread Konstantin Kharlamov
On Mon, 2020-06-08 at 22:54 +, Konstantin Kharlamov wrote: > > On Sat, Jun 6, 2020 at 10:00 AM Richard W.M. Jones > > > > > (ZRAM) > > Compression is intrinsic to just the /dev/zram device. The swap > > code > > doesn't share pages between swap devices. The higher priority > > device > > is f

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-06-08 Thread Konstantin Kharlamov
> On Sat, Jun 6, 2020 at 10:00 AM Richard W.M. Jones wrote: > > (ZRAM) > Compression is intrinsic to just the /dev/zram device. The swap code > doesn't share pages between swap devices. The higher priority device > is favored first until full. Once full, pages don't go through the > zram module, t

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-06-08 Thread Konstantin Kharlamov
> On Fri, Jun 5, 2020 at 4:35 AM Vitaly Zaitsev via devel > > Already discussed in the 'support hibernation' thread. > > Most laptops today have UEFI Secure Boot enabled by default and > therefore hibernation isn't possible. And even when the laptop doesn't > have Secure Boot enabled, there's a fo

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-06-08 Thread Lennart Poettering
On Sa, 06.06.20 02:19, Kevin Kofler (kevin.kof...@chello.at) wrote: > Chris Murphy wrote: > > So yes it's well suited for these cases and the proposal does include > > them. If they wish to be left out, that's up to those working groups. > > It's possible to make sure /etc/systemd/zram-generator i

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-06-08 Thread Tomasz Torcz
On Mon, Jun 08, 2020 at 10:58:12AM +0100, Richard W.M. Jones wrote: > On Sun, Jun 07, 2020 at 05:25:15PM -0600, Chris Murphy wrote: > > On Sun, Jun 7, 2020 at 2:48 PM David Kaufmann wrote: > > > > > > On Sat, Jun 06, 2020 at 05:36:15PM -0600, Chris Murphy wrote: > > > > To me this sounds like too

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-06-08 Thread Richard W.M. Jones
On Sun, Jun 07, 2020 at 05:25:15PM -0600, Chris Murphy wrote: > On Sun, Jun 7, 2020 at 2:48 PM David Kaufmann wrote: > > > > On Sat, Jun 06, 2020 at 05:36:15PM -0600, Chris Murphy wrote: > > > To me this sounds like too much dependency on swap. > > > > That's not what I meant, I wanted to emphasiz

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-06-08 Thread Luya Tshimbalanga
On 2020-06-07 11:29 p.m., Chris Murphy wrote: On Sun, Jun 7, 2020 at 11:25 PM Luya Tshimbalanga wrote: On Sun, Jun 7, 2020 at 1:26 PM Luya Tshimbalanga Good to know. I proceed to remove on my desktop which has 32 GB RAM. I'm not sure whose service this is but I don't have it. After remov

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-06-08 Thread Chris Murphy
On Sat, Jun 6, 2020 at 4:55 PM Chris Murphy wrote: > Also, the zpool memory cache is > preallocated, unlike zram devices. Nevermind. This is also dynamic. "dynamically allocated RAM-based memory pool" https://www.kernel.org/doc/Documentation/vm/zswap.txt -- Chris Murphy __

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-06-08 Thread Richard W.M. Jones
On Sat, Jun 06, 2020 at 03:10:37PM -0700, Samuel Sieb wrote: > On 6/6/20 9:04 AM, Richard W.M. Jones wrote: > >On Fri, Jun 05, 2020 at 04:07:44PM -0600, Chris Murphy wrote: > >>This laptop with 8GiB RAM is running two VMs at the same time: Windows > >>10 and Fedora Workstation 32. The host is Fedor

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-06-08 Thread Kevin Kofler
Igor Raits wrote: > Why is it painful? You have all dependencies packaged that follow > semver (not like Go) and it is quite easy to build those packages. Semver is just a convention on version numbers (and one that, IMHO, is still open to human interpretation). It does not solve the problem at h

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-06-08 Thread Kevin Kofler
Nicolas Mailhot via devel wrote: > And Go has all build dependencies in the release where they are used > (not like rust, with magic ephemeral rawhide-only packages) Ephemeral Rawhide-only packages mean the builds cannot be reproduced in a release, which is a clear violation of our packaging guid

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-06-07 Thread Chris Murphy
On Sun, Jun 7, 2020 at 11:25 PM Luya Tshimbalanga wrote: > > > On Sun, Jun 7, 2020 at 1:26 PM Luya Tshimbalanga > > > > > zram-generator has no service unit file at all. The zram.service unit > > file is part of Anaconda. > > > Good to know. I proceed to remove on my desktop which has 32 GB RAM.

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-06-07 Thread Luya Tshimbalanga
> On Sun, Jun 7, 2020 at 1:26 PM Luya Tshimbalanga > > zram-generator has no service unit file at all. The zram.service unit > file is part of Anaconda. > Good to know. I proceed to remove on my desktop which has 32 GB RAM. > > I'm not sure whose service this is but I don't have it. > After

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-06-07 Thread Chris Murphy
On Sun, Jun 7, 2020 at 7:31 PM David Kaufmann wrote: > > Yes, its a quite boring example, but I've included it for completeness > as a border case. This is just the few megabytes it needs preallocated, > whilst swap is not in use at all. 12KiB when not in use? $ swapon NAME TYPE SIZE

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-06-07 Thread James Cassell
On Sun, Jun 7, 2020, at 9:30 PM, David Kaufmann wrote: > On Sun, Jun 07, 2020 at 05:25:15PM -0600, Chris Murphy wrote: > > >> At 150% memory usage assuming a 2:1 compression ratio this would mean: > >> - disk swap: > >> has to write 4G to disk initially, and for reading swap another 4G > >> (12G

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-06-07 Thread David Kaufmann
On Sun, Jun 07, 2020 at 05:25:15PM -0600, Chris Murphy wrote: >> This is not generally true, only if RAM gets so tight that applications >> start competing for swap. >> This is why I've proposed test cases testing exactly that, as for >> the case of persistent swap I'd expect the outcome to be a cl

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-06-07 Thread Chris Murphy
On Sun, Jun 7, 2020 at 2:48 PM David Kaufmann wrote: > > On Sat, Jun 06, 2020 at 05:36:15PM -0600, Chris Murphy wrote: > > To me this sounds like too much dependency on swap. > > That's not what I meant, I wanted to emphasize the different values of > disk storage vs. RAM. As said in another email

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-06-07 Thread Chris Murphy
On Sun, Jun 7, 2020 at 1:26 PM Luya Tshimbalanga wrote: > > Tested on HP Envy x360 Convertible Ryzen 2500u with 16 GB RAM and 1TB > SSD on Fedora 32 Design Suite. > > Following the procedure to install zram-generator setting memory > allocation to 0.50 (or 50%) and commenting out "resume=UUID" lin

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-06-07 Thread David Kaufmann
On Sat, Jun 06, 2020 at 05:36:15PM -0600, Chris Murphy wrote: > To me this sounds like too much dependency on swap. That's not what I meant, I wanted to emphasize the different values of disk storage vs. RAM. As said in another email it doesn't matter at all if there is 0% or 90% of disk swap usag

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-06-07 Thread Luya Tshimbalanga
Tested on HP Envy x360 Convertible Ryzen 2500u with 16 GB RAM and 1TB SSD on Fedora 32 Design Suite. Following the procedure to install zram-generator setting memory allocation to 0.50 (or 50%) and commenting out "resume=UUID" line on fstab and kernel parameter on boot via grubby, the allocate

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-06-06 Thread Samuel Sieb
On 6/6/20 4:55 PM, John M. Harris Jr wrote: On Saturday, June 6, 2020 3:16:02 PM MST Samuel Sieb wrote: Great, then it probably wouldn't benefit you, but it also would not harm you at all either. In my case, my laptop was constantly thrashing the swap and now it isn't, so I'm very happy about i

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-06-06 Thread John M. Harris Jr
On Saturday, June 6, 2020 3:16:02 PM MST Samuel Sieb wrote: > On 6/6/20 10:41 AM, John M. Harris Jr wrote: > > > On Saturday, June 6, 2020 1:15:35 AM MST Samuel Sieb wrote: > > > >> On 6/6/20 12:42 AM, John M. Harris Jr wrote: > >> > >> > >> > >>> On my laptop, a Lenovo X200T with Core(TM)2 Duo C

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-06-06 Thread John M. Harris Jr
On Saturday, June 6, 2020 3:55:42 PM MST Chris Murphy wrote: > On Sat, Jun 6, 2020 at 10:00 AM Richard W.M. Jones > wrote: > > > > > > But let's say we also add a lower priority disk swap, then my next > > question ... > > > > > > > > > > Also does the swap partition on disk contain compressed pag

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-06-06 Thread Chris Murphy
On Sat, Jun 6, 2020 at 4:18 AM David Kaufmann wrote: > > Hi! > > On Sat, Jun 06, 2020 at 01:15:35AM -0700, Samuel Sieb wrote: > > 5GB of swap space that normally would be on disk is now taking less than 2G > > of RAM. Instead of the usual 6G in the disk swap, now I have less than 2. > > What's bu

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-06-06 Thread Chris Murphy
On Sat, Jun 6, 2020 at 10:04 AM Richard W.M. Jones wrote: > > On Fri, Jun 05, 2020 at 04:07:44PM -0600, Chris Murphy wrote: > > This laptop with 8GiB RAM is running two VMs at the same time: Windows > > 10 and Fedora Workstation 32. The host is Fedora Workstation 32. > > So this suggests another i

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-06-06 Thread Chris Murphy
On Sat, Jun 6, 2020 at 10:00 AM Richard W.M. Jones wrote: > > But let's say we also add a lower priority disk swap, then my next > question ... > > > > Also does the swap partition on disk contain compressed pages, or > > > uncompressed pages, or a mix of both? > > > > With zram there is no partit

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-06-06 Thread Samuel Sieb
On 6/6/20 9:27 AM, Richard W.M. Jones wrote: On Sat, Jun 06, 2020 at 01:15:35AM -0700, Samuel Sieb wrote: See, this is a clear indication that you don't understand what it is doing and weren't listening to the various people trying to explain it. Not sure this is needed. The conversation so f

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-06-06 Thread Samuel Sieb
On 6/6/20 10:41 AM, John M. Harris Jr wrote: On Saturday, June 6, 2020 1:15:35 AM MST Samuel Sieb wrote: On 6/6/20 12:42 AM, John M. Harris Jr wrote: On my laptop, a Lenovo X200T with Core(TM)2 Duo CPU U9300; 6 GiB RAM, enabling swap on zram led to increased CPU usage (Always above 13% where n

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-06-06 Thread Samuel Sieb
On 6/6/20 9:04 AM, Richard W.M. Jones wrote: On Fri, Jun 05, 2020 at 04:07:44PM -0600, Chris Murphy wrote: This laptop with 8GiB RAM is running two VMs at the same time: Windows 10 and Fedora Workstation 32. The host is Fedora Workstation 32. So this suggests another interesting question: If I

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-06-06 Thread John M. Harris Jr
On Saturday, June 6, 2020 1:15:35 AM MST Samuel Sieb wrote: > On 6/6/20 12:42 AM, John M. Harris Jr wrote: > > > On my laptop, a Lenovo X200T with Core(TM)2 Duo CPU U9300; 6 GiB RAM, > > enabling swap on zram led to increased CPU usage (Always above 13% where > > normally idling at 6%!), and my en

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-06-06 Thread John M. Harris Jr
On Saturday, June 6, 2020 3:37:13 AM MST Igor Raits wrote: > On Sat, 2020-06-06 at 02:09 +0200, Kevin Kofler wrote: > > > Igor Raits wrote: > > > > > The change says it will use 50% of user’s RAM size, but not more > > > than > > > 4G. > > > > > > > > But if the machine has only, say, 4 GiB of RA

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-06-06 Thread Richard W.M. Jones
On Sat, Jun 06, 2020 at 01:15:35AM -0700, Samuel Sieb wrote: > See, this is a clear indication that you don't understand what it is > doing and weren't listening to the various people trying to explain > it. Not sure this is needed. The conversation so far has talked about many interesting topics

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-06-06 Thread Richard W.M. Jones
On Fri, Jun 05, 2020 at 04:07:44PM -0600, Chris Murphy wrote: > This laptop with 8GiB RAM is running two VMs at the same time: Windows > 10 and Fedora Workstation 32. The host is Fedora Workstation 32. So this suggests another interesting question: If I have Fedora virtual machines running on a Fe

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-06-06 Thread Richard W.M. Jones
On Fri, Jun 05, 2020 at 05:55:26PM +0200, Igor Raits wrote: > On Fri, 2020-06-05 at 15:11 +0100, Richard W.M. Jones wrote: > > I'm unclear: that ~50M is still in RAM? Or it's compressed on a disk > > somewhere? > > IIUC, it takes some part of the RAM and just compresses it on the fly. > For examp

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-06-06 Thread Nicolas Mailhot via devel
Le samedi 06 juin 2020 à 12:37 +0200, Igor Raits a écrit : > > Why is it painful? You have all dependencies packaged that follow > semver (not like Go) and it is quite easy to build those packages. And Go has all build dependencies in the release where they are used (not like rust, with magic eph

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-06-06 Thread Igor Raits
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On Sat, 2020-06-06 at 02:09 +0200, Kevin Kofler wrote: > Igor Raits wrote: > > The change says it will use 50% of user’s RAM size, but not more > > than > > 4G. > > But if the machine has only, say, 4 GiB of RAM, then the amount of > extra RAM > yo

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-06-06 Thread Igor Raits
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On Sat, 2020-06-06 at 02:19 +0200, Kevin Kofler wrote: > Chris Murphy wrote: > > So yes it's well suited for these cases and the proposal does > > include > > them. If they wish to be left out, that's up to those working > > groups. > > It's possible

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-06-06 Thread David Kaufmann
Hi! On Sat, Jun 06, 2020 at 01:15:35AM -0700, Samuel Sieb wrote: > 5GB of swap space that normally would be on disk is now taking less than 2G > of RAM. Instead of the usual 6G in the disk swap, now I have less than 2. What's bugging me about this thread is that quite a few people made comparisi

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-06-06 Thread Kevin Kofler
Kevin Kofler wrote: > with two 3 GiB HDDs Correction: two 3 TB HDDs. That was off by a factor 931. :-) Kevin Kofler ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedor

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-06-06 Thread Kevin Kofler
Samuel Sieb wrote: > See, this is a clear indication that you don't understand what it is > doing and weren't listening to the various people trying to explain it. > It is definitely not a placebo. I gave zram 5G out of the 12G I have > and my laptop is performing way better now. It's not thrashi

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-06-06 Thread Kevin Kofler
John M. Harris Jr wrote: > On my laptop, a Lenovo X200T with Core(TM)2 Duo CPU U9300; 6 GiB RAM, > enabling swap on zram led to increased CPU usage (Always above 13% where > normally idling at 6%!), and my entire system freezing after about 30 > minutes. In all fairness, I don't know why my system

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-06-06 Thread Samuel Sieb
On 6/6/20 12:42 AM, John M. Harris Jr wrote: On my laptop, a Lenovo X200T with Core(TM)2 Duo CPU U9300; 6 GiB RAM, enabling swap on zram led to increased CPU usage (Always above 13% where normally idling at 6%!), and my entire system freezing after about 30 minutes. In all fairness, I don't know

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-06-06 Thread John M. Harris Jr
On Friday, June 5, 2020 11:57:50 PM MST Samuel Sieb wrote: > On 6/5/20 11:43 PM, John M. Harris Jr wrote: > > > Completely agreed, going about it this way would also address most of my > > concerns with this change, as it would mean it's easy for people like > > myself to opt out. > > > If you d

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-06-05 Thread Samuel Sieb
On 6/5/20 11:43 PM, John M. Harris Jr wrote: Completely agreed, going about it this way would also address most of my concerns with this change, as it would mean it's easy for people like myself to opt out. If you don't want it, then disable the generator or uninstall it. I don't understand w

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-06-05 Thread John M. Harris Jr
On Friday, June 5, 2020 5:19:55 PM MST Kevin Kofler wrote: > Chris Murphy wrote: > > > So yes it's well suited for these cases and the proposal does include > > them. If they wish to be left out, that's up to those working groups. > > It's possible to make sure /etc/systemd/zram-generator is not p

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-06-05 Thread Chris Murphy
On Fri, Jun 5, 2020 at 8:33 PM Chris Murphy wrote: > > On Fri, Jun 5, 2020 at 8:12 PM Samuel Sieb wrote: > > > > >> # swapon > > >> NAME TYPE SIZE USED PRIO > > >> /dev/sda3 partition 16G 1.9G-2 > > >> /zram0partition 4G 4G 32767 > > >> > > >> This looks like I'm using all

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-06-05 Thread Samuel Sieb
On 6/5/20 7:33 PM, Chris Murphy wrote: On Fri, Jun 5, 2020 at 8:12 PM Samuel Sieb wrote: All three of those listed provide competing configurations for swap on zram. Just to make a fine point, zram is generic, it is not swap specific. It's just a compressed ram disk. Zswap is a different thing,

Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-06-05 Thread Chris Murphy
On Fri, Jun 5, 2020 at 8:12 PM Samuel Sieb wrote: > > On 6/5/20 6:59 PM, Chris Murphy wrote: > > On Fri, Jun 5, 2020 at 6:47 PM Samuel Sieb wrote: > >> > >> I installed the zram package and noticed the systemd-swap package, so > >> installed that also. > > > > There are conflicting implementation

  1   2   >