question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

cloud versioning: slow

See original GitHub issue

Part of #7995

Description

Cloud versioning is working much slower than traditional remotes

Reproduce

$ git clone git@github.com:iterative/example-get-started.git
$ cd example-get-started
$ dvc pull
$ dvc remote add -f -d cloud s3://mybucket/remote
$ time dvc push
8 files pushed
dvc push  0.71s user 0.17s system 13% cpu 6.626 total
$ dvc remote modify cloud version_aware true
$ dvc remote modify cloud worktree true
$ time dvc push
Updating lock file 'dvc.lock'
Updating lock file 'dvc.lock'
9 files pushed
dvc push  0.98s user 0.21s system 6% cpu 17.443 total

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:1
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
dberenbaumcommented, Nov 17, 2022

In the time it takes to complete a regular dvc push or aws s3 sync of a large directory, dvc push to a cloud-versioned remote hangs and shows no output (even with -v) and makes no progress that I can tell. Tested with the contents of s3://dave-sandbox-versioning/coco/test2014.

0reactions
dberenbaumcommented, Dec 5, 2022

Results for a slightly larger dataset.

With cloud versioning:

$ time dvc push
6946 files pushed
dvc push  97.23s user 16.91s system 8% cpu 23:39.43 total
$ time dvc pull
M       test2014/
1 file modified and 6946 files fetched
dvc pull  66.84s user 21.57s system 11% cpu 13:00.08 total

Without cloud versioning:

$ time dvc push
6947 files pushed
dvc push  50.29s user 8.22s system 21% cpu 4:35.87 total
$ time dvc pull
M       test2014/
1 file modified and 6946 files fetched
dvc pull  22.32s user 8.36s system 33% cpu 1:30.41 total

I can follow up with profiling for each.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why Your Cloud and Mobile Applications are Slow (And How ...
With slow mobile and cloud applications, sluggishness is often not the root cause, but rather a symptom of an underlying infrastructural ...
Read more >
Cloud Syncing is very slow and isn't really "synci...
In the latest versions of the desktop app the sync version is listed in the Creative Cloud > Files portion of the preferences....
Read more >
Best Cloud Storage for Versioning in 2022 - Cloudwards
The best cloud storage for versioning contains features and policies that provide generous file version storage and ease of access and recovery.
Read more >
slow performance when changing the versions of multiple ...
Whenever a project file is changed VS seems to do reload the project (maybe?) which slows down my ability to increment the version...
Read more >
Are you currently working with cloud memory? is it slow?
My understanding is that using a cloud as your auto-save as you work can slow down the program. Help me geeks... is this...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found