Bandwidth with PCQ

Hello,

I want to share bandwidth of my line (30Mpbs down / 3Mpbs down) to all clients equal.
I used the example from https://wiki.mikrotik.com/wiki/Manual:Queues_-_PCQ_Examples
and I have create the folowing rules :

/queue type add name=“PCQ_download” kind=pcq pcq-rate=30M pcq-classifier=dst-address
/queue type add name=“PCQ_upload” kind=pcq pcq-rate=3M pcq-classifier=src-address

/queue simple add target-addresses=192.168.100.0/24 queue=PCQ_upload/PCQ_download

According to the site the router will equal share bandwidth to all clients but if a client starts to
download a huge file will affect the other clients speed ?
Will be better to equal share bandwidth to all clients but limit max client speed to e.g. 10Mbps down / 1Mpbs up
using mangle and queues tree or the above rules are OK ?

thanks

Hi

I would leave the pcq rate at default 0 and define absolute limit at the simple queue level.

Thanks for the suggestion.
From what I read again its better that way.

Will this prevent one client to take all bandwidth when other clients are using internet also ?

thanks

Yes, pcq will balance available bandwidth as needed. So if someone downloads, and second person want to download too, the available bandwidth will be rebalanced.

OK, then I’m good.

I also read this post http://forum.mikrotik.com/t/prevent-single-ip-hogging-all-bandwidth/102306/1
and because sometimes I watch TV from Internet (it needs 7-8Mpbs) and rest of
family are watching youtube, facebook, skype, e.t.c.
will be better to use SFQ instead of PCQ because if we are 5 ppl using internet
the router will equal divine the bandwidth of 30Mbps / 5 = 6Mpbs each but since
not all need the 6Mpbs for e.g. facebook will give me more bandwidth.

or I’m ok with the above rules so I get equal share and none will take all the bandwidth

thanks

PCQ will NOT blindly devide BW / number users, but as needed / requested by each. So if one downloads at full speed and other just surf, download will be at full speed.

Similar for SFQ btw, just that sfq doesn’t do any buffering.

thank for the help.

I stay with PCQ and I’ll see how it will go.