Community discussions

MikroTik App
 
noir
newbie
Topic Author
Posts: 31
Joined: Wed Dec 15, 2004 8:43 am
Location: South Africa

Something fishy with queues

Fri Apr 08, 2005 10:02 am

I am running a high site with some clients on it. The high site is using 3 sector based antenna all running pppoe server on them. The cards being used on the sectors are prism2 802.11b cards @ 2.4ghz.

The back haul link is running an Atheros Ar5215 @ 5.8ghz.
We set up a queue's to basically allow our clients 128k connections to the internet but 512k access to the our mail-server.

The queue's were working fine but now we seem to be having some weird issues. One of our clients is access http sites at around 300kbits to 500kbits.
Here is our mangle setup :

0 src-address=10.10.1.0/24 dst-address=192.168.2.1/32:110 protocol=tcp
action=pass through mark-connection=pop3-con

1 connection=pop3-con action=accept mark-flow=pop3-flow

2 src-address=10.10.1.0/24 dst-address=192.168.2.1/32:25 protocol=tcp
action=passthrough mark-connection=smtp-con

3 connection=smtp-con action=accept mark-flow=smtp-flow

4 src-address=10.10.1.0/24 protocol=tcp tcp-options=syn-only p2p=!any
action=passthrough tcp-mss=1440 mark-connection=all-con

5 connection=all-con action=accept mark-flow=all-flow

So we are marking the pop3 and smtp traffic first, so this should ensure that they are sent to the queues first.

Here is our pcq queue's :

4 name="Mail-download-queue" kind=pcq bfifo-limit=15000 pfifo-limit=10
red-limit=60 red-min-threshold=10 red-max-threshold=50 red-burst=20
sfq-perturb=5 sfq-allot=1514 pcq-rate=524288 pcq-limit=50
pcq-classifier=dst-address,dst-port

5 name="Mail-upload-queue" kind=pcq bfifo-limit=15000 pfifo-limit=10
red-limit=60 red-min-threshold=10 red-max-threshold=50 red-burst=20
sfq-perturb=5 sfq-allot=1514 pcq-rate=524288 pcq-limit=50
pcq-classifier=src-address,src-port

6 name="128k_connection-download" kind=pcq bfifo-limit=15000 pfifo-limit=10
red-limit=60 red-min-threshold=10 red-max-threshold=50 red-burst=20
sfq-perturb=5 sfq-allot=1514 pcq-rate=131000 pcq-limit=50
pcq-classifier=dst-address,dst-port

7 name="128k_connection_upload" kind=pcq bfifo-limit=15000 pfifo-limit=10
red-limit=60 red-min-threshold=10 red-max-threshold=50 red-burst=20
sfq-perturb=5 sfq-allot=1514 pcq-rate=131000 pcq-limit=50
pcq-classifier=src-address,src-port

and here below is our queue tree :

0 name="mail-download-queue" parent=global-in flow=pop3-flow limit-at=0
queue=Mail-download-queue priority=7 max-limit=3000000 burst-limit=0
burst-threshold=0 burst-time=0

1 name="mail-upload-queue" parent=global-out flow=smtp-flow limit-at=0
queue=Mail-upload-queue priority=7 max-limit=3000000 burst-limit=0
burst-threshold=0 burst-time=0

2 name="128k-download" parent=global-in flow=all-flow limit-at=0
queue=128k_connection-download priority=8 max-limit=524288
burst-limit=0 burst-threshold=0 burst-time=0

3 name="128k-upload" parent=global-out flow=all-flow limit-at=0
queue=128k_connection_upload priority=8 max-limit=524288 burst-limit=0
burst-threshold=0 burst-time=0

Even the mail queues are higher on the list to ensure that the mail queues are running at their set speeds. Now we have one client who is connected to the network but is not making any mail request. The queues them selves are not indicating any traffic. What could be the cause of this.
 
spire2z
Long time Member
Long time Member
Posts: 516
Joined: Mon Feb 14, 2005 2:48 am

Fri Apr 08, 2005 9:25 pm

I think your 128 kbps queues are not catching the traffic. I use simple queues for the clients and leave the global queues as they are. Try using a simple queue for 0.0.0.0/0 dst address at 128kbps?

Who is online

Users browsing this forum: aoakeley, xrlls and 119 guests