Cruisers Forum
 


Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 25-01-2018, 12:53   #991
Registered User

Join Date: Mar 2017
Location: Brittany, France
Boat: First 18
Posts: 323
Re: WeatherFax ...

Rick,

And what if you make a really simple xml file containing just one server / one region ?

When you use the other plugins (weather_routing, etc), do you also experience such delays when opening the windows ?
stelian is offline   Reply With Quote
Old 25-01-2018, 18:36   #992
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,633
Images: 2
Re: WeatherFax ...

Quote:
And what if you make a really simple xml file containing just one server / one region ?
I basically took out Passage Weather. Now everything is totally instantaneous!
No I do not see problems with weather_routing.

Is there some format problem with Passage Weather?
I need to put 1/2 of Passage Weather back and see what happens.


Quote:
When you use the other plugins (weather_routing, etc), do you also experience such delays when opening the windows ?
rgleason is offline   Reply With Quote
Old 25-01-2018, 18:50   #993
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,633
Images: 2
Re: WeatherFax ...

Took the file and cut out 1/2 of Passage Weather. Result 3-4 seconds to show Passage Weather "Regions". 3-4 seconds after select "Region" of "Straits of Malacca" to show the faxes.

Perhaps we separate it into 4 servers?
PassageWx Atlantic server
PassageWx Pacific server
PassageWx Asia server
PassageWx Europe server
rgleason is offline   Reply With Quote
Old 26-01-2018, 00:45   #994
Registered User

Join Date: Mar 2017
Location: Brittany, France
Boat: First 18
Posts: 323
Re: WeatherFax ...

Quote:
Originally Posted by rgleason View Post
Took the file and cut out 1/2 of Passage Weather. Result 3-4 seconds to show Passage Weather "Regions". 3-4 seconds after select "Region" of "Straits of Malacca" to show the faxes.

Perhaps we separate it into 4 servers?
PassageWx Atlantic server
PassageWx Pacific server
PassageWx Asia server
PassageWx Europe server
3-4 seconds seem still too much.

I wonder if the duration increases in a linear way depending on the number of items, or if there is some "buggy" entry somewhere in the Passage Weather server which causes the problem.

Please do a few more tests, separate the server in four as you said, or in eight servers, and see if this improves the timings...
stelian is offline   Reply With Quote
Old 26-01-2018, 11:19   #995
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,633
Images: 2
Re: WeatherFax ...

With respect to Passage Weather:

1. Tried complete alignment and reorganization of Passage Weather, such that
  • Weatherfaxinternetretrieval.xml Passage Weather URL were organized logically with respect to Ocean and location, ready to be divided up into separate servers.
  • Checked all xml code to see that everything was closed properly, etc. -used notepad++ View> Collapse level 1,2,3 extensively.
  • Aligned all coordinatesets in the exact same order.
  • Fixed all coordinatesets.xml and verified that they all worked properly
Tried the files out and they were still very slow. I checked one file in each region, and for Mediterranean checked each area. I fixed the coords in the med and one other url. Noticed that with the weatherfaxinternetretrieval and coordinatesets files in total alignment, that there is not a second coordinate written down at the bottom when there is a change.

This was still very slow, in fact about the same as before, perhaps even worse.
These files are in the attached pi-wxfax-pw-aligned.zip (remove the .doc)

2. Then separated the PW URL's into separately named servers.
I had to change the name in both files and save them to a new storage directory.
There are 6 PassageWeather Directories.

These files load in 3-4 seconds. Click on the Server and the Region loads in 3-4 seconds. Click on the Region and the weatherfaxes load in 3-4 seconds.
These files are in the attached pi-wxfax-pw-separated.zip (remove the doc)
---
I am wondering if the Server titles are too long and causing search problems now.
Attached Files
File Type: doc pi-wxfax-pw-aligned.zip.doc (16.7 KB, 27 views)
File Type: doc pi-wxfax-pw-separate.zip.doc (16.7 KB, 29 views)
rgleason is offline   Reply With Quote
Old 26-01-2018, 11:54   #996
Registered User

Join Date: Mar 2017
Location: Brittany, France
Boat: First 18
Posts: 323
Re: WeatherFax ...

Does anyone else here see the same problems as Rick (slowness on Windows) ?

Rick, maybe I should give you an instrumented version of wxfax, showing some timings, maybe we will be able to find out exactly where the time is spent...
stelian is offline   Reply With Quote
Old 26-01-2018, 12:11   #997
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,211
Re: WeatherFax ...

Quote:
Originally Posted by stelian View Post
Does anyone else here see the same problems as Rick (slowness on Windows) ?

Rick, maybe I should give you an instrumented version of wxfax, showing some timings, maybe we will be able to find out exactly where the time is spent...
If what' supposed be slow is opening the Internet retrieval dialog and going through the sources and namely Passageweather regions should be slow, then no, the operation is instantaneous on my Windows 7 VM.

Pavel
nohal is offline   Reply With Quote
Old 26-01-2018, 12:23   #998
Registered User

Join Date: Mar 2017
Location: Brittany, France
Boat: First 18
Posts: 323
Re: WeatherFax ...

Same for me, in my Windows 10 VM.

Anyone else with a low-spec computer ? (CPU and/or RAM) ?
stelian is offline   Reply With Quote
Old 26-01-2018, 12:39   #999
Registered User

Join Date: Feb 2013
Location: Germany, Bavaria
Boat: Jeanneau Sun Fizz 40' or is it 39'?? :-)
Posts: 206
Re: WeatherFax ...

Hi all, I just sent my input (via e-mail) to Rick....

Best regards,

Uwe
HUR450502 is offline   Reply With Quote
Old 26-01-2018, 12:59   #1000
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,633
Images: 2
Re: WeatherFax ...

Stelian and Pavel, did you use the files I attached perchance?
rgleason is offline   Reply With Quote
Old 26-01-2018, 13:08   #1001
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,211
Re: WeatherFax ...

Quote:
Originally Posted by rgleason View Post
Stelian and Pavel, did you use the files I attached perchance?
No, I used what you have included in the latest installer.
nohal is offline   Reply With Quote
Old 26-01-2018, 13:22   #1002
Registered User

Join Date: Mar 2017
Location: Brittany, France
Boat: First 18
Posts: 323
Re: WeatherFax ...

Quote:
Originally Posted by rgleason View Post
Stelian and Pavel, did you use the files I attached perchance?
Yes, I tried your -separate.zip version, didn't see any difference in timings in either Linux or Windows (all actions like opening the dialog, clicking on a server or a region, complete in less than a half second...).
stelian is offline   Reply With Quote
Old 26-01-2018, 14:21   #1003
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,633
Images: 2
Re: WeatherFax ...

This is very weird. So you think I did all this work on the file and it is actually my machine?

It is Win10 on SurfacePro3 with 4gb and 128gb SSD. Have optimized memory with System Mechanic, which freed up some space. Also tried disabling Norton Antivirus and Firewall, resulting in no difference in performance.

Could it be some Windows or SSD setting? SSD Drivers?
I don't notice this problem with other programs and files.
rgleason is offline   Reply With Quote
Old 26-01-2018, 18:00   #1004
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,211
Re: WeatherFax ...

Rick...
Please build with https://github.com/seandepagnier/weatherfax_pi/pull/91 and let me know if you are happy.

Pavel
nohal is offline   Reply With Quote
Old 26-01-2018, 19:42   #1005
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,633
Images: 2
Re: WeatherFax ...

Oh, Joy! I am happy
Pavel you are a Wizard! Thank you.

It all works in a blink.
rgleason is offline   Reply With Quote
Reply

Tags
paracelle


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
For Sale: SSB, Tuner, Amp, WeatherFax Palarran Classifieds Archive 7 19-03-2011 07:22
Help with WeatherFax and SeaTTY desierto Navigation 2 12-12-2008 20:36
Basic Weatherfax reception Tnflakbait Marine Electronics 3 23-09-2008 21:55
How do I set myself up with weatherfax? tracker_46 Marine Electronics 4 12-10-2006 14:51
Weatherfax Recommendations Please Salacia Marine Electronics 3 03-07-2005 13:28

Advertise Here


All times are GMT -7. The time now is 19:51.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.