Re: Fedora 34 Change: Scale ZRAM to Full Memory Size — arbitrary scaling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jan 28, 2021 at 11:52 AM Adam Williamson
<adamwill@xxxxxxxxxxxxxxxxx> wrote:
>
> Probably relevant - we log the output of `free` shortly after system
> install. Up to and including Fedora-Rawhide-20210124.n.0 , it looked
> approximately like this:
>
>               total        used        free      shared  buff/cache   available
> Mem:        2024132      189668     1609448        4104      225016     1684936
> Swap:       1011708           0     1011708
>
> Particularly, "total" memory was reported as around 2000000 bytes. In
> Fedora-Rawhide-20210127.n.1 and Fedora-Rawhide-20210128.n.0, though -
> the two most recent composes - it looks like this:
>
>               total        used        free      shared  buff/cache   available
> Mem:        1417856      311908      852832        4104      253116      944752
> Swap:       1417212           0     1417212
>
> "total" memory is now reported as around 1400000 bytes. Not sure what
> caused this to change.

I've seen this in the last few weeks but I haven't figured out the
pattern. A test system with 12G RAM was transiently reporting 8.5G RAM
(using the free command). That is the same fractional difference as
you're reporting above - 70% less total memory. That could be a kernel
bug.

The zram-generator sets the zram device size as a fraction of total
memory, it doesn't have a way to affect total memory.


-- 
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




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux