Cake - FQ_codel the next generation
 help / color / mirror / Atom feed
* Re: [Cake] flow isolation for ISPs
@ 2017-04-06 13:19 Konstantin Shalygin
  0 siblings, 0 replies; 28+ messages in thread
From: Konstantin Shalygin @ 2017-04-06 13:19 UTC (permalink / raw)
  To: cake, Pete Heist

[-- Attachment #1: Type: text/plain, Size: 574 bytes --]

Hello.

If you don't know how to shape gigabits via HTB and u32 flow filters, 
maybe for you will be useful to sc <https://bitbucket.org/sky/sc> - this 
is tool for ISP, do all work for you.
Hope this helps.

> I get the part about matching with tc-filter and the u32 selector (as intuitive as that is :), but am not sure of the action the filter needs to take. However, I do see the example towards the bottom of the tc-u32 man page where a hash table is created and filters move packets into the right buckets. Perhaps it will be eventually decipherable from this… :)



[-- Attachment #2: Type: text/html, Size: 898 bytes --]

^ permalink raw reply	[flat|nested] 28+ messages in thread
[parent not found: <mailman.340.1491486631.3609.cake@lists.bufferbloat.net>]
* [Cake] flow isolation for ISPs
@ 2017-04-06  8:27 Pete Heist
  2017-04-06  8:39 ` David Lang
                   ` (3 more replies)
  0 siblings, 4 replies; 28+ messages in thread
From: Pete Heist @ 2017-04-06  8:27 UTC (permalink / raw)
  To: cake

Suppose there is a cooperative ISP that has some members who access the network through a single device (like a router with NAT), while others use multiple devices and leave routing to the ISPs routers. (No need to suppose, actually.)

There’s fairness at the IP address level (currently with esfq, maybe soon with Cake), but it's not fair that members with multiple devices effectively get one hash bucket per device, so if you have more devices connected at once, you win. There is a table of member ID to a list of MAC addresses for the member, so if there could somehow be fairness based on that table and by MAC address, that could solve it, but I don’t see how it could be implemented.

Is it possible to customize the hashing algorithm used for flow isolation, either with Cake or some other way?

The only options I can think of now:

- force each member to use only one IP address (probably impractical at this point with hundreds of members)
- use one queue per member in an HTB hierarchy, for example, with filters matching each member’s devices, but that seems difficult to manage
- wait years for IPv6 deployment, allocate subnets to each member and wait for qdiscs that have the ability to hash by IPv6 subnet :)


^ permalink raw reply	[flat|nested] 28+ messages in thread

end of thread, other threads:[~2017-04-08  6:16 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-06 13:19 [Cake] flow isolation for ISPs Konstantin Shalygin
     [not found] <mailman.340.1491486631.3609.cake@lists.bufferbloat.net>
2017-04-06 14:18 ` Pete Heist
2017-04-06 15:41   ` Andy Furniss
  -- strict thread matches above, loose matches on Subject: below --
2017-04-06  8:27 Pete Heist
2017-04-06  8:39 ` David Lang
2017-04-06  8:48   ` Pete Heist
2017-04-06  8:57 ` Jonathan Morton
2017-04-06  9:04   ` Pete Heist
2017-04-06 10:26   ` Andy Furniss
2017-04-06  9:11 ` Jonathan Morton
2017-04-06  9:26   ` Pete Heist
2017-04-07  8:13     ` Pete Heist
2017-04-07  8:28       ` Jonathan Morton
2017-04-07  9:37         ` Pete Heist
2017-04-07 11:13           ` Sebastian Moeller
2017-04-07 11:42             ` Pete Heist
2017-04-08  6:16           ` Pete Heist
2017-04-07 10:56         ` John Sager
2017-04-06  9:33 ` Toke Høiland-Jørgensen
2017-04-06 10:26   ` Pete Heist
2017-04-06 10:50     ` Toke Høiland-Jørgensen
2017-04-06 11:34       ` Pete Heist
2017-04-06 12:14         ` Toke Høiland-Jørgensen
2017-04-06 13:30           ` Pete Heist
2017-04-06 13:42             ` Toke Høiland-Jørgensen
2017-04-06 13:50               ` Pete Heist
2017-04-06 14:41               ` Dave Taht
2017-04-06 12:48     ` Andy Furniss

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox