Help to make sh script adjust SQM automaticaly

You might want to have a look at SQM autorate-ingress: Can I set thresholds for this? where @dlakelan developed something functionally similar using erlang...

Thanks! will take a look on it

This is pretty intrusive, as you will have repeated outages due to your schedules measurement runs...

I did this so the speedtest result from script will more accurate to avoid some client downloading in same time with speedtest process

This is pretty sane, you need your own measurement endpoints to get halfway reliable speedtests, but keep in mind that you will measure the whole network path, so if the transit/peering between the network housing your automatically adjusted SQM instance and the AS/datacenter housing the measurement endpoint is congested, you will throttle all outgoing traffic, even if destined to non congested networks.

my plan is keep it automatic because if i do it manually it will cancel my idea/plan hehe
but i should can set minimum speed for my internet, to prevent sqm config speed lower than my ISP speed promise. so if i set minimum bandwidth 14mbps for download & upload, then speedtest result lower than it, it will set to 14mbps.

The downside is, that when your ISP just throttled you from 30 to 14 you will need to endure quite substantial bufferbloat until your adjustment script is run again.

yah i plan to make it every 8 hour adjustment
or when i play game and feel lagging, i should do manual adjustment :smiley:

1 Like