Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Savoray__Uri
Beginner
43 Views

OpenCL GPU task slows down after a few minutes

I am developing an application doing some computation. After a few minutes, performance deteriorates up to 3 times slower. Occasionally, the GPU stays stuck, with intel_gpu_top showing 100% contantly. Also, in this state, intel_gpu_frequency hangs.

O/S: Linux guard3-NANOCOM-KBU 4.7.0.intel.r5.0 #1 SMP Tue Dec 26 16:58:27 EST 2017 x86_64 x86_64 x86_64 GNU/Linux

Hardware:  Intel(R) Core(TM) i7-7600U CPU @ 2.80GHz

When I run on a CPU device, performance is constant.
The only way I find to restore GPU performance is to reboot.
 
A sample test run looks
like: 20s....23s...45s...65s...64s....64s...
 
I am running the application in 4 threads like this: for i in {1..1000}; do  echo "trial #" $i;time ../Release/test_GPU 799739ts.bin10|../Release/test_GPU |../Release/test_GPU |../Release/test_GPU |../Release/test_GPU |../Release/test_GPU ; done
So I can't think of any effect "remembered" between runs.
I also checked temperatures, which look OK (~55 deg C at most).
Any help appreciated!
Uri
 
0 Kudos
0 Replies