traffic problems on lan

RB4011 Router connected to on Fiberswitch with a 10G patch.
From that fiber switch I have six 1G fibers spread to Fiber/copper switches.
From those switches we have copper spread to a total of 57 individual houses with there own routers.

My question is… Is there a way to make the net balance the bandwidth automatic?
I only have 500Mbits on WAN side. If one router on the LAN side make speedtest and uses full line, all the others gets unprioritised. They get around 5-10mbits left and it gets unstable.

My scenario would be when a user gets in and want 250mbits of that 500 mbit cake when its being used I want it to get splitted direct so the other user only gets 250, and if a third person gets in with max usage it gets splitted again direct, like 166mb each and so on…

Exuse my bad English describe, but hope you understand my scenario. I want it to be automatically balanced…

You want queueing to access the available WAN bandwidth.
Such that the 57 houses if ALL online, share the available bandwidth equally.
1- user = 500Mbps per
2-users= 250Mbps per
etc…

First queue - Parent queue -->Max limit 500Mbps up and down. ( assuming your speed is symetrical )
USE PCQ-RATE=0 !! divides total amount by number of users..

https://www.youtube.com/watch?v=FsAFDMeDFpQ
https://www.youtube.com/watch?v=tnzxrt6bgbs