Hello,
I rewritten the Mikrotik router script so it relies less on interactions
with RouterOS and processes mainly lists in memory.
So the speed significantly increased, an update check without changes on my
RB110AHx2 taking 4 seconds.
A full table and tunnel setup takes less than 1 min.
On a single core ARM, an update check takes less than 10 seconds.
The introduced delay will increase the runtime. Still on the RB1100 it takes
only 12 seconds for a check, and some 30 sec on the ARM, while the processor
load is quite small (15-20% on the RB1100).
Download links (rsc script):
http://www.yo2loj.ro/hamprojects/ampr-gw-2.0.rsc
http://yo2tm.ampr.org/hamprojects/ampr-gw-2.0.rsc
Only main script as text file:
http://www.yo2loj.ro/hamprojects/ampr-gw-2.0.txt
http://yo2tm.ampr.org/hamprojects/ampr-gw-2.0.txt
Have fun,
Marius, YO2LOJ