Skip to content

Using nccopy, setting deflate level to 0 with shuffling results in an uncompressed, shuffled file #23

@bronaugh

Description

@bronaugh

We noticed this recently because a co-worker of mine created compressed files with shuffling, but then decompressed them due to the I/O and CPU overhead of compression (as compression forces chunk-sized reads). The problem is, chunk-sized reads were still happening. The reason seems to be that while compression was disabled, shuffling was not; and this has the same effect of forcing chunk-sized reads.

I think it's fairly clear that setting compression to none should disable shuffling as well. I've written a patch which includes this behaviour as well as allowing enabling/disabling of shuffling independent of compression.

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