[squid-users] delay syntax, speed and network

Massimo.Sala at asl.bergamo.it Massimo.Sala at asl.bergamo.it
Thu Dec 10 10:38:17 UTC 2015


1) speed syntax

example :

        delay_parameters 1 -1/-1 1280000/1280000 128000/128000


The speed is bytes / sec.

Is it possible to use multipliers like K and M ?

Is it possible to use units, like bps ( bit per sec ) ?


It is wonderfoul to read :

        delay_parameters 1 -1/-1 10Mbps/10Mbps 1Mbps/1Mbps



2) network

We have about 50 subnets, on different locations.

It is a "hub" topology : all the subnets are linked via WANs to our 
central location, where there is the IT centre.

>From the IT centre we have the links to Internet, and the proxy server 
running squid ( forwarding, IT manager decision ).


Our internal IP addressing is 10.0.0.0/8

10.1.0.0 for the first site, 10.2.0.0 the 2nd, etc ...


Goals :

        overall proxy bandwidth limit : none
        each site limit : 10 Mbps
        each pc client limit : 1 Mbps


My work-around is this, using class 3 for /16 networks :

        delay_class 1 3
        delay_parameters 1 -1/-1 1280000/1280000 128000/128000

but it is a "fuzzy" fitting : each remote site is seen by squid as N 
smaller networks, so the overall site limit is N * 10 Mbps ...


Is it possible to match my goals ?

Or I request a new class, where we can specify the netmask.


best regards, Sala 
massimo.sala at asl.bergamo.it
Tel. 035/385.034
ASL Provincia di Bergamo | Sistemi Informativi Strategici



More information about the squid-users mailing list