[master] zRAM follow-up
Brian C. Lane
bcl at redhat.com
Tue Jul 22 14:17:18 UTC 2014
On Mon, Jul 21, 2014 at 05:15:10PM +0200, Vratislav Podzimek wrote:
> PATCH 1/3 adds a script that can be used to investigate the zRAM stats, mainly
> the compression ratio*. I'm not sure we really want it in every media as it will
> be useless for vast majority of users, maybe we should only have it in the
> repository wired up to the makeupdates script?
>
> Patches 2/3 and 3/3 are trivial, I'd say.
>
> *) I've played with that script today and it reveals the fact that with yum the
> compression ratio is 48 % (nice, hm?), with dnf it is 64 % (really nice).
>
> Vratislav Podzimek (3):
> Add a script for showing stats about zRAM
> Remove an unused MEM-related constant and use the other one
> Adapt the memory requirements to zRAM swap usage
>
> anaconda | 2 +-
> pyanaconda/isys/__init__.py | 5 ++--
> scripts/Makefile.am | 2 +-
> scripts/makeupdates | 3 ++-
> scripts/zram-stats | 64 +++++++++++++++++++++++++++++++++++++++++++++
> 5 files changed, 70 insertions(+), 6 deletions(-)
> create mode 100755 scripts/zram-stats
>
> --
> 1.9.3
Ack.
I also don't see any reason not to include the script, it's small and
may help diagnose problems in the wild.
--
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)
More information about the anaconda-patches
mailing list