This gist is intended to loosely describe what to expect when you want to mirror crates.io (in particulair, using romt)
This was written on April 12, 2022
- crates.io has 80,843 crates
- Download size is ~70GB
- Download lasted for about 6 hours
The command i used is as follows:
romt crate -v --keep-going update -j=64-v: verbose--keep-going: ignore errors-j=64: Number of jobs
Note: if you see messages like ResourseClosedError, downgrade the number of jobs or somehow optimize your pc.
Also, if you see errors like ConnectTimeout and/or ReadTimeout try downgrading number of jobs or look at the issue; these errors mean that you hit limit of your network (ConnectTimeout) or disk (ReadTimeout) power.
At the end, here are characteristics of the PC (actually, laptop) i've used:
- OS: Windows 10
- RAM: 8GB
- ROM: ~360GB free before mirroring, HDD
- Processor: Intel Core i7-3537U
- Connection: ~8Mb/s, Wi-Fi
P.S. panamax has a bug on Windows that locks you to download crates.io only to C:, therefore i didn't use it. For details, see this issue