On Windows 10 it is possible to speed up the registry download by adding the .julia folder to the anti virus exclusion list: Why is the update of the registries so slow? - #11 by PetrKryslUCSD.
But if we do that Julia versions lower than 1.7 wonât work since they donât know about the tared registry, right?
They donât know about it, ignore it, and download registries the way they are used to. See Read the registry straight from the tarball by KristofferC ¡ Pull Request #2431 ¡ JuliaLang/Pkg.jl ¡ GitHub.
Well, glusterfs has a lot of great things going for it. But it is slow when it comes to stat (listing files) or deleting things. Basically itâs got to maintain its redundant synchronization between the servers, and that takes overhead. It does seem like the stats are cached so the second time I traverse a filesystem tree itâs fast⌠but that first time is potentially really slow.
For reference. I did download 1.7 beta, and did
] registry rm General
which took maybe an hour or so, and then
] registry add General
which took maybe 1 second
Thatâs great to hear! Lots of slow burn work went into making that happen and the diff functionality will make this even better.
You guys are amazing. I canât express how fortunate I feel to have Julia. I donate to you guys every year because you are doing âgods workâ so to speak. I only wish I had more time to use the dang thing in between walking my rescue dog, feeding my kids, and avoiding COVID. (but hey, when I do sit down and have time to work on a project, I really appreciate that adding a package doesnât take 2.5 hours)
I did the same and second step took a couple seconds but the first one was very quick too (Windows here).
Sooo, Iâm still unsure what the removal and the re-adding of the General registry exactly did to my local copy, but the above trick did indeed solve the issue. And not only it reduced the network usage from 100 MB per update to approx. 3 MB, it also significantly improved the update time.
(Note that Iâm still running Julia 1.6.2, so it is surely not the mentioned unpacked storage of the registry.)