Skip to content

Empty profile information on v1.11 #56327

Closed
@kalmarek

Description

@kalmarek
julia> @profile peakflops();

julia> Profile.print()
Overhead ╎ [+additional indent] Count File:Line; Function
=========================================================
    ╎6708 @Base/task.jl:694; task_done_hook(t::Task)
    ╎ 6708 @Base/task.jl:1021; wait()
67076708 @Base/task.jl:1012; poptask(W::Base.IntrusiveLinkedListSynchronized{Task})
Total snapshots: 6708. Utilization: 0% across all threads and tasks. Use the `groupby` kwarg to break down by thread and/or task.

julia> versioninfo()
Julia Version 1.11.1
Commit 8f5b7ca12ad (2024-10-16 10:53 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: 16 × AMD Ryzen 7 7840U w/ Radeon  780M Graphics
  WORD_SIZE: 64
  LLVM: libLLVM-16.0.6 (ORCJIT, znver4)
Threads: 8 default, 0 interactive, 4 GC (on 16 virtual cores)
Environment:
  JULIA_NUM_THREADS = 8

whereas on julia-1.10.5:

julia> @profile peakflops();

julia> Profile.print()
Overhead ╎ [+additional indent] Count File:Line; Function
=========================================================
     ╎1937  @Base/Base.jl:608; (::Base.var"#1055#1056")()
     ╎ 1937  @Base/Base.jl:572; profile_printing_listener()
     ╎  1937  @Base/asyncevent.jl:159; wait
     ╎   1937  @Base/asyncevent.jl:142; _trywait(t::Base.AsyncCondition)

...... (lots of lines here)

     ╎    ╎    ╎    ╎    1233  a/src/matmul.jl:113; *(A::Matrix{Float64}, B::Matrix
     ╎    ╎    ╎    ╎     18    @Base/array.jl:420; similar
     ╎    ╎    ╎    ╎    ╎ 18    @Base/boot.jl:487; Array
   18╎    ╎    ╎    ╎    ╎  18    @Base/boot.jl:479; Array
     ╎    ╎    ╎    ╎     1215  a/src/matmul.jl:237; mul!
     ╎    ╎    ╎    ╎    ╎ 1215  /src/matmul.jl:263; mul!
     ╎    ╎    ╎    ╎    ╎  1215  /src/matmul.jl:352; generic_matmatmul!
     ╎    ╎    ╎    ╎    ╎   1215  src/matmul.jl:605; gemm_wrapper!(C::Matrix{Float
 1215╎    ╎    ╎    ╎    ╎    1215  a/src/blas.jl:1524; gemm!(transA::Char, transB:
    3╎    ╎    ╎    ╎  3     LinearAlgebra.jl:616; peakflops(n::Int64; eltype::Data
     ╎11622 @Base/task.jl:682; task_done_hook(t::Task)
     ╎ 11622 @Base/task.jl:1008; wait()
1162211622 @Base/task.jl:999; poptask(W::Base.IntrusiveLinkedListSynchronized{Tas
Total snapshots: 21307. Utilization: 36% across all threads and tasks. Use the `groupby` kwarg to break down by thread and/or task.

julia> versioninfo()
Julia Version 1.10.5
Commit 6f3fdf7b362 (2024-08-27 14:19 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: 16 × AMD Ryzen 7 7840U w/ Radeon  780M Graphics
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-15.0.7 (ORCJIT, znver3)
Threads: 8 default, 0 interactive, 4 GC (on 16 virtual cores)
Environment:
  JULIA_NUM_THREADS = 8

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions