On 26.06.2012 01:32, Ibrahim Lubis wrote:
Hi,

How to limit bandwith user from subnet example 10.10.10.0/24 to
maximal use of 20Mbit, and limit max use per client in that subnet to
1024 Kbit using delay pools.

See http://www.squid-cache.org/Doc/config/delay_parameters/


I read somewhere delay_pools is deprecated, is this true?

No. Delay pools is just a bit old with some issues due to its design (very limited IPv6 support, and strange effects when the TCP buffers are bloated[1]).
But it is NOT deprecated.


If i activate zph does it disable delay pool?

No, both will limit the traffic to no more than their own rate. Delay pools limits read() operations from upstream network servers, ZPH/QoS flows limit delivery to the client according to whatever your external QoS management decides. NP: Squid-3.1+ no longer buffers large amounts of data from the server to drip-feed clients.


Amos

[1] http://www.bufferbloat.net/

Reply via email to