Julia uses only 20-30% of my processor. What should I do?

I am running a program that performs numerical ODE integration in Julia. I am running Windows 10 (64 bit), with Intel Core i7-4710MQ @ 2.50Ghz (8 logical processors).

I noticed that when my code worked on julia, it uses only 30% of the processor. Entering the parallelization documentation, I started using Julia: C:\Users\*****\AppData\Local\Julia-0.4.5\bin\julia.exe -p 8and expect to see improvements. However, I did not see them.

So my question is this: Is there a special way to write my code so that it uses the CPU more efficiently? Is this a limitation created by my operating system (Windows 10)?

I am posting my code on the console julia with the command: include("C:\\Users\\****\\AppData\\Local\\Julia-0.4.5\\13. Fast Filesaving Format.jl").

In this code, I use a few extra packages: using ODE; using PyPlot; using JLD.

I measure CPU usage using the Task Manager window.

+4
source share
1 answer

-p 8 julia 8 , BLAS FFTW, - . -p 8, , . , SharedArrays. . BLAS ( ) FFTW ( ), , -p, . ( ) . , 1.0 , , .

+12

All Articles