Skip to content

can we reuse CAS directory in filesystem_store across working directory #2020

@zpzjzj

Description

@zpzjzj

Thanks for the opt on evicting_map .
We used v0.7.5 for remote-execution, found that fetch time is improved but still cost a lot comparing to execution time even when filesystem store is mostly hit, especially in cases which needs many inputs like linking and testing (We do Python remote test on pods with GPU).

Image

We used Buildfarm years ago, it will create a directory with same prefix of its digest, and will be hardlinked into working directory if needed. To make sure the directory is not changed, it will set directory as readonly, which can make some tests trying to write on local directory fail but may reduce the cost of creating directory in each job.

I'll try to collect metrics in fetch stage later, produce data of (time of reconstructing directory) / ( time of fetch across threads)

Sub-issues

Metadata

Metadata

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