On 17/10/2014 17:54, Joe Taylor wrote:
> 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.
Or to put it a different way, that flush is the current concurrency 
implementation as the jt9 and GUI processes run in parallel 
communicating via the console and shared memory.
>
>       -- Joe, K1JT
73
Bill
G4WJS.
>
> 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:j...@princeton.edu]
>> 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
>> wsjt-devel@lists.sourceforge.net
>> 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
>> wsjt-devel@lists.sourceforge.net
>> 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
> wsjt-devel@lists.sourceforge.net
> 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
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel

Reply via email to