It is currently Sat May 04, 2024 7:32 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 81 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next
Author Message
 Post subject: Re: Parallelization in next G'MIC [1.5.7.0]
PostPosted: Mon Sep 16, 2013 12:32 pm  (#61) 
Offline
GimpChat Member
User avatar

Joined: Nov 09, 2011
Posts: 726
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.

_________________
Image
Be patient, English is not my language.


Last edited by YAFU on Mon Sep 16, 2013 1:21 pm, edited 2 times in total.

Top
 Post subject: Re: Parallelization in next G'MIC [1.5.7.0]
PostPosted: Mon Sep 16, 2013 12:43 pm  (#62) 
Offline
GimpChat Member

Joined: Dec 27, 2012
Posts: 393
Location: England
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.

_________________
Image

DeviantArt gallery


Top
 Post subject: Re: Parallelization in next G'MIC [1.5.7.0]
PostPosted: Mon Sep 16, 2013 2:41 pm  (#63) 
Offline
GimpChat Member
User avatar

Joined: Jan 03, 2011
Posts: 1656
@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 ?


Top
 Post subject: Re: Parallelization in next G'MIC [1.5.7.0]
PostPosted: Mon Sep 16, 2013 4:37 pm  (#64) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12520
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. :)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: Parallelization in next G'MIC [1.5.7.0]
PostPosted: Mon Sep 16, 2013 6:16 pm  (#65) 
Offline
GimpChat Member

Joined: May 09, 2012
Posts: 914
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)


Attachments:
tests.jpg
tests.jpg [ 93.2 KiB | Viewed 1036 times ]
Top
 Post subject: Re: Parallelization in next G'MIC [1.5.7.0]
PostPosted: Mon Sep 16, 2013 6:23 pm  (#66) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12520
OK samj; compiling now. Probably will be a few minutes before it completes. :)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: Parallelization in next G'MIC [1.5.7.0]
PostPosted: Mon Sep 16, 2013 7:03 pm  (#67) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12520
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. :)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: Parallelization in next G'MIC [1.5.7.0]
PostPosted: Mon Sep 16, 2013 8:57 pm  (#68) 
Offline
GimpChat Member
User avatar

Joined: Nov 09, 2011
Posts: 726
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.

_________________
Image
Be patient, English is not my language.


Top
 Post subject: Re: Parallelization in next G'MIC [1.5.7.0]
PostPosted: Tue Sep 17, 2013 1:59 am  (#69) 
Offline
GimpChat Member
User avatar

Joined: Jan 03, 2011
Posts: 1656
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.


Top
 Post subject: Re: Parallelization in next G'MIC [1.5.7.0]
PostPosted: Tue Sep 17, 2013 12:16 pm  (#70) 
Offline
GimpChat Member

Joined: Dec 27, 2012
Posts: 393
Location: England
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.

_________________
Image

DeviantArt gallery


Top
 Post subject: Re: Parallelization in next G'MIC [1.5.7.0]
PostPosted: Tue Sep 17, 2013 12:21 pm  (#71) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12520
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

:)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: Parallelization in next G'MIC [1.5.7.0]
PostPosted: Tue Sep 17, 2013 12:49 pm  (#72) 
Offline
GimpChat Member
User avatar

Joined: Nov 09, 2011
Posts: 726
@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

_________________
Image
Be patient, English is not my language.


Top
 Post subject: Re: Parallelization in next G'MIC [1.5.7.0]
PostPosted: Tue Sep 17, 2013 4:52 pm  (#73) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12520
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

:)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: Parallelization in next G'MIC [1.5.7.0]
PostPosted: Tue Sep 17, 2013 6:18 pm  (#74) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12520
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

_________________
Lyle

Psalm 109:8

Image


Last edited by lylejk on Wed Sep 18, 2013 5:40 pm, edited 1 time in total.

Top
 Post subject: Re: Parallelization in next G'MIC [1.5.7.0]
PostPosted: Tue Sep 17, 2013 9:59 pm  (#75) 
Offline
GimpChat Member

Joined: Feb 13, 2013
Posts: 86
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 :(


Top
 Post subject: Re: Parallelization in next G'MIC [1.5.7.0]
PostPosted: Tue Sep 17, 2013 10:12 pm  (#76) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12520
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). :)


Attachments:
dll_64bit.7z [1.42 MiB]
Downloaded 91 times

_________________
Lyle

Psalm 109:8

Image
Top
 Post subject: Re: Parallelization in next G'MIC [1.5.7.0]
PostPosted: Tue Sep 17, 2013 10:31 pm  (#77) 
Offline
GimpChat Member

Joined: Feb 13, 2013
Posts: 86
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.


Top
 Post subject: Re: Parallelization in next G'MIC [1.5.7.0]
PostPosted: Tue Sep 17, 2013 11:54 pm  (#78) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12520
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. :)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: Parallelization in next G'MIC [1.5.7.0]
PostPosted: Wed Sep 18, 2013 6:38 am  (#79) 
Offline
GimpChat Member

Joined: Sep 18, 2013
Posts: 7
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.


Top
 Post subject: Re: Parallelization in next G'MIC [1.5.7.0]
PostPosted: Wed Sep 18, 2013 6:49 am  (#80) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12520
Glad it worked for you too sebbync. :)

_________________
Lyle

Psalm 109:8

Image


Top
Post new topic Reply to topic  [ 81 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group