Skip to content

podman commit is very slower with large container diff? #27390

@lddlww

Description

@lddlww

we create podman container for run llm, and download some models from huggingface, this result diff is very large, then we run podman commit --log-level debug -f oci xxx xxx:v1, but it run slower and paused by follow codes:
1:

rc, err = i.store.Diff("", layerID, diffOptions)

2:
size, err := io.Copy(writer, rc)

and we found srcHasher take a lot of time,i wanna to kown , how can we improve commit performance?

Image

thanks in advantage

Metadata

Metadata

Assignees

No one assigned

    Labels

    triagedIssue has been triaged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions