Hello! I have about 1200 simple queue rules and I need to change them twice a day because our customers must have higher speeds at nighttime. To do that I run ssh to mikrotik with the following very very long command:
/queue simple remove id9253; /queue simple add name=id9253 dst-address=0.0.0.0/0 target-addresses=192.168.10.129/32 parent=none direction=both priority=8 queue=default-small/default-small limit-at=64000/64000 max-limit=64000/64000 total-queue=default-small;/queue simple remove id9349; /queue simple add name=id9349 dst-address=0.0.0.0/0 target-addresses=192.168.11.225/32 parent=none direction=both priority=8 queue=default-small/default-small limit-at=128000/128000 max-limit=128000/128000 total-queue=default-small;/queue simple ............................
The total length of the command is about 25000 characters, and total number of chunks is about 10-15 to change all the queues. Everything worked fine when we had no more than 700-800 queues but now it takes more than an hour to update them all. I think this is because mikrotik writes every queue change to flash and number of changes is huge.
Can I change this behavior? Is there any way to disable mikrotik writing all changes to disk, or write them only after all ssh commands are executed?
Thanks a lot!