Post a reply

Re: Parallelization in next G'MIC [1.5.7.0]

Mon Sep 16, 2013 12:32 pm

Ronounours wrote:I've just posted new binaries for the 1.5.7.1 beta version of the G'MIC plug-in, at:

https://sourceforge.net/projects/gmic/files/beta/

(available for linux32, linux64 and win32).
If you are interested, you can test and tell me how this new Fourier transform behaves now.


I'm interested, but I could not locate the filter :mrgreen:
Is the filter that is under Spectral Filters?
I can't see Parallelization options in this filter, and I do not know how to use it nor what should be the result when applied
:oops:

Edit:
I have found this:
https://secure.flickr.com/groups/gmic/d ... 462331405/
Now I'll see if I learn to use it.

Re: Parallelization in next G'MIC [1.5.7.0]

Mon Sep 16, 2013 12:43 pm

Cheers for the new version. Tried out Rodilius on a 14mb image and the filter ran it's course in 8 seconds, that is so fast. All six cores were running for the duration. Great stuff.

Re: Parallelization in next G'MIC [1.5.7.0]

Mon Sep 16, 2013 2:41 pm

@YAFU : The beauty of this new feature is that it is fully transparent for the users :) The new FFT doesn't require additional parameters for the parallelization (contrary to previous additions), it just uses all the available cores to perform the calculations.
All the filters using the FFT technique are concerned. For instance, the Artistic / Rodilius filter has an extensive use of the FFT, so it is a good candidate to try.

@Caz : Thanks for your test. Can you confirm the new plug-in runs Rodilius faster than the previous version (1.5.7.0 or less) on the same image ?

Re: Parallelization in next G'MIC [1.5.7.0]

Mon Sep 16, 2013 4:37 pm

samj wrote:Bonjour,

@Lylejk

- Download http://www.aljacom.com/~gmic/Makefile_G ... 64bits.zip
- Copy
\Makefile_GMIC-32bits-64bits\scripts-64bits\beta\compile_gmic_gimp_plugin_beta_64_win.sh
in
C:\petit-msys-mingw-64bits-gimp28
- Start MSYS clicking "start_MSYS.bat".
- Enter the two command lines that follow.
cd /env
./compile_gmic_gimp_plugin_beta_64_win.sh


I'm sorry if the answer is not good but I do not really understand the question.


No; talking about the script (compile_gmic_gimp_plugin_64_win.sh) that gets the files from online that you shared with me. I ran the script and it retrieved files then compiles G'MIC. :)

Re: Parallelization in next G'MIC [1.5.7.0]

Mon Sep 16, 2013 6:16 pm

1.5.7.0 vs 1.5.7.1 beta 20130916 with Rodilius :

285 sec (1.5.7.0) / 210 sec ( 1.5.7.1 beta)

Re: Parallelization in next G'MIC [1.5.7.0]

Mon Sep 16, 2013 6:23 pm

OK samj; compiling now. Probably will be a few minutes before it completes. :)

Re: Parallelization in next G'MIC [1.5.7.0]

Mon Sep 16, 2013 7:03 pm

No longer see the core options in rodilius but rodilius does seem to run faster. Noted that my cpu cycles are greater then 50% for gmic when it runs so that confirms both cores are being utilized. :)

Re: Parallelization in next G'MIC [1.5.7.0]

Mon Sep 16, 2013 8:57 pm

Well, these are my results (2500x2500px):
Fourier transform:
1.5.6.1: 9sec
1.5.7.1 beta: 7sec

Rodilius:
1.5.6.1: 54sec
1.5.7.1 beta: 47sec

With G'MIC 1.5.7.1 beta in both filters the system monitor shows that there are several processor threads working simultaneously. Rodilius is working very well, and I have not had the problem I mentioned in comment #37

In Smooth anisotropic in Parallel Processing "Auto" is detecting correctly my 8 threads processor and still running very well.

Re: Parallelization in next G'MIC [1.5.7.0]

Tue Sep 17, 2013 1:59 am

Thanks for all your testing. The performance gain is not that much, but this is still interesting.
I will probably release a new minor revision 1.5.7.1 soon with these changes.

Re: Parallelization in next G'MIC [1.5.7.0]

Tue Sep 17, 2013 12:16 pm

Ronounours wrote:@YAFU : The beauty of this new feature is that it is fully transparent for the users :) The new FFT doesn't require additional parameters for the parallelization (contrary to previous additions), it just uses all the available cores to perform the calculations.
All the filters using the FFT technique are concerned. For instance, the Artistic / Rodilius filter has an extensive use of the FFT, so it is a good candidate to try.

@Caz : Thanks for your test. Can you confirm the new plug-in runs Rodilius faster than the previous version (1.5.7.0 or less) on the same image ?


Running Rodilius on the same 14mb image as before I get a time of 13 seconds for 1.5.7.0 and 8 seconds for 1.5.7.1, but compared to the several minutes it took to run the same filter a few months back this is a massive leap forward. Thank you so much for all your hard work.

Re: Parallelization in next G'MIC [1.5.7.0]

Tue Sep 17, 2013 12:21 pm

Caz wrote:
Ronounours wrote:@YAFU : The beauty of this new feature is that it is fully transparent for the users :) The new FFT doesn't require additional parameters for the parallelization (contrary to previous additions), it just uses all the available cores to perform the calculations.
All the filters using the FFT technique are concerned. For instance, the Artistic / Rodilius filter has an extensive use of the FFT, so it is a good candidate to try.

@Caz : Thanks for your test. Can you confirm the new plug-in runs Rodilius faster than the previous version (1.5.7.0 or less) on the same image ?


Running Rodilius on the same 14mb image as before I get a time of 13 seconds for 1.5.7.0 and 8 seconds for 1.5.7.1, but compared to the several minutes it took to run the same filter a few months back this is a massive leap forward. Thank you so much for all your hard work.



I envy you hyper core users; man, do I need an upgrade. lololol

:)

Re: Parallelization in next G'MIC [1.5.7.0]

Tue Sep 17, 2013 12:49 pm

@lylejk, Until very recently and for a long time I used an AMD Athlon X2 4800+. A few months ago I bought the middle range of the latest technology from Intel APUs, but Intel now launched a new technology and I have been outdated again :hehe

Re: Parallelization in next G'MIC [1.5.7.0]

Tue Sep 17, 2013 4:52 pm

Still, you system blow's my near 6 year old system away Yafu. Have the money; just don't have the motivation to buy a new system yet. lol

:)

Re: Parallelization in next G'MIC [1.5.7.0]

Tue Sep 17, 2013 6:18 pm

Just compiled 1.5.7.1 64-bit since David released it today. For those that want to test the plugin, I attached it here. :)

edit: David's released a 64-bit version for Windows GIMP so I'm removing my attachment since his version is the official version. Link below. :)

http://sourceforge.net/projects/gmic/fi ... rce=navbar

Re: Parallelization in next G'MIC [1.5.7.0]

Tue Sep 17, 2013 9:59 pm

lylejk wrote:Just compiled 1.5.7.1 64-bit since David released it today. For those that want to test the plugin, I attached it here. :)


It tells me I need libjpeg-9.dll

I don't have libjpeg-9.dll :(

Re: Parallelization in next G'MIC [1.5.7.0]

Tue Sep 17, 2013 10:12 pm

Here's all the dlls that samj requires for this plugin. These should be 64-bit compatible as well. Not going to get involved with the diatribe that samj and David has had with this issue. I used samj's environment for compiling and the resulting plugin works and I've been using samj's compiles since I've been using 64-bit GIMP well over a year ago. Including curl.exe as well and it is in it's own directory, so just be aware of that (i.e., in your GIMP plugins folder, place gimp_gmic.exe there and then in a subfolder, place the curl.exe). :)

Re: Parallelization in next G'MIC [1.5.7.0]

Tue Sep 17, 2013 10:31 pm

lylejk wrote:Here's all the dlls that samj requires for this plugin. These should be 64-bit compatible as well. Not going to get involved with the diatribe that samj and David has had with this issue. I used samj's environment for compiling and the resulting plugin works and I've been using samj's compiles since I've been using 64-bit GIMP well over a year ago. Including curl.exe as well and it is in it's own directory, so just be aware of that (i.e., in your GIMP plugins folder, place gimp_gmic.exe there and then in a subfolder, place the curl.exe). :)


Thank you very much. Very much appreciated :tyspin

Seems to be working now.

Re: Parallelization in next G'MIC [1.5.7.0]

Tue Sep 17, 2013 11:54 pm

Cool to hear that Iain. As long as Tux allows, I plan on sharing the 64-bit compiles while samj's environment still holds true. I'm not a coder; very greatful that samj shared her environment with me and actually with us all. :)

Re: Parallelization in next G'MIC [1.5.7.0]

Wed Sep 18, 2013 6:38 am

Thanks a lot lylejk,
Please keep releasing Windows 64 bit versions, as I think many Windows users will switch to 64 bit progressively, as I did.

Re: Parallelization in next G'MIC [1.5.7.0]

Wed Sep 18, 2013 6:49 am

Glad it worked for you too sebbync. :)
Post a reply