# BLAS thread count vs Julia thread count

**URL:** https://discourse.julialang.org/t/blas-thread-count-vs-julia-thread-count/57197
**Category:** General Usage
**Tags:** question, performance, linearalgebra
**Created:** [March 15, 2021, 3:44am UTC](https://discourse.julialang.org/t/blas-thread-count-vs-julia-thread-count/57197 "2021-03-15T03:44:19Z")
**Posts on this page:** 2
**Page:** 2

<div class="post-metadata">

### Author: ![cpraveen](https://avatars.discourse-cdn.com/v4/letter/c/f07891/32.png) [@cpraveen](https://discourse.julialang.org/u/cpraveen)
#### Post date: [April 6, 2021, 8:50am UTC](https://discourse.julialang.org/t/blas-thread-count-vs-julia-thread-count/57197/21 "2021-04-06T08:50:10Z")

</div>

On macmini with Julia 1.6, I am able to set more BLAS threads

```julia
julia> BLAS.get_num_threads()
8

julia> BLAS.set_num_threads(10)

julia> BLAS.get_num_threads()
10

```

---

<div class="post-metadata">

### Author: ![ctkelley](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ctkelley/32/10684_2.png) [@ctkelley](https://discourse.julialang.org/u/ctkelley)
#### Post date: [April 6, 2021, 11:02am UTC](https://discourse.julialang.org/t/blas-thread-count-vs-julia-thread-count/57197/22 "2021-04-06T11:02:11Z")

</div>

> [@cpraveen](#):
>
> On macmini with Julia 1.6, I am able to set more BLAS threads

Does it really work? Can you see the performance difference? Was this the dmg you got from Julia downloads or did you compile directly on your mini?

[Previous page](https://discourse.julialang.org/t/blas-thread-count-vs-julia-thread-count/57197.md?page=1)
