WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

termux-backup is very slow due to compression being single-threaded #248

@navid-zamani

Description

@navid-zamani

When using termux-backup somewhere.tar.bz2 (or the same with .xz or the like), it takes surprisingly long.

Looking at adb shell top, I noticed that bzip2 only uses a single core.

So I kindly request changing that to use all cores. (Which in my case would make it take 1/8th of the time!)

At least for compression formats with parallel support (like xz -T), or even those with a separate parallel version.

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