Community
cancel
Showing results for 
Search instead for 
Did you mean: 
D12
Beginner
798 Views

Resize by Super interpolation by ippi 2019 and 2020 is slower than 5.2 (ippu8-5.2.dll)

Hi,

i have an image of 1.5GB which i would like to scale down by Super interpolation, on Intel(R) Xeon(R) CPU E5-2460 v3 @ 2.66Ghz (2 processors) 32 cores and memory of 128 GB.

Using Intel 2019 and 2020, i see that the more threads i use, the slower it takes to scale down using Super interpolation. While testing it on ippiu8-5.2.dll (i don't which Intel it is...) i get faster performance when i use more threads. The problem doesn't exist for Cubic interpolation. It works as expected.

The sample below shows the performance time to scale down image of 1.5GB with Super interpolation by factor of 0.27 using different number of threads. Each case was tested 3 times:

Using Intel 2019 and 2020:

threads = 4,   time=842 ms,     threads = 4,   time=670 ms,       threads = 4, time=655 ms
threads = 8,   time=718 ms,     threads = 8,   time=718 ms,       threads = 8, time=749 ms
threads = 16, time=967 ms,     threads = 16, time=920 ms,      threads = 16, time=921 ms
threads = 24, time=1201 ms,   threads = 24, time=1092 ms,   threads = 24, time=1170 ms

.Using old version of Intel (ippu8-5.2.dll):

threads = 4, time=1092 ms,    threads = 4, time=1123 ms,     threads = 4, time=1092 ms
threads = 8, time=577 ms,      threads = 8, time=562 ms,        threads = 8, time=562 ms
threads = 16, time=375 ms,    threads = 16, time=375 ms,     threads = 16, time=374 ms
threads = 24, time=249 ms,    threads = 24, time=249 ms,     threads = 24, time=265 ms

 

Any solution to get better results when using more threads in Intel 2019 and 2020 for Resize Super Interpolation?

0 Kudos
37 Replies
D12
Beginner
239 Views

Hi Vlad,

thanks for your efforts.

it seems much better and acceptable.

it seems that there is no much processing time difference when number of threads is greater than 8 (see table below). I also added test for 1 thread as well.

Nevertheless, it seems fine. I will do more tests and let you know if i find something weird...

 

D12_1-1605614309554.png

 

 

Thanks,

Dudi

D12
Beginner
196 Views

Hi Vlad,

I tested your modification (that split the image to parts) on different image size and found something weird.

see in below table the processing time in milliseconds for 1,4,8,16,and 24 threads running on two images with different rows.

I expected that the processing time for the smaller image will be faster than the bigger one. But i results are opposite and not as expected.

What could be the reason and how to solve it?

 

  1 4 8 16 24
image size 1.62GB (30720x18924) 656 188 94 93 109
image size 1.09GB (30720x12682) 500 234 188 218 360
182 Views

Hi Dudi,

I'm looking into this case. Will notify you when results are available.

Best regards,
Vlad V.

D12
Beginner
150 Views

Hi Vlad,

Did you manage to reproduce the problem?

143 Views

Hi Dudi,

Unfortunately I haven't reproduced your issue yet. In my environment I see that the smaller image is processed a little bit faster than the bigger one with new parallelization scheme. But I saw the same behavior (bigger is faster) for the initial scheme. Could you please double-check that the both images processed with the same parameters with new scheme?

Best regards,
Vlad V.

D12
Beginner
133 Views

Hi Vlad,

all tests executed your code of CImage::ResizeMod(...). I always get faster performance for the bigger image. Is there any option to let you connect to my computer by TeamViewer to show you the problem? Or, where can i upload the images for you so you will test them?

 

Gennady_F_Intel
Moderator
120 Views

Dudi,

if you like the official support and you have a valid license, then you may submit the issue to the official Intel Support Center -

https://supporttickets.intel.com/servicecenter?lang=en-US

There You may open tickets and upload all your images. If I am not mistaken, this system has a 2Gb Size Limitation.

or you may upload all of your images to the external resources ( DropBox, as an example) and share the link.


D12
Beginner
98 Views

Hi Vlad,

see shared link to download 2 images that i tested

https://danaher-my.sharepoint.com/:u:/r/personal/dudi_avramov_esko_com/Documents/Shared%20with%20Eve...

the scale-down for the bigger one is faster than the smaller one. I expect to be vice versa...

 

93 Views

Hi Dudi,

Unfortunately, the link you shared goes to the private sharepoint that requires authentication and we have no access to it.

Best regards,
Vlad V.

D12
Beginner
90 Views

Vlad,

could you please write your e-mail address so i will send by WeTransfer?

 

73 Views

Dudi,
It is highly recommended to transfer data through Intel Support Center https://supporttickets.intel.com/servicecenter?lang=en-US or through open channels that don't require sharing of confidential information.

Best regards,
Vlad V.

D12
Beginner
64 Views

Even though signing-in, I don't understand how to transfer data through Intel Support Center...

60 Views

Request Support -> Check "A product or service I already own or use" + "Search for a product or service by name" -> type "Integrated" and chose Integrated Performance Primitives -> Answer the questions and shortly describe question, push "Next: Details" button -> Fill the form and "Submit Request". After submitting the request you'll be able to upload large files up to 2Gb

Vladislav_V_Intel_0-1614267402941.png

 

D12
Beginner
48 Views

Hi Vlad,

I uploaded 2 images according to your advise.

You can find them by support request number: 04986331

Gennady_F_Intel
Moderator
40 Views

Dudi,

could you please try to upload these images once again, as we see no images uploaded to those online service center thread?

 

D12
Beginner
31 Views

Hi Vlad,

i uploaded again the images. So you can find them in support request number: 04986331

25 Views

Hi Dudi,

I was able to reproduce your behavior when big image processed faster than small one with your images which sizes are 30720x18284 and 30720x12682. Now I'm looking for what can cause such behavior.

Best regards,
Vlad V.

D12
Beginner
19 Views

Hi Vlad,

thanks for the information. Reproducing the problem is 50% of the solution

 

Regards,

Dudi