All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andy Furniss <lists@andyfurniss.entadsl.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Fairness queuing across a range of IP addresses
Date: Thu, 29 Mar 2007 22:37:32 +0000	[thread overview]
Message-ID: <460C3FAC.1050808@andyfurniss.entadsl.com> (raw)
In-Reply-To: <4600245C.9040906@interdart.co.uk>

Oscar Mechanic wrote:
> On Tue, 2007-03-20 at 20:09 +0100, Ales Klok wrote:
>> Derek Sims wrote:
>>> I have a block of IP addresses (2048) used for ADSL connections to 
>>> customers.
>>>
>>> In order to provide a fair slice of available bandwidth on the 
>>> contended services I would like to be able to set up some kind of SFQ 
>>> filter, but using a hash of the destination IP address rather than the 
>>> the full source and destination ip and port. This would be done at the 
>>> Internet side gateway for traffic being sent towards the customer's IP 
>>> address.
>>>
>>> Can anybody suggest how this could be done with qdiscs?
>>>
>>> TIA
>>>
>>> Derek
>> Hi Derek, if i understand what you wanna do then i think you are looking 
>> for ESFQ. With ESFQ you can choose hash type from classic, dest IP or 
>> src IP.
>> /ak
> 
> As an ISP with 800 clients I found the hashs difficult to manage after
> time. Also when dealing with clients who want subnet /29 mapping back to
> a billing entry was hard. I wrote some PHP so other could use web front
> end and used ipset (both hash and net sets) and combining with marks to
> do the traffic control for different levels of service. As the client
> requirements grew changed this ended in allot of panic PHP. So i use 3rd
> party vendor device.
> 
> My advice would be to use 2 devices 1 to mark traffic and do access
> control and use ds_shed to control traffic on other device. I think I
> went wrong in trying to do all on one device.

The latest esfq used jhash - so should be better than the old hash.

http://fatooh.org/esfq-2.6/

Andy.

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

      parent reply	other threads:[~2007-03-29 22:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-20 18:13 [LARTC] Fairness queuing across a range of IP addresses Derek Sims
2007-03-20 19:09 ` Ales Klok
2007-03-20 19:26 ` Oscar Mechanic
2007-03-29 22:37 ` 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=460C3FAC.1050808@andyfurniss.entadsl.com \
    --to=lists@andyfurniss.entadsl.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.