Skip to content

[Enhancement]: Improving the speed of the material and product attestor #360

@matglas

Description

@matglas

Describe the solution you'd like:

When hashing 10000's of files small and big for both material an product it takes time. Currently the hashing is done in serial while parallel hashing thru threads would speed it up.

User value:

The amount of time spend 'extra' to do the attestation in a pipeline goes down.

Expected behavior:

Material and product hashing should be fast and have little impact on the overall pipeline that a witness execution is part of.

Proposed solution:

Implement threading and a worker queue to process files at the speed of the amount of processors available.

Anything else you would like to add:

I have done a test earlier that showed a 10x speed increase.

Testing changes required:

TBD

Documentation changes required:

TBD

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature (larger than enhancement)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions