2020-04-29, 07:41 PM
So I removed OpenCPN, rebooted, ran an update on the system, installed OpenCPN from repo.
First run was with the old config files still in place. Same result. htop shows OpenCPN running one core to 100%. That was just from clicking on the "Tools" menu item in the menu bar. Took 13 seconds to load the menu that drops down. Very repeatable, 12-13s to load the menu after clicking on the item in the menu (although once it took 37s).
I removed the old configs and forced the install to build new. Then I downloaded the NOAA raster charts of the same region and started with those. Quick as lightning with only raster charts installed. Added back in the S-57 ENCs. Molasses. Created a couple of chart groups, one for RNCs, one for ENCs. With the raster group selected works great. With the ENC group selected same issues - very long delays and driving one core to 100%. Switching back to RNC group can be a challenge (wait for menu [haven't tried hotkey], select) but once there it is generally much better (although not as good as removing the ENCs from the database).
So, from this observation, anything that causes significant screen draw (such as a menu taking up a fair amount of real-estate) with the S-57 charts loaded causes a great deal of computation. With raster charts showing a right-click loads the context menu before I finish clicking. With ENC showing that same right-click takes ~10s to get the context menu.
First run was with the old config files still in place. Same result. htop shows OpenCPN running one core to 100%. That was just from clicking on the "Tools" menu item in the menu bar. Took 13 seconds to load the menu that drops down. Very repeatable, 12-13s to load the menu after clicking on the item in the menu (although once it took 37s).
I removed the old configs and forced the install to build new. Then I downloaded the NOAA raster charts of the same region and started with those. Quick as lightning with only raster charts installed. Added back in the S-57 ENCs. Molasses. Created a couple of chart groups, one for RNCs, one for ENCs. With the raster group selected works great. With the ENC group selected same issues - very long delays and driving one core to 100%. Switching back to RNC group can be a challenge (wait for menu [haven't tried hotkey], select) but once there it is generally much better (although not as good as removing the ENCs from the database).
So, from this observation, anything that causes significant screen draw (such as a menu taking up a fair amount of real-estate) with the S-57 charts loaded causes a great deal of computation. With raster charts showing a right-click loads the context menu before I finish clicking. With ENC showing that same right-click takes ~10s to get the context menu.