### 3B+ BLAS performance etc

Posted:

**Tue Apr 17, 2018 4:47 pm**Short version: How is linear algebra performance on the Pi 3 B+? Would someone please post the full output of a Mathematica benchmark?

(to do that just pull up a terminal and donote it'll need your full CPU for around 7 minutes )

Long version: I got a Pi 2, largely because hey, free copy of Mathematica, and have used it occasionally. When the Pi 3 came out, though many benchmarks showed a large performance increase over the Pi 2, other use cases didn't exhibit that, and I didn't end up upgrading. For instance, the Mathematica benchmark showed most of the tests only slightly faster and the linear algebra tests noticeably

Some of the slim performance increases - or, in the case of Mathematica, the decrease - could perhaps be because the Pi 3's CPU really isn't much better for those workloads. But much of it may be because of poorly tuned BLAS. If it's the latter, maybe it may have been fixed since then? I'd like to see whether there's improvement running the latest versions with the 3B+.

(to do that just pull up a terminal and do

Code: Select all

```
$ wolfram
In[1]:= Needs["Benchmarking`"]
In[2]:= Benchmark[]
```

Long version: I got a Pi 2, largely because hey, free copy of Mathematica, and have used it occasionally. When the Pi 3 came out, though many benchmarks showed a large performance increase over the Pi 2, other use cases didn't exhibit that, and I didn't end up upgrading. For instance, the Mathematica benchmark showed most of the tests only slightly faster and the linear algebra tests noticeably

**. Some other linear algebra tests showed slim improvements. (A couple tests with NEON showed larger gains.)***slower*Some of the slim performance increases - or, in the case of Mathematica, the decrease - could perhaps be because the Pi 3's CPU really isn't much better for those workloads. But much of it may be because of poorly tuned BLAS. If it's the latter, maybe it may have been fixed since then? I'd like to see whether there's improvement running the latest versions with the 3B+.