I'm trying to rate limit my customers to 512k/128k no more or less.
I tried different setups for queues including pcq's for uploads and downloads separately.
If I apply queue to a subnet address, 192.168.0.0/24, it shares bandwidth evenly between all users in that subnet, e.g. if i rate limit subnet to 512kbps, and i got 10 users, i will get ~50kbps per user, but I want to rate limit that subnet to 512kbps and get 512kbps for each user.
I know there is a way to do it by writing individual queues for every user, but i've got around 600 users on that subnet (/22 actually), and even if i create these queues with a script, it may create a excessive cpu load (running mikrotik on 700mhz amd)
My question is: is there a way to create rate limiting rules applied to a subnet, that specify bandwith limit per user individually?
Actually this is not an easy question. You need maybe several days to read all in this forum. It's a tone of posts here. The main problem with bursts is that if somebody reaches the burst, it's difficult and slow to take from it over traffic. Shapers works slow and not absolutely correct. Some peoples uses adv. techniques such as bridge with one queue tree and router with simple queues after that... Read closely all posts you reach in the forum. That will help you to find out some good decision.