Skip to content

[Suggestion] Use multi-thread when running "aptly publish" without "-skip-contents" #1544

@please-enter-a-username

Description

@please-enter-a-username

Hi!
It's been a great adventure for a newbie like me using aptly to create my first local apt repo!

But me myself, and many others have encountered the problem, that "aptly publish" without "-skip-contents" is very slow, like here and there.

Image

I found that, there's a progress running on single-thread, not using any other CPU core.

Image

At the same time, iotop shows that the hard disk IO isn't too much. So I guess the bottle neck is CPU single-thread.

Google says the "Contents-.gz" is needed when using apt-file, but it's okay for regular apt operations if this file is missing.

So... Could it be possible to use multi-thread, or use something like gnu parallel, when running xz?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions