Gimp-Forum.net
?? No benefit of a faster CPU - Printable Version

+- Gimp-Forum.net (https://www.gimp-forum.net)
+-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP)
+--- Forum: General questions (https://www.gimp-forum.net/Forum-General-questions)
+--- Thread: ?? No benefit of a faster CPU (/Thread-No-benefit-of-a-faster-CPU)



?? No benefit of a faster CPU - T-buch - 05-21-2020

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 ??


RE: ?? No benefit of a faster CPU - Ofnuts - 05-21-2020

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.


RE: ?? No benefit of a faster CPU - T-buch - 05-21-2020

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)


RE: ?? No benefit of a faster CPU - tmanni - 05-21-2020

The filter is multi-threaded capable ; it has opencl support, but currently disabled in the code.
https://gitlab.gnome.org/GNOME/gegl/-/blob/master/operations/common/newsprint.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.


RE: ?? No benefit of a faster CPU - T-buch - 05-21-2020

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