Equal Bandwidth for a Number of Users not working good

good evening sir
i have dsl speed 512/128
i want Equal Bandwidth for a Number of Users
lan = 192.168.16.1
wan = 192.168.1.1
i work with hotspot and i want add QOS

i did this lines

/ip firewall mangle add chain=prerouting action=mark-packet new-packet-mark=all passthrough=no

/

queue type add name="PCQ_download" kind=pcq pcq-rate=512000 pcq-classifier=dst-address
/queue type add name="PCQ_upload" kind=pcq pcq-rate=128000 pcq-classifier=src-address



/queue tree add parent=global-in queue=PCQ_download packet-mark=all
/queue tree add parent=global-out queue=PCQ_upload packet-mark=all



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

but not working good
please check this for me

i want if (1) user online get it all (512000/128000)
if the become (2) users online get the same speed (256000/64000) × 2 .

please i tried it many time not working good
help me please
thank you
best regards

http://wiki.mikrotik.com/wiki/Manual:Queues_-_PCQ#PCQ_Rate_Examples
See the second example. Set the pcq-rate to 0 and the max-limit on the queue tree.

thank you very much for your reply ..
yes i want this
i get image
i want the same like this

did my rolls i posted first true?
its not working good with me
i test it
PCQ_equal.png

so..
this rouls true or not?

/ip firewall mangle add chain=prerouting action=mark-packet new-packet-mark=all passthrough=no

/queue type add name="PCQ_download" kind=pcq pcq-rate=512000 pcq-classifier=dst-address
/queue type add name="PCQ_upload" kind=pcq pcq-rate=128000 pcq-classifier=src-address

/queue tree add parent=global-in queue=PCQ_download packet-mark=all
/queue tree add parent=global-out queue=PCQ_upload packet-mark=all

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

PCQ TREE = 0 ALREADY
JUST QUEUE TYPE RATE 512 / 128
PLEASE TELL ME I AM TRUE OR NOT?

REMARK ..
i work with hotspot too
but i am not marking rate in user profile
just i use user name and password..

Well, no. That’s completely wrong.

The picture shows that the pcq-rate should be 0 (configured on the queue type under “/queue types”), and that a max-limit should be implemented on the queue tree (configured under “/queue tree”). You do have a pcq-rate set, and do not have a max-limit.

What you have:

/queue type add name="PCQ_download" kind=pcq pcq-rate=512000 pcq-classifier=dst-address
/queue type add name="PCQ_upload" kind=pcq pcq-rate=128000 pcq-classifier=src-address

/queue tree add parent=global-in queue=PCQ_download packet-mark=all
/queue tree add parent=global-out queue=PCQ_upload packet-mark=all

What it should be:

/queue type add name="PCQ_download" kind=pcq pcq-rate=0 pcq-classifier=dst-address
/queue type add name="PCQ_upload" kind=pcq pcq-rate=0 pcq-classifier=src-address

/queue tree add parent=global-in queue=PCQ_download packet-mark=all max-limit=512000
/queue tree add parent=global-out queue=PCQ_upload packet-mark=all max-limit=128000

thank you very much
i get it

I need this to equal bandwidth but i used pppoe server how can distribution all user’s in equal bandwidth