Skip to content

Disable workqueues for dm-crypt to improve latency #282

@igo95862

Description

@igo95862

Remember my old issue about dm-crypt making system unresponsive? #166

Turns out I am not the only one who found that issue: https://blog.cloudflare.com/speeding-up-linux-disk-encryption/

By disabling dm-crypt work queues it is possible to to significantly improve latency and even throughput.

Latency graph: (from cloudflare article)

latency

Red: dm-crypt
Blue: dm-crypt but workqueues are disabled
Green: Plain disk

Since linux-zen is latency focused I think the dm-crypt workqueues should be disabled by default.

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