Troubleshooting using plug qdisc in Docker

Linux Advanced Routing and Traffic Control

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

 



Hi All,

I am trying to utilise the plug qdisc to buffer SYN packets to a
inbound TCP port, in line with the blog post here:
http://engineeringblog.yelp.com/2015/04/true-zero-downtime-haproxy-reloads.html

I have tried a few scenarios, most of the logic seems sound I just
cannot get the SYN packets to hit the plug qdisc when viewing with `tc
-s qdisc show`. They always end up in one of the other 3 pfifo
qdisc's.

See the gist here with examples of what I have tried so far, I suspect
my issue is something like using the wrong iptables chain to MARK the
packets, or using ifb0 incorrectly. I did try doing this on eth0
previously (the inbound interface in the container), but this doesn't
feel right being shaping can only occur on the egress...? Hence trying
the ifb0 approach instead.

https://gist.github.com/CpuID/9240ca9e77604211a57d

Any help would be appreciated in getting it working.

Regards,

Nathan Sullivan.
--
To unsubscribe from this list: send the line "unsubscribe lartc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux