[squid-users] Having trouble figuring out delay pools

From: Jeff Gregor <cpbecket_at_berkshire.net>
Date: Tue, 23 Jun 2009 11:52:00 -0400

I have a site that connects to the internet via satellite. Squid 3.0
sits on the firewall as a transparent proxy to reduce the amount of data
downloaded (we have a daily threshold) and to speed up access (since
satellite latency sucks). The satellite serves two groups of users, each
on their own subnet. There's public access on 192.168.20.0/24, and
office access on 192.168.10.0/24. Usable bandwidth is about 1 Mbps.
Right now it seems like one or two users (generally on the public
subnet) suck up all the bandwidth and the rest of the network slows to a
crawl. I'd like to accomplish the following:
    * Split usable bandwidth in half, 512 kbps for each subnet
    * Idle bandwidth should be available for the office subnet
         (ie, if no one is using public access, full bandwidth should be
available for office use )
    * Establish per-user (by IP) limits on each net so that one user
can't suck up all available bandwidth from their subnet
       (and again, if network is idle users should get more bandwidth.)
Generally there is a max of about 10 users on each subnet at a time, and
usually far fewer.

I already have existing acls for the two subnets:
    acl publicusers src 192.168.20.0/24
    acl officeusers src 192.168.10.0/24

I'm really struggling with what combination of delay pool types and
bandwidth settings would accomplish this - figuring out what per-user
settings should be really has me stumped. Math is not among my
strengths. :-) I've read the documentation in the conf file and googled
extensively, but I just can't seem to wrap my brain around this.

Any help would be greatly appreciated!
Received on Tue Jun 23 2009 - 15:52:10 MDT

This archive was generated by hypermail 2.2.0 : Wed Jun 24 2009 - 12:00:04 MDT