help for PCQ

Hi
It has a query regarding What is the correct way to divide the speed of the number of users evenly
Readers may at some sites was thrown valid idea because some speak and others contrary to the same idea
Now any one can explain whats meaning of :

if rate = 0
and when rate = 512k for example


and whats meaning of :
limit
and Total limit

you can see picture for example it

http://wiki.mikrotik.com/wiki/Manual:Queues_-_PCQ

Google is your friend :smiley:

Thank you
I know google my friend but i need to short way to take idea from here

if u speak english and we can talk with some kind of chat i can explain u some things.

my usual setup to my customers is this line…

/queue simple
add max-limit=768k/10M name=queue1 queue=pcq-upload-default/pcq-download-default target=192.168.88.0/24

means…
my dsl line upload max is 768k and download max is 10M
my lan pc’s are at subnet 192.168.88.0/24

if i go to queue types and double click pcq-upload or pcq-download my RATE is 0 means…
every user in the lan starts download ros creates a queue. if RATE=0 then equally splits max speed.
if one user is downloading will get 10M
if 2 users downloading will get 5M each
if 3 bla bla bla

if RATE=2M means that every user downloading will get max 2M speed even he is alone on the network.
if there are 2 users connected and downloading “each user” will get 2M max.

same applies for upload

Thank you for helping me ..
I would to ask you some confirmation
Question A
In case of Rate=0 and max -limit = 10M
I see in queue type,PCQ
Rate = 10M in example
limit =
Total limit =
in (limit and total limit) what is meaning of ?
limit=50 and total limit =2000
Is Both Divided meaning number of user (host) that working on PCQ ?

other question
Question B
Suppose Rate=0
and max limit=10M
and enter 60 user in PCQ
every user have “0.166K” download and upload “12.8K” ?

when i apply any method of PCQ
go to simple queue and add
in general
name :queue 1 for example
target:network address
max limit for upload = 768K for example
max limit for download = 10M
in advanced
queue type choose name of pcq download and upload , that’s right !

last question
Question C
Rate=128K
in simple queue
in general , i don’t choose max-limit for download and upload (unlimited)
and advanced only select in queue type “pcq download and upload”
that’s mean every user enter in network having speed “128K” for download and upload ??

  • Are defiance by the idea mentioned is considered right or wrong

Thank you very much

Question A
dont bother with these numbers for the moment. try to play with the default numbers
the default number 50/2000 = 40 users
50 is the size of queue automaticaly created for each user.

Question C
YES. every user will get 128kb.
you should always apply max limit for upload and max limit for download otherwise ros does not know how to divine bandwidth.

ok,

Now if need 60 user that mean
limit = 50
total limit = 3000
Approximation = 60 user
that’s right

If i need any think of how to divide speed , i will ask you, because Your explanation concept excellently :smiley:

60 users multiply by 50 (limit) then total limit=3000
this is the way i calculate it. i read it in another post in this forum in the past.
give me some KARMA men!!!

Yes
Resolved through mathematical thinking

read also this article.
http://wiki.mikrotik.com/wiki/Manual:HTB#Example_3_:_Inner_queue_limit-at

i read the wiki’s from mikrotik many times again and again and always i was missing something.
ros is wonderful!

OK
Thank you
I wish you all the best