comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Different FFT times for same array size ?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Different FFT times for same array size ? [message #45277 is a reply to message #45275] Wed, 24 August 2005 09:54 Go to previous message
R.G. Stockwell is currently offline  R.G. Stockwell
Messages: 363
Registered: July 1999
Senior Member
"Jan Cami" <jcami@mail.arc.nasa.gov> wrote in message
news:1124862926.625619.103650@g43g2000cwa.googlegroups.com.. .
> Hi,
...
> So the first 28 segments go fast, and from then on things slow down by
> a factor of 50 (well, except those 2 funny ones) !!

Off hand, the factor of 50 increase I would say is due to a
memory "leak" issue. Perhaps at that point, you start to swap to
disk or something. This is just a guess, but often a huge step in
execution time means your process has had to go to the hardrive.
[by leak, it may not be a real leak, but just the fact that
you are running low on memory, and are swapping to disk
to get the rest of the data]


How does it look if you run the same code on the same input
time series (i.e. always fft the same array by
commenting out " input = [input[blen-p+1:blen-1], signal[lower:upper]]").

One thing that i notice is that you are concatenating your new array each
loop.
That may a bit wasteful in memory, although I usually do that with no
problems.

What are the values you use (k, p blen, etc)? Could you include the initial
values that you have just before the loop?
I can run the same code (on a fake signal) and see if I reproduce your
problems.

Cheers,
bob
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: CURSOR problems
Next Topic: Re: Help needed on calling an IDL procedure from the Linux command line

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 09:38:56 PDT 2025

Total time taken to generate the page: 0.63873 seconds