Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump LLVMLibUnwind to v19.1.4 #56674

Merged
merged 1 commit into from
Nov 25, 2024
Merged

Conversation

Zentrik
Copy link
Member

@Zentrik Zentrik commented Nov 24, 2024

No description provided.

@IanButterworth
Copy link
Member

I'm hoping this magically helps with #56332

@giordano giordano added building Build system, or building Julia or its dependencies stdlib Julia's standard library JLLs labels Nov 24, 2024
@giordano
Copy link
Contributor

Tests are passing, good to you?

@giordano giordano merged commit 81568a6 into JuliaLang:master Nov 25, 2024
10 checks passed
@IanButterworth
Copy link
Member

I'm hoping this magically helps with #56332

I kind of expected it, but sadly not. Most samples are still detached. fyi @gbaraldi

julia> using Profile

julia> peakflops()
2.32089957036637e11

julia> @profile peakflops()
1.9208047978469067e11

julia> Profile.print(C=true)
Overhead ╎ [+additional indent] Count File:Line  Function
=========================================================
    ╎33   @juliasrc/jlapi.c:1059  jl_repl_entrypoint
    ╎ 33   @juliasrc/jlapi.c:900  true_main
    ╎  33   @juliasrc/julia.h:2240  jl_apply
    ╎   33   @julialib/julia/sys.dylib:?  jfptr__start_108417
    ╎    33   @Base/client.jl:568  _start()
    ╎     33   @Base/client.jl:593  repl_main
    ╎    ╎ 33   @Base/client.jl:511  run_main_repl(interactive::Bool, quiet::Bool, banner::Symbol, history_file::Bool)
    ╎    ╎  33   @Base/essentials.jl:1052  invokelatest
    ╎    ╎   33   @Base/essentials.jl:1056  #invokelatest#1
    ╎    ╎    33   @juliasrc/builtins.c:883  jl_f__call_latest
    ╎    ╎     33   @juliasrc/julia.h:2240  jl_apply
    ╎    ╎    ╎ 33   @julialib/julia/sys.dylib:?  jfptr_run_std_repl_108360
    ╎    ╎    ╎  33   @Base/client.jl:490  run_std_repl(REPL::Module, quiet::Bool, banner::Symbol, history_file::Bool)
    ╎    ╎    ╎   33   …hare/julia/compiled/v1.12/REPL/u0gqU_sG4JC.dylib:?  jfptr_run_repl_22705
    ╎    ╎    ╎    33   @REPL/src/REPL.jl:676  run_repl(repl::REPL.AbstractREPL, consumer::Any)
    ╎    ╎    ╎     33   @REPL/src/REPL.jl:690  run_repl(repl::REPL.AbstractREPL, consumer::Any; backend_on_current_task::Bool, backend::Any)
    ╎    ╎    ╎    ╎ 33   @REPL/src/REPL.jl:464  start_repl_backend
    ╎    ╎    ╎    ╎  33   @REPL/src/REPL.jl:467  start_repl_backend(backend::REPL.REPLBackend, consumer::Any; get_module::Function)
    ╎    ╎    ╎    ╎   33   @REPL/src/REPL.jl:482  repl_backend_loop(backend::REPL.REPLBackend, get_module::Function)
    ╎    ╎    ╎    ╎    33   @REPL/src/REPL.jl:370  eval_user_input(ast::Any, backend::REPL.REPLBackend, mod::Module)
    ╎    ╎    ╎    ╎     33   @REPL/src/REPL.jl:345  toplevel_eval_with_hooks
    ╎    ╎    ╎    ╎    ╎ 33   @REPL/src/REPL.jl:352  toplevel_eval_with_hooks(mod::Module, ast::Any, toplevel_file::Any, toplevel_line::Any)
    ╎    ╎    ╎    ╎    ╎  33   @REPL/src/REPL.jl:348  toplevel_eval_with_hooks(mod::Module, ast::Any, toplevel_file::Any, toplevel_line::Any)
    ╎    ╎    ╎    ╎    ╎   33   @Base/essentials.jl:1052  invokelatest
    ╎    ╎    ╎    ╎    ╎    33   @Base/essentials.jl:1056  #invokelatest#1
    ╎    ╎    ╎    ╎    ╎     33   @juliasrc/builtins.c:883  jl_f__call_latest
    ╎    ╎    ╎    ╎    ╎    ╎ 33   @juliasrc/julia.h:2240  jl_apply
    ╎    ╎    ╎    ╎    ╎    ╎  33   @REPL/src/REPL.jl:341  __repl_entry_eval_expanded_with_loc(mod::Module, ast::Any, toplevel_file::Ref{Ptr{UInt8}}, toplevel…
    ╎    ╎    ╎    ╎    ╎    ╎   33   @juliasrc/toplevel.c:1071  jl_toplevel_eval_flex
    ╎    ╎    ╎    ╎    ╎    ╎    33   @juliasrc/interpreter.c:892  jl_interpret_toplevel_thunk
    ╎    ╎    ╎    ╎    ╎    ╎     33   @juliasrc/interpreter.c:542  eval_body
    ╎    ╎    ╎    ╎    ╎    ╎    ╎ 33   @juliasrc/interpreter.c:565  eval_body
    ╎    ╎    ╎    ╎    ╎    ╎    ╎  33   @juliasrc/interpreter.c:125  do_call
    ╎    ╎    ╎    ╎    ╎    ╎    ╎   33   @juliasrc/julia.h:2240  jl_apply
    ╎    ╎    ╎    ╎    ╎    ╎    ╎    33   [unknown stackframe]
    ╎    ╎    ╎    ╎    ╎    ╎    ╎     33   @InteractiveUtils/…c/InteractiveUtils.jl:339  peakflops()
    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎ 33   @InteractiveUtils/…c/InteractiveUtils.jl:339  peakflops
    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎  33   @InteractiveUtils/…c/InteractiveUtils.jl:344  peakflops(n::Int64; eltype::DataType, ntrials::Int64, parallel::Bo…
    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎   33   [unknown stackframe]
    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    33   @LinearAlgebra/src/LinearAlgebra.jl:752  kwcall(::@NamedTuple{eltype::DataType, ntrials::Int64, parallel::Bool…
    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎     32   @LinearAlgebra/src/LinearAlgebra.jl:755  peakflops(n::Int64; eltype::DataType, ntrials::Int64, parallel::Bool)
    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎ 32   [unknown stackframe]
    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎  32   @Base/array.jl:590  ones(::Type{Float64}, ::Int64, ::Int64)
    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎   1    @Base/array.jl:594  ones(::Type{Float64}, dims::Tuple{Int64, Int64})
    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    1    @Base/boot.jl:638  Array
    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎     1    @Base/boot.jl:628  Array
    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎ 1    @Base/boot.jl:581  new_as_memoryref
    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎  1    @Base/boot.jl:564  GenericMemory
    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎   1    @juliasrc/genericmemory.c:56  _new_genericmemory_
    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    1    @juliasrc/gc-stock.c:803  jl_gc_alloc_
    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎     1    @juliasrc/gc-stock.c:789  jl_gc_small_alloc_noinline
    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎ 1    @juliasrc/gc-stock.c:731  jl_gc_small_alloc_inner
    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎  1    @juliasrc/gc-stock.c:349  maybe_collect
    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎   1    @juliasrc/gc-stock.c:3378  ijl_gc_collect
    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    1    @juliasrc/gc-stock.c:2990  _jl_gc_collect
    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎     1    @juliasrc/gc-stock.c:2447  gc_drain_own_chunkqueue
    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎ 1    @juliasrc/gc-stock.c:1929  gc_mark_chunk
    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎  1    @juliasrc/gc-stock.c:1751  gc_mark_objarray
    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎   1    @juliasrc/gc-heap-snapshot.h:77  gc_heap_snapshot_record_array_edge
    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎   31   @Base/array.jl:595  ones(::Type{Float64}, dims::Tuple{Int64, Int64})
    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    31   @Base/array.jl:329  fill!
    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎     31   @Base/array.jl:333  _fill!
    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎ 31   @Base/array.jl:985  setindex!
  31╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎  31   @Base/array.jl:990  _setindex!
    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎     1    @LinearAlgebra/src/LinearAlgebra.jl:756  peakflops(n::Int64; eltype::DataType, ntrials::Int64, parallel::Bool)
    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎ 1    @Base/timing.jl:451  macro expansion
    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎  1    [unknown stackframe]
    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎   1    @LinearAlgebra/src/matmul.jl:134  *(A::Matrix{Float64}, B::Matrix{Float64})
    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    1    @Base/array.jl:376  similar
    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎     1    @Base/boot.jl:638  Array
    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎ 1    @Base/boot.jl:628  Array
    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎  1    @Base/boot.jl:581  new_as_memoryref
    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎   1    @Base/boot.jl:564  GenericMemory
    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    1    @juliasrc/genericmemory.c:56  _new_genericmemory_
    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎     1    @juliasrc/gc-stock.c:803  jl_gc_alloc_
    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎ 1    @juliasrc/gc-stock.c:789  jl_gc_small_alloc_noinline
    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎  1    @juliasrc/gc-stock.c:731  jl_gc_small_alloc_inner
    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎   1    @juliasrc/gc-stock.c:349  maybe_collect
    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    1    @juliasrc/gc-stock.c:3378  ijl_gc_collect
    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎     1    @juliasrc/gc-stock.c:2990  _jl_gc_collect
    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎ 1    @juliasrc/gc-stock.c:2447  gc_drain_own_chunkqueue
    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎  1    @juliasrc/gc-stock.c:1929  gc_mark_chunk
    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎   1    @juliasrc/gc-stock.c:1751  gc_mark_objarray
   1╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    ╎    1    @juliasrc/gc-heap-snapshot.h:77  gc_heap_snapshot_record_array_edge
    ╎1    @julialib/libLLVM.dylib:?  _ZN4llvm12FunctionPass17assignPassManagerERNS_7PMStackENS_15PassManagerTypeE
   1╎ 1    @julialib/libLLVM.dylib:?  _ZThn32_NK4llvm13FPPassManager18getPassManagerTypeEv
   3╎3    @julialib/libopenblas64_.dylib:?  .Ldgemm_kernel_L1_M8_22
   9╎9    @julialib/libopenblas64_.dylib:?  .Ldgemm_kernel_L2_M8_22
   6╎6    @julialib/libopenblas64_.dylib:?  .Ldgemm_kernel_L4_M2_22
   6╎6    @julialib/libopenblas64_.dylib:?  .Ldgemm_kernel_L4_M4_22
   2╎2    @julialib/libopenblas64_.dylib:?  .Ldgemm_kernel_L4_M4_BEGIN
  10╎10   @julialib/libopenblas64_.dylib:?  .Ldgemm_kernel_L4_M8_100
  51╎51   @julialib/libopenblas64_.dylib:?  .Ldgemm_kernel_L4_M8_20
1509╎1509 @julialib/libopenblas64_.dylib:?  .Ldgemm_kernel_L4_M8_22
  39╎39   @julialib/libopenblas64_.dylib:?  .Ldgemm_kernel_L4_M8_22a
   7╎7    @julialib/libopenblas64_.dylib:?  .Ldgemm_kernel_L4_M8_44
   4╎4    @julialib/libopenblas64_.dylib:?  .Ldgemm_ncopy_L4_M4_20
   6╎6    @julialib/libopenblas64_.dylib:?  .Ldgemm_tcopy_L8_M8_20
  10╎10   @julialib/libopenblas64_.dylib:?  .Lgemm_beta_zero_03
  13╎13   /usr/lib/system/libsystem_kernel.dylib:?  madvise
Total snapshots: 1709. Utilization: 100% across all threads and tasks. Use the `groupby` kwarg to break down by thread and/or task.

@giordano giordano added the external dependencies Involves LLVM, OpenBLAS, or other linked libraries label Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
building Build system, or building Julia or its dependencies external dependencies Involves LLVM, OpenBLAS, or other linked libraries JLLs stdlib Julia's standard library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants