Search squid archive

Re: mime-type based delay pools

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jan 21, 2008, Amitava Bhattacharyya wrote:
> I followed this discussion: " Re: Re: Cache Streaming
> Video?" (http://www.squid-cache.org/mail-archive/squid-users/200701/0154.html).
> Seems that making the maximum_object_size higher has an effect, so I
> have set it to 50 MB. Calamaris says youtube.com is getting a hit of
> 40%.
> But the problem is not just youtube. People do download 100 MB+ files.
> I want to test whether separating text/* mimetypes from the others and
> putting the other mimetypes on a separate, bandwidth limited stream
> would help.

I thought squid-3 had some "class 4 delay pool" stuff to make this a possibility
right now.

You can fake it though, with tcp_outgoing_tos based ACLs. You set the TOS
(or select another IP!) for certain mime types, and then rate limit that
IP address.

(I've done the latter quite successfully. ;)



Adrian

> 
> On Jan 20, 2008 9:44 PM, Adrian Chadd <adrian@xxxxxxxxxxxxxxx> wrote:
> > The first thing I'd do before looking at delay pools is to grab
> > a few days of logfiles, pass them through calamaris or something
> > similar and generate some traffic reports.
> >
> > If youtube is a big bandwidth hog then you may benefit from some
> > of my work to make Squid cache youtube.
> >
> >
> >
> >
> > Adrian
> >
> >
> > On Sun, Jan 20, 2008, Amitava Bhattacharyya wrote:
> > > Hi!
> > >
> > > I am a member of the Student Network Club at our institute. We are
> > > facing problems related to slow access speeds, even though the
> > > bandwidth is not so less (12 Mbps for students). We decided to set up
> > > our own proxy server (since getting authorization to access/modify the
> > > institute servers would take quite some time) to monitor utilization.
> > > As part of this exercise, we would also like to implement delay pool
> > > based bandwidth management. Since it is very likely that big downloads
> > > and youtube are eating up the bandwidth, will a mime type based delay
> > > pool work in this case? And how exactly do I set it up?
> > > For example, if i define two delay pools, one based on based on hostel
> > > IPs and the other on mime-types (question: would this be a class 1
> > > delay pool?), and say give limit of 16 kBps / 4 MB for the downloads
> > > stream, how will this be enforced? Will this mean that _every_
> > > download less than 4 MB goes un-delayed, and beyond that it fills up
> > > at 16 kBps?
> > >
> > > --
> > > Best regards,
> > >
> > > Amitava Bhattacharyya
> > > PGP Class of 2008, Indian Institute of Management Bangalore
> > > J-310, Hostel Blocks, IIM Bangalore
> > > Bangalore, Karnataka 560076 INDIA
> > > +919986695721
> >
> > --
> > - Xenion - http://www.xenion.com.au/ - VPS Hosting - Commercial Squid Support -
> > - $25/pm entry-level VPSes w/ capped bandwidth charges available in WA -
> >
> 
> 
> 
> -- 
> Best regards,
> 
> Amitava Bhattacharyya
> PGP Class of 2008, Indian Institute of Management Bangalore
> J-310, Hostel Blocks, IIM Bangalore
> Bangalore, Karnataka 560076 INDIA
> +919986695721

-- 
- Xenion - http://www.xenion.com.au/ - VPS Hosting - Commercial Squid Support -
- $25/pm entry-level VPSes w/ capped bandwidth charges available in WA -

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux