Community discussions

MikroTik App
 
Max
Member Candidate
Member Candidate
Topic Author
Posts: 116
Joined: Fri Jan 01, 2010 5:45 pm

script to decrease or increase max-limit via ping latency

Sun Feb 20, 2011 5:38 pm

Has anyone tried something similar?
 
inibir
Member Candidate
Member Candidate
Posts: 116
Joined: Thu Nov 25, 2010 2:25 pm
Location: lebanon
Contact:

Re: script to decrease or increase max-limit via ping latenc

Tue Feb 22, 2011 3:18 am

what is this ???? :? :? :?
 
Max
Member Candidate
Member Candidate
Topic Author
Posts: 116
Joined: Fri Jan 01, 2010 5:45 pm

Re: script to decrease or increase max-limit via ping latenc

Mon Feb 28, 2011 5:56 pm

I was suggested a while ago to use a script that increases or decreases the max-limit of a queue based on ping-latency.

For start, I've tried to implement some scripts that activates a queue whenever Traffic Monitor is over 0bytes for a specific interface, and disable it with a 2min delay when it was 0bytes.
1) traffic >0byte on specific eth, run script that activates Queue
2) traffic =0byte on specific eth run script that waits 2 mins and then it disables Queue

IMHO, the problem was that Traffic Monitor keeps track of all the past past events, and combined with that script that has 2 minute delay (sleep(120)) before it disables Queue, I'm getting enabled/disabled queues from past events, instead of actual events.
If I wasn't clear enough, I'll describe a simple scenario:
There is traffic on eth, meaning that the Queue should be activated, but the Queue gets disabled because 2 mins ago there wasn't traffic.
 
Muqatil
Trainer
Trainer
Posts: 573
Joined: Mon Mar 03, 2008 1:03 pm
Location: London - UK
Contact:

Re: script to decrease or increase max-limit via ping latenc

Mon Feb 28, 2011 6:30 pm

I've done a presentation about this idea on my training course:
QoS on Wireless Links.pdf
You do not have the required permissions to view the files attached to this post.
 
MRMISSY
newbie
Posts: 44
Joined: Sun Mar 07, 2010 3:26 pm

Re: script to decrease or increase max-limit via ping latenc

Tue Mar 01, 2011 3:10 am

I've done a presentation about this idea on my training course:
QoS on Wireless Links.pdf
thank you
i was looking for that for long time

Who is online

Users browsing this forum: jaclaz, whuupwhuup and 24 guests