There is not any queue limit.
Certainly, queues require some routerās resources (60-70% CPU load means, that CPU is working ).
There are ways to optimize your queues (e.g. using PCQ, etc.), if you have 1100 queues entries.
if you have 1100 queues with the same speed limit, it just wastes your resources. just make one PCQ queue (see manual) that will limit all your users each with the same limit (you will replace 1100 queues with 1-2)
if you have 1100 queues with the same speed limit, it just wastes your resources. just make one PCQ queue (see manual) that will limit all your users each with the same limit (you will replace 1100 queues with 1-2)
Could this be done on a PPPOE server which every ppp interface have a dynamic simple queue? Thanks in advance..
The way I understand PCQ queues it shares that bandwidth equally among all users, in this case 1100 users would each have an equal share of bandwidth, if the queue is set to 2M for example and 4 users who should get 2M each are sharing it at the same time, they each get 512k?
Is there some way that is would give them each 2M?
ParisDragon,
you can use PCQ in the another way too.
e.g. mark clients and specify certain bandwidth 2M/2M.
Of course you should have 8M line, if you want 4 users to get 2M/2M.
It would be if you didnt have to use IPs or subnets to define them, for example, grouped would be using a firewall address list or a group of IPs defined somewhere (ex. 128k users, 512k users) and inside the group was the IPs of the clients needing this shaping, then the simple queue could have Target ā128k usersā instead of an IP etc.
Here is a mock up using the link you sent:
Setup PCQ queue types - one for download and one for upload. dst-address is classifier for userās download traffic, src-address for upload traffic:
/queue type add name=āPCQ_download128kā kind=pcq pcq-rate=128000 pcq-classifier=dst-address
/queue type add name=āPCQ_upload64kā kind=pcq pcq-rate=64000 pcq-classifier=src-address
/queue type add name=āPCQ_download512kā kind=pcq pcq-rate=512000 pcq-classifier=dst-address
/queue type add name=āPCQ_upload128kā kind=pcq pcq-rate=128000 pcq-classifier=src-address
2. Setup your IP groups to define users to utilize this:
/add ip group ā128k Usersā
/ip group 0 add ip-addresse=192.168.0.12
/ip group 0 add ip-addresse=192.168.0.17
/ip group 0 add ip-addresse=192.168.0.21
/ip group 0 add ip-addresse=192.168.0.7
/add ip group ā512k Usersā
/ip group 1 add ip-addresse=192.168.0.9
/ip group 1 add ip-addresse=192.168.0.217
/ip group 1 add ip-addresse=192.168.0.24
/ip group 1 add ip-addresse=192.168.1.10
I would like to know this as well.. By default the PPPoE dynamic queues use a Default-small queue type. So in theory, if you were to change the default-small queue type from the default (PFIFO) to PCQ I believe you could achieve this⦠Test it and report back, or if someone has done this before please confirm!