Skip to content
View phizev's full-sized avatar
Block or Report

Block or report phizev

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned

  1. Simple, cruddy script to print out s... Simple, cruddy script to print out some zswap information, and attempt to calculate compression ratio, though unsure if it is accurate, nor if it accounts for overhead. Add -v to get raw dump of the module parameters and kernel debug statistics.
    1
    #! /bin/sh -
    2
    
                  
    3
    ENABLED=$(cat /sys/module/zswap/parameters/enabled)
    4
    COMPRESSOR=$(cat /sys/module/zswap/parameters/compressor)
    5
    ZPOOL=$(cat /sys/module/zswap/parameters/zpool)