From: Matt Taggart <matt@lackof.org>
To: bloat@lists.bufferbloat.net
Subject: [Bloat] configuration on an OpenVPN server
Date: Wed, 18 Nov 2020 18:49:36 -0800 [thread overview]
Message-ID: <7331bef1-0780-6ff1-26ab-39026f3fffa8@lackof.org> (raw)
Hi,
I would like to configure SQM on an OpenVPN server and I am thinking
about how to do this. I have already setup piece_of_cake on the upstream
connection(in this case 900Mbit down/250Mbit up). I think that by itself
should do a decent job of keeping things fair between all the VPN
clients: they are assigned private IPs and triple-isolate should do the
right thing.
But OpenVPN creates a tun device for that traffic and I could
potentially do more to manage the VPN traffic separately from the server
host traffic. One thing that occurred to me is that due to asymmetric
upload/download the host has, and the fact that the VPN traffic has to
go to/from the client, maybe the download rate of the tun device will
never exceed the upload rate of the host (since we need to retransmit
that data to the clients) and vice versa for the upload? So to force
myself to be a bottleneck should I have qdiscs on the tun device
limiting to ~240Mbit in each direction?
Hopefully that is clear. Let me know if it's not. Also anything else I
should consider in this situation?
I don't have much control of the VPN client hosts, but I could recommend
openvpn settings if there is anything that would help (can you turn on
ecn there, etc?)
Thanks,
--
Matt Taggart
matt@lackof.org
next reply other threads:[~2020-11-19 2:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-19 2:49 Matt Taggart [this message]
2020-11-19 8:27 ` Michael Richardson
2020-11-19 13:33 ` Toke Høiland-Jørgensen
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=7331bef1-0780-6ff1-26ab-39026f3fffa8@lackof.org \
--to=matt@lackof.org \
--cc=bloat@lists.bufferbloat.net \
/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