Closed
Description
Current 1.10-rc2 shows:
C:\>julia -q --threads=auto --startup-file=no -e "using InteractiveUtils; versioninfo()"
Julia Version 1.10.0-rc2
Commit dbb9c46795 (2023-12-03 15:25 UTC)
Build Info:
Official https://julialang.org/ release
Platform Info:
OS: Windows (x86_64-w64-mingw32)
CPU: 8 × 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-15.0.7 (ORCJIT, tigerlake)
Threads: 11 on 8 virtual cores
I've learned on Slack that the surprisingly high number of threads is due to additional GC threads and that therefore the CPU isn't actually oversubscribed.
A related issue is #48580 which complained about nthreads()
giving unexpected results since the introduction of interactive threads. To my mind ideally versioninfo()
(and related places/functions which give threads info) should say something like:
Threads:
- Default: 8
- Interactive: 1
- GC: 3
Number of virtual cores: 8
Metadata
Metadata
Assignees
Labels
No labels