From: Dev <dev@logicalwebhost.com>
To: "Toke Høiland-Jørgensen" <toke@toke.dk>
Cc: bloat <bloat@lists.bufferbloat.net>
Subject: Re: [Bloat] fq_codel on bridge throughput test/config
Date: Tue, 15 Jan 2019 16:54:29 -0800 [thread overview]
Message-ID: <F25F4465-C905-4A5E-9F0E-6D21757A0F20@logicalwebhost.com> (raw)
In-Reply-To: <875zv4yx4u.fsf@toke.dk>
[-- Attachment #1: Type: text/plain, Size: 2604 bytes --]
Okay, here’s what I have to get fq_codel enabled on bridge on boot:
crontab -e
# m h dom mon dow command
@reboot /usr/src/start.fq_codel.sh
vi /usr/src/start.fq_codel.sh
#!/bin/bash
/sbin/tc qdisc add dev enp1s0 root fq_codel
/sbin/tc qdisc add dev enp2s0 root fq_codel
chmod 755 /usr/src/start.fq_codel.sh
it seems to be working under load (so far) though load will increase in the next 24 hours so I’ll watch it, but here’s what I get:
tc -s qdisc show dev enp2s0
qdisc fq_codel 8002: root refcnt 2 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn
Sent 4273930406 bytes 3059139 pkt (dropped 0, overlimits 0 requeues 1269)
backlog 0b 0p requeues 1269
maxpacket 54504 drop_overlimit 0 new_flow_count 401 ecn_mark 0
new_flows_len 0 old_flows_len 0
Should I change any settings? Where can I learn more about what my requeues should be, or really any of the other settings?
- Dev
> On Jan 4, 2019, at 12:40 PM, Toke Høiland-Jørgensen <toke@toke.dk> wrote:
>
> Dev <dev@logicalwebhost.com <mailto:dev@logicalwebhost.com>> writes:
>
>> Okay, thanks to some help from the list, I’ve configured a transparent bridge running fq_codel which works for multiple subnet traffic. Here’s my setup:
>>
>> Machine A ——— 192.168.10.200 — — bridge fq_codel machine B —— laptop C 192.168.10.150
>> Machine D ——— 192.168.3.50 — —|
>>
>> On Machine A:
>>
>> straight gigE interface 192.168.10.200
>>
>> Bridge Machine B: enp3s0 mgmt interface
>> enp2s0 bridge interface 1
>> enp1s0 bridge interface 2
>> br0 bridge for 1 and 2
>>
>> # The loopback network interface
>> auto lo br0
>> iface lo inet loopback
>>
>> # The primary network interface
>> allow-hotplug enp3s0
>> iface enp3s0 inet static
>> address 172.16.0.5/24
>> gateway 172.16.0.5
>> dns-nameservers 8.8.8.8
>>
>> iface enp1s0 inet manual
>> tc qdisc add dev enp1s0 root fq_codel
>>
>> iface enp2s0 inet manual
>> tc qdisc add dev enp2s0 root fq_codel
>>
>> # Bridge setup
>> iface br0 inet static
>> bridge_ports enp1s0 enp2s0
>> address 192.168.3.75
>> broadcast 192.168.3.255
>> netmask 255.255.255.0
>> gateway 192.168.3
>>
>> note: I still have to run this command later, will troubleshoot at
>> some point (unless you have suggestions to make it work):
>
> You can try setting the default qdisc to fq_codel; put:
>
> net.core.default_qdisc=fq_codel
>
> in /etc/sysctl.conf
>
> -Toke
[-- Attachment #2: Type: text/html, Size: 13845 bytes --]
next prev parent reply other threads:[~2019-01-16 0:54 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-03 17:32 [Bloat] fq_codel on bridge multiple subnets? Dev
2019-01-03 18:12 ` Toke Høiland-Jørgensen
2019-01-03 18:54 ` Pete Heist
2019-01-04 5:22 ` Dev
2019-01-04 9:19 ` Pete Heist
2019-01-04 18:20 ` Dev
2019-01-04 18:57 ` Dave Taht
2019-01-04 20:33 ` [Bloat] fq_codel on bridge throughput test/config Dev
2019-01-04 20:40 ` Toke Høiland-Jørgensen
2019-01-16 0:54 ` Dev [this message]
2019-01-05 0:17 ` Stephen Hemminger
2019-01-03 21:23 ` [Bloat] reatime buffer monitoring? Dev
2019-01-03 21:51 ` Pete Heist
2019-01-03 22:31 ` Dave Taht
2019-01-04 2:06 ` Dev
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
List information: https://lists.bufferbloat.net/postorius/lists/bloat.lists.bufferbloat.net/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=F25F4465-C905-4A5E-9F0E-6D21757A0F20@logicalwebhost.com \
--to=dev@logicalwebhost.com \
--cc=bloat@lists.bufferbloat.net \
--cc=toke@toke.dk \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox