Gimp-Forum.net

Full Version: ?? No benefit of a faster CPU
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I try to run a Filter (Distorts -> Newsprint) on two different CPUs

1. participant: Intel Core i5-4670K @ 3.40GHz, 4 Cores
2. participant: Intel Core i5-3320M @ 2.60GHz, 2 Cores

I was amazed that there was almost no difference in how fast the CPUs ran through the filters ??
1) How big is the layer?
2) What are the actuall numbers?
3) If the filter isn't written to use multiple cores, your big CPU is only 30% faster than the other one. You can enable OpenCL in "Preferences>System resources", this may (or may not) make Gimp use you GPU, multiple cores, or your processor's SIMD instructions.
Thanks for the Quick reply

(05-21-2020, 08:32 AM)Ofnuts Wrote: [ -> ]1) How big is the layer?
2) What are the actuall numbers?
3) If the filter isn't written to use multiple cores, your big CPU is only 30% faster than the other one. You can enable OpenCL in "Preferences>System resources", this may (or may not) make Gimp use you GPU, multiple cores, or your processor's SIMD instructions.

1) 10400 x 7754 Pixels (80.64 MPixels) (1.34) JPG 9,33 MB
2) i5-4670K: 35 sek, i5-3320M: 36 sek. (theres a big difference (software) coding a video in HEVC - so its not a "bad" i5-4670K)
3a) Don't know how the filter are written?
3b) I will try that (why are this not default settings)
The filter is multi-threaded capable ; it has opencl support, but currently disabled in the code.
https://gitlab.gnome.org/GNOME/gegl/-/bl...int.c#L641

The filter itself does not use SIMD instructions ; if the image precision is not 32bits float, a format conversion is needed, and <maybe> SIMD instructions are used to do the conversion.
Better 1)

(05-21-2020, 08:46 AM)T-buch Wrote: [ -> ]Thanks for the Quick reply

(05-21-2020, 08:32 AM)Ofnuts Wrote: [ -> ]1) How big is the layer?
2) What are the actuall numbers?
3) If the filter isn't written to use multiple cores, your big CPU is only 30% faster than the other one. You can enable OpenCL in "Preferences>System resources", this may (or may not) make Gimp use you GPU, multiple cores, or your processor's SIMD instructions.

1) 10400 x 7754  Pixels (80.64 MPixels) (1.34) JPG 9,33 MB
2) i5-4670K: 35 sek,  i5-3320M: 36 sek.                                    (theres a big difference (software) coding a video in HEVC - so its not a "bad" i5-4670K)
3a) Don't know how the filter are written?
3b) I will try that (why are this not default settings)

3b) No benefit of enabling OpenCL - maybe 1 - 2 sec. but that could be coincidences