Community discussions

MikroTik App
 
eigenstate
just joined
Topic Author
Posts: 6
Joined: Sat Dec 01, 2012 12:33 am

High Sector Writes when Using LEDs

Tue Sep 13, 2016 7:57 pm

Has anyone found this to be a problem:
I wrote an signal-strength script that I have used for many years. After upgrading from 6.21.1 to 6.36.6 I had to modify it for the new method of controlling the LEDs. (I can’t use the built-in “type=wireless-signal-strength” feature because that has fixed RSSI values.) This new script works fine, but I've noticed extreme resource usage: Each time an LED is set, I get a system log posting and two corresponding sector writes:

Image

The “item changed” in the log appears to be triggered by lines like this:

:set [find where leds="led1"] type=on;

But those entries are presumably written to RAM. What concerns me are the sector writes which I’m concerned will eat up the NAND flash. Is anyone else experiencing this problem?
 
IntrusDave
Forum Guru
Forum Guru
Posts: 1290
Joined: Fri May 09, 2014 4:36 am
Location: Rancho Cucamonga, CA

Re: High Sector Writes when Using LEDs

Tue Sep 13, 2016 11:46 pm

this is not written to ram, it's written to NAND. setting the LED in a script is a change the stored config, and therefore written to the nand.
David Joyce
Network & Security Engineer
Intrus Technologies, LLC.
Rancho Cucamonga, CA, USA

Who is online

Users browsing this forum: No registered users and 18 guests