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

versioninfo() reports confusing number of threads on master #49792

Closed
Seelengrab opened this issue May 12, 2023 · 1 comment
Closed

versioninfo() reports confusing number of threads on master #49792

Seelengrab opened this issue May 12, 2023 · 1 comment

Comments

@Seelengrab
Copy link
Contributor

[sukera@tower julia]$ julia -qt 10,1
julia> versioninfo()
Julia Version 1.10.0-DEV.1287
Commit c6fc12c9ee (2023-05-12 14:02 UTC)
Platform Info:
  OS: Linux (x86_64-pc-linux-gnu)
  CPU: 24 × AMD Ryzen 9 7900X 12-Core Processor
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-15.0.7 (ORCJIT, znver3)
  Threads: 15 on 24 virtual cores

10 threads for the :default threadpool are requested, as well as one for the :interactive threadpool, but versioninfo() reports 15. As far as I can tell, that's due to

--gcthreads=N             Use N threads for GC, set to half of the number of compute threads if unspecified.

introduced in #48600. Not sure how to best query that new information yet, but printing something like Threads: 10 compute, 1 interactive, 5 GC on 24 virtual cores might be nice.

@jmkuhn
Copy link
Contributor

jmkuhn commented May 12, 2023

Duplicate of #49753

@Seelengrab Seelengrab closed this as not planned Won't fix, can't repro, duplicate, stale May 12, 2023
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

No branches or pull requests

2 participants