skypilot-org/skypilot

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

Open

#8,457 opened on 2025年12月30日

GitHub で見る
 (3 comments) (0 reactions) (0 assignees)Python (311 forks)batch import
good first issuegood starter issues

Repository metrics

Stars
 (4,859 stars)
PR merge metrics
 (平均マージ 2d 23h) (30d で 146 merged PRs)

説明

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.

コントリビューターガイド