|
|
25-01-2018, 13:53
|
#991
|
Registered User
Join Date: Mar 2017
Location: Brittany, France
Boat: First 30 (1976)
Posts: 329
|
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 ?
|
|
|
25-01-2018, 19:36
|
#992
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,996
|
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 ?
|
|
|
|
25-01-2018, 19:50
|
#993
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,996
|
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
|
|
|
26-01-2018, 01:45
|
#994
|
Registered User
Join Date: Mar 2017
Location: Brittany, France
Boat: First 30 (1976)
Posts: 329
|
Re: WeatherFax ...
Quote:
Originally Posted by rgleason
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...
|
|
|
26-01-2018, 12:19
|
#995
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,996
|
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.
|
|
|
26-01-2018, 12:54
|
#996
|
Registered User
Join Date: Mar 2017
Location: Brittany, France
Boat: First 30 (1976)
Posts: 329
|
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...
|
|
|
26-01-2018, 13:11
|
#997
|
Registered User
Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,278
|
Re: WeatherFax ...
Quote:
Originally Posted by stelian
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
|
|
|
26-01-2018, 13:23
|
#998
|
Registered User
Join Date: Mar 2017
Location: Brittany, France
Boat: First 30 (1976)
Posts: 329
|
Re: WeatherFax ...
Same for me, in my Windows 10 VM.
Anyone else with a low-spec computer ? (CPU and/or RAM) ?
|
|
|
26-01-2018, 13:39
|
#999
|
Registered User
Join Date: Feb 2013
Location: Germany, Bavaria
Boat: Jeanneau Sun Fizz 40' or is it 39'?? :-)
Posts: 211
|
Re: WeatherFax ...
Hi all, I just sent my input (via e-mail) to Rick....
Best regards,
Uwe
|
|
|
26-01-2018, 13:59
|
#1000
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,996
|
Re: WeatherFax ...
Stelian and Pavel, did you use the files I attached perchance?
|
|
|
26-01-2018, 14:08
|
#1001
|
Registered User
Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,278
|
Re: WeatherFax ...
Quote:
Originally Posted by rgleason
Stelian and Pavel, did you use the files I attached perchance?
|
No, I used what you have included in the latest installer.
|
|
|
26-01-2018, 14:22
|
#1002
|
Registered User
Join Date: Mar 2017
Location: Brittany, France
Boat: First 30 (1976)
Posts: 329
|
Re: WeatherFax ...
Quote:
Originally Posted by rgleason
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...).
|
|
|
26-01-2018, 15:21
|
#1003
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,996
|
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.
|
|
|
26-01-2018, 20:42
|
#1005
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,996
|
Re: WeatherFax ...
Oh, Joy! I am happy
Pavel you are a Wizard! Thank you.
It all works in a blink.
|
|
|
|
|
Thread Tools |
Search this Thread |
|
|
Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
Advertise Here
Recent Discussions |
|
|
|
|
|
|
|
|
|
|
|
|
Vendor Spotlight |
|
|
|
|
|