skypilot-org/skypilot

[GCP] Move from `gsutil cp/rsync` to `gcloud storage cp/rsync`

Open

#8457 aperta il 30 dic 2025

Vedi su GitHub
 (3 commenti) (0 reazioni) (0 assegnatari)Python (311 fork)batch import
good first issuegood starter issues

Metriche repository

Star
 (4859 star)
Metriche merge PR
 (Merge medio 2g 23h) (146 PR mergiate in 30 g)

Descrizione

According to https://docs.cloud.google.com/storage/docs/working-with-big-data, gcloud storage cp is much faster due to optimizations in automatic parallelism. We can migrate the usage gsutil cp in https://github.com/skypilot-org/skypilot/blob/e6a41b121ae27c33e1815ecf316858752dcc9982/sky/data/storage.py#L2370.

I manually tried a few file downloads with gcloud storage cp, it easily saturates the 300MB/s throughput, i.e. it worth a try.

Guida contributor