octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #47478] parallel package: parcellfun() hangs w


From: Brett Merrick
Subject: [Octave-bug-tracker] [bug #47478] parallel package: parcellfun() hangs when used with @fft2()
Date: Mon, 21 Mar 2016 19:33:18 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:25.7) Gecko/20151013 Firefox/31.9 PaleMoon/25.7.3

Follow-up Comment #7, bug #47478 (project octave):

Thanks for looking into it.

Olaf, I tried it and parcellfun does indeed work on fft2 when fft2 has not
been previously called in that Octave instance.

As to whether it is a smart or stupid thing to use parcellfun on fft2, my
quick tests suggest that that depends entirely on the matrix sizes involved.

On small matrices, straight calls to fft2 are much faster than via parcellfun.
On very large matrices, fft2 makes little use of the available cores, even
when I set: fftw("threads", 4). 
In such cases, it is faster -on my machine at least- to use parcellfun with 4
processes on fft2 with fftw("threads", 1), but only if the available RAM is
sufficient to prevent swap memory from being used. 

Your mileage may vary.

Thanks again for the help guys!

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?47478>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]