Skip to content

Conversation

@pankgeorg
Copy link

@pankgeorg pankgeorg commented Nov 14, 2025

Experiment to benchmark 1.12.2-max (=julia 1.12.2 with 1.10 system image) startup times.

When adding Pkg there, I get

error during bootstrap:
LoadError("sysimg.jl", 64, LoadError("/home/pgeorgakopoulos/julia/usr/share/julia/stdlib/v1.12/Pkg/src/Pkg.jl", 3, LoadError("/home/pgeorgakopoulos/julia/usr/share/julia/stdlib/v1.12/Pkg/src/precompile.jl", 101, Base.IOError("could not spawn `'' a registries/Registry.tar.gz -tgzip registries/Registry.tar`: no such file or directory (ENOENT)", -2))))

When adding MbedTLS, I get an issue about it not being found. I think it's fine.

Difference in size is ~300MB for the usr/lib/julia folder. I'd say that's negligible for the everyday user.

pgeorgakopoulos@georgetta:~/julia$ du usr/lib/julia/ -alh
273M    usr/lib/julia/sys.so
65M     usr/lib/julia/basecompiler-o.a
259M    usr/lib/julia/sysbase.so
402M    usr/lib/julia/sys-o.a
55M     usr/lib/julia/basecompiler.so
379M    usr/lib/julia/sysbase-o.a
1.4G    usr/lib/julia/
pgeorgakopoulos@georgetta:~/julia$ du usr/lib/julia/ -alh
318M    usr/lib/julia/sys.so
65M     usr/lib/julia/basecompiler-o.a
305M    usr/lib/julia/sysbase.so
468M    usr/lib/julia/sys-o.a
55M     usr/lib/julia/basecompiler.so
446M    usr/lib/julia/sysbase-o.a
1.7G    usr/lib/julia/

@giordano
Copy link
Member

When adding MbedTLS, I get an issue about it not being found.

Because it's not a stdlib in 1.12

@pankgeorg
Copy link
Author

When adding MbedTLS, I get an issue about it not being found.

Because it's not a stdlib in 1.12

The "stdlib" is a concept that eludes me 😅. Does it mean it's not in the default system image? Or that it's not the "default" way to do encryption any more?

Part of the what this PR tries to "prove" as a concept, is that "default system image", "standard libraries" and even "default environment variables" are not "one size fits all" as they can lead to highly diverse experiences and thus I'm trying to collect the data to propose that they should be highly configurable, easily. Which, as a goal, may be beyond julia itself (and into juliaup or even unchartered territory). Let's see what the data will show, I'm still at hypothesis stage🤞🏾

@giordano
Copy link
Member

Does it mean it's not in the default system image? Or that it's not the "default" way to do encryption any more?

It means it doesn't exist at all.

@KristofferC
Copy link
Member

KristofferC commented Nov 17, 2025

I pushed a commit with a version of Pkg that includes JuliaLang/Pkg.jl#4518 so it can be included in the sysimage. I will see if I can understand why the REPL hangs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants