Community discussions

MikroTik App
 
paris9
newbie
Topic Author
Posts: 32
Joined: Mon Feb 03, 2014 9:31 am

Performance Problems with /System routerboard get model

Fri Feb 07, 2014 9:05 am

Hi,

This is my environment:

# ROS version: 6.9
# RB firmware: 3.10

I am running a simple repetition test on the following commands. After reboot the script takes less than a second to execute. However, after numerous repetitions it takes minutes and eventually my router freezes and reboots. This is exactly what's happening to my scripts that use these same commands. The script starts out lighting fast and over time gets slower then freezes. Why does calling the same command over and over decrease the execution time?

:local junk {
[/system routerboard get model]
[/system license get software-id]
[/system routerboard get serial-number]
[/system routerboard get current-firmware]
}

feb/06 22:35:15 script,info Speed Test executed in 00:00:00.204345 seconds.
feb/06 22:35:16 script,info Speed Test executed in 00:00:00.214573 seconds.
...
feb/06 22:44:16 script,info Speed Test executed in 00:02:09.429324 seconds.
feb/06 22:44:33 script,info Speed Test executed in 00:02:22.850405 seconds.
feb/06 22:44:33 script,info Speed Test executed in 00:02:20.849981 seconds.
 
paris9
newbie
Topic Author
Posts: 32
Joined: Mon Feb 03, 2014 9:31 am

Re: Performance Problems with /System routerboard get model

Sat Feb 08, 2014 2:42 am

So here is an update on this: I have worked around the problem by reading the "/system routerboard" values into global variables- I read them once now. However, it is my guess that this is a firmware related issue.