Is the number of threads used by Pluto capped?

I’m on a Linux box and launched Julia with 16 threads, and then launched Pluto as follows:

And yet Pluto only seems to have 8 threads available

Am I doing something wrong or misunderstanding things? Or is multithreading in Pluto capped at 8 threads, at least for my setup? I’m guessing the former and will be happy to be corrected…

You can specify the number of threads Pluto uses by setting the JULIA_NUM_THREADS environment variable or by using the threads keyword argument to (ex:

The default value is computed here and is the number of CPU cores divided by two.


Ah… That’s great, thank you. I thought the Pluto instance inherited the thread number from the Julia session that launched it.