Skip to content

[master] Large performance regression exporting layers with containerd worker #2365

@aaronlehmann

Description

@aaronlehmann

PR #2181 (Compute diff from the upper directory of overlayfs-based snapshotter) appears to cause a serious performance regression when exporting layers for an image push.

Before this merge commit, the "export layers" span of a relatively straightforward build/push took 8 seconds. On the merge commit, it is taking 69 seconds. containerd and buildkitd come close to maxing out CPU during this interval.

We are seeing a routine set of builds get dramatically slower, going from ~20 minutes end-to-end to about 85 minutes.

I can provide more information for debugging on request.

cc @ktock @tonistiigi @sipsma @coryb

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions