Is showing up all at once a problem?
At the moment the decodes show up quicker in WSJT-X than before.
That flush could be adding 10's of MS per decode.
JTAlert is also monitoring that file for changes so one flush seems like the
best idea for it.
Mike W9MDB

-----Original Message-----
From: Joe Taylor [mailto:[email protected]] 
Sent: Friday, October 17, 2014 11:55 AM
To: WSJT software development
Subject: Re: [wsjt-devel] Threading

Mike --

As a speed freak, you should pay attention to what timer.out can tell you.

As for the "call flush(6)" at line 171 of decoder.f90: it's there (inside
the loop) so that the GUI will display each decode immediately, when it
occurs, rather than when the loop is finished.  If you remove that call to
flush, the O/S may decide to give you a list of decodes all at once, at the
end of the loop.

        -- Joe, K1JT

On 10/17/2014 12:28 PM, Michael Black wrote:
> Well..yeah...speed..I would expect the "decode" phase to max out CPU 
> until all decodes are done...hate to see idle electrons.  I'm a speed
freak.
> It doesn't appear to use 100% CPU (of even one core).  Though I'm 
> waiting for a really busy band to really see what it does.
> One thing I'm testing is I've removed the flush from decoder.f90 as 
> being totally unnecessary (isn't it??) since there's a flush after the
loop.
>
> --- decoder.f90 (revision 4198)
> +++ decoder.f90 (working copy)
> @@ -168,7 +168,7 @@
>                 ndecoded=1
>                 ccfok(iaa:ibb)=.false.
>                 done(iaa:ibb)=.true.
> -              call flush(6)
> +!              call flush(6)
>              endif
>           endif
>        enddo
>
>
> Mike W9MDB
>
> -----Original Message-----
> From: Joe Taylor [mailto:[email protected]]
> Sent: Friday, October 17, 2014 11:03 AM
> To: WSJT software development
> Subject: Re: [wsjt-devel] Threading
>
> Hi Mike,
>
> On 10/16/2014 4:12 PM, Michael Black wrote:
>> Has any thought or attempt been given to multi-threading the decoding 
>> process?
>
> To what end?  Are you concerned about decoding speed?  Have you looked 
> at the statistics in file 'timer.out', results from the built-in 
> execution profiler for jt9.exe ?
>
>       -- Joe, K1JT
>
> ----------------------------------------------------------------------
> ------
> --
> Comprehensive Server Monitoring with Site24x7.
> Monitor 10 servers for $9/Month.
> Get alerted through email, SMS, voice calls or mobile push notifications.
> Take corrective actions from your mobile device.
> http://p.sf.net/sfu/Zoho
> _______________________________________________
> wsjt-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wsjt-devel
>
>
> ----------------------------------------------------------------------
> -------- Comprehensive Server Monitoring with Site24x7.
> Monitor 10 servers for $9/Month.
> Get alerted through email, SMS, voice calls or mobile push notifications.
> Take corrective actions from your mobile device.
> http://p.sf.net/sfu/Zoho
> _______________________________________________
> wsjt-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wsjt-devel

----------------------------------------------------------------------------
--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
wsjt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wsjt-devel


------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
wsjt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wsjt-devel

Reply via email to