-
Notifications
You must be signed in to change notification settings - Fork 407
Description
Generalise performance issues, e.g. based on this support case:
I try to
dvc pullfrom my AWS bucket to an ubuntu machine and seems really slow although the internet connection should be fast... On my own mac the download works well... Seems like ubuntu is downloading data sequentially while MAC is able to do it in parallel?
Troubleshooting (1/2) GENERAL
Try same DVC version in both OS
If you doaws s3 cpit copies things faster?
Could you also please rundvc versionon that Ubuntu machine in the repo
+ run firstcprofileto check the results - https://github.com/iterative/dvc/wiki/Debugging,-Profiling-and-Benchmarking-DVC#profiling-dvc
Yesterday I moved the directory of data to the ubuntu computer manually (very quick - downloading took 10 s) and run
dvc addon that directory to test - it was also incredibly slow. So this is clearly not related to AWSattached is the cprofile file for reference (looks like a thread locking issue?)
Troubleshooting (2/2) SPECIFIC
is your repo/workspace located on a network mounted drive? (Yes) - you may need to configure
state.dirandindex.dirto be located in a local directory
that worked for
dvc add✅ butdvc pull❌ still has the same issue as before...
Actually evendvc pullnow ✅ works as expected.