Skip to content

Disabling zswap? #156

@callegar

Description

@callegar

Looks like when zram-generator is used, systems whose kernel defaults to using zswap do not get that disabled.
As a result, I presume that the system attempts to compress memory pages twice since zswap will use zram as its backing store.
I do not know if this has any adverse impact on performance, but I expect it to be the case.

Because the two mechanism are more or less two different solutions for the same problem, maybe it would be useful to default to automatically disabling zswap when using zram through zram-generator.

Also documenting the potential coexistence of the two mechanisms would be useful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions