All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andy Furniss <andy.furniss@dsl.pipex.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] htb: HowTo identify squid cache hits
Date: Mon, 30 May 2005 15:01:14 +0000	[thread overview]
Message-ID: <429B2ABA.50905@dsl.pipex.com> (raw)
In-Reply-To: <20050526133242.GA11315@sysop-2.atlascollege.nl>

Peter Kaagman wrote:
> On Thu, May 26, 2005 at 07:56:09PM +0100, Andy Furniss wrote:
> 
>>Peter Kaagman wrote:
>>
>>
>>>But there is of course a src of packages I do not catch this way... and
>>>these are the squid cache hits. Because I filter on destination the cache
>>>hits get treated the same as cache misses. But cache hits are in effect
>>>local traffic... they do not originate from the Internet.
>>
>>If squid is running on the same machine as your htb rules then (I think) 
>>the only way you can shape incoming traffic from the internet properly 
>>is to use imq.
>>
> 
> 
> Not really sure what imq is, will have to look that up tomorrow.

I think using delay pools like Lewis says could be another way.

If you don't have much traffic that needs priority over squid then you 
may be able to get away with shaping on lan facing eth with the same 
settings as the delay pools.

If you use imq then you won't be able to tell which user squid is 
fetching the data for.

Whatever you do remember that shaping download is shaping traffic that 
has already been shaped by your link - so you need to back off from the 
link speed to have any chance of getting control, it still won't be 
perfect if you care alot about latency.

Andy.
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

      parent reply	other threads:[~2005-05-30 15:01 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-26 13:32 [LARTC] htb: HowTo identify squid cache hits Peter Kaagman
2005-05-26 13:49 ` Justin Schoeman
2005-05-26 14:00 ` Marcin Kałuża
2005-05-26 14:04 ` Evgeni Gechev
2005-05-26 14:05 ` Daniel Lupescu
2005-05-26 14:33 ` Peter Surda
2005-05-26 17:49 ` Pan'ko Alexander
2005-05-26 18:56 ` Andy Furniss
2005-05-26 19:13 ` Pan'ko Alexander
2005-05-26 19:41 ` Andy Furniss
2005-05-26 19:47 ` Peter Kaagman
2005-05-26 19:59 ` Peter Kaagman
2005-05-27  0:09 ` Lewis Shobbrook
2005-05-27  9:13 ` Konrad
2005-05-30 15:01 ` Andy Furniss [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=429B2ABA.50905@dsl.pipex.com \
    --to=andy.furniss@dsl.pipex.com \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.