1
1
## Intel CPU Platforms: Best Performance Setting
2
2
### Install MKL, OpenMP and JEMALLOC
3
- Through CONDA is the simplest way :
3
+ The simplest way for installation is through ``` conda install ``` :
4
4
``` bash
5
5
conda install -y mkl mkl-include jemalloc
6
6
```
@@ -15,17 +15,17 @@ Check if your ```CONDA_PREFIX``` has a value by:
15
15
``` bash
16
16
echo ${CONDA_PREFIX}
17
17
```
18
- If it's empty, it means that you're not in a traditional CONDA environment, you need to find the location of the ``` .so. ``` files by:
18
+ If it is empty, it means that you are not in a traditional CONDA environment, you need to find the location of the ``` .so ``` files by:
19
19
``` bash
20
20
find / -name " libjemalloc.so"
21
21
find / -name " libiomp5.so"
22
22
```
23
- It will show the path these file were installed into, for example:
23
+ It will show the path these files were installed into. For example:
24
24
``` bash
25
25
/home/name/lib/libjemalloc.so
26
26
/home/name/lib/libiomp5.so
27
27
```
28
- And then you should export this path as ``` CONDA_PREFIX ``` :
28
+ And then you should ``` export ``` this path as ``` CONDA_PREFIX ``` :
29
29
``` bash
30
30
export CONDA_PREFIX=" /home/name"
31
31
```
@@ -40,11 +40,11 @@ export DNNL_PRIMITIVE_CACHE_CAPACITY=1024
40
40
```
41
41
42
42
### Frequency Governers
43
- Check frequency governer state on your machine:
43
+ Check the frequency governer state on your machine:
44
44
``` bash
45
45
cat /sys/devices/system/cpu/cpu* /cpufreq/scaling_governor
46
46
```
47
- If is shows ``` powersave ``` instead of ``` performance ``` , execute:
47
+ If it shows ``` powersave ``` instead of ``` performance ``` , execute:
48
48
``` bash
49
49
echo " performance" | sudo tee /sys/devices/system/cpu/cpu* /cpufreq/scaling_governor
50
50
cat /sys/devices/system/cpu/cpu* /cpufreq/scaling_governor
0 commit comments