Skip to content

On Windows, dvc repro spends an awful lot of time in rwlock #3653

@charlesbaynham

Description

@charlesbaynham

Windows 7 / 10, dvc 0.93.0+f5d89f (after merging #3645)

Running cProfile on dvc repro -P in a repository with around 200 steps all of which are up to date. On my system this takes 65s, of which 42s is spent in _edit_rwlock.

I wonder, is it necessary to lock each individual file here? Couldn't the whole repository be locked instead?

Maybe a broader question: what are the respective purposes of .dvc/tmp/rwlock, .dvc/lockand .dvc/updater.lock?

Metadata

Metadata

Assignees

Labels

awaiting responsewe are waiting for your reply, please respond! :)p1-importantImportant, aka current backlog of things to doperformanceimprovement over resource / time consuming tasksresearch

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions