-
-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for one-network-card card configuration, single card configuration, one NIC only #48
Comments
I would like to remove all SPOF's ... so get something like that: |
@rchac how big is performance dropdown when using virtio instead of passthrough NICs? Did You try to use SRIOV instead of PCI-Passthrough? |
Virtio / generic XDP is about 1/4 the performance of pass-through NIC. Iam testing out a bare metal server and it's working great so far. |
Did You tested SRIOV? |
I don't think SRIOV works with XDP. But it may be possible. |
If yes then we could make a LibreQoS OSPF neighbour and add two /32 networks between EDGE router and CORE switch on virtualized NICs. SRIOV overhead is about 2 or less %. |
We haven't been in a position to document or discuss virtualization all that much, and it makes my head hurt. We did just aquire some serious resources from equinix #151 to be able to test this more fully, but I kind of consider virtualization testing to be a whole other "project", after we get a solid test suite in #153. @interduo Interduo, though, since you have the resources, goferit with v1.3 and get back to us? Secondly, I like the idea1 card operation a LOT, but don't know if that works in 1.3? |
Now I use 1.2 version as VM. It's doing it works. I will get You a feedback but my local roadmap needs few hw changes so it will take us few weeks. And I will test firstly one interface configuration. |
I am trying to test this config: My netplan is: root@rtx-libreqos-new:~/LibreQoS/v1.3# cat /etc/netplan/00-installer-config.yaml
root@rtx-libreqos-new:~/LibreQoS/v1.3# cat ispConfig.py | grep interface
I got an error:
Whereas: gives:
If VLAN is used, the LibreQoS should try find queues count in system using native interface. root@rtx-libreqos-new:~/LibreQoS/v1.3# brctl show
If I set: It's got no error - but:
gives an empty output. Full running log: http://kłopotek.pl/running_libre.txt |
I noticed "LOWERLAYERDOWN" on your ip output. Is the physical interface not properly connected? |
I did a little digging (ran into some hyper-v issues with tagged VLANs between VMs; I need to get a better test environment locally!). So there's good news and bad news: The good news is that binding XDP programs to VLAN interfaces works. I can bind an XDP program to a VLAN I've created (in this case The bad news is that performance is going to be really, really bad:
So my advice: don't do this. |
Just to expand in case in anyone wants to test. (as root)
Now have a look at If you see more than 1 queue in each direction, you obviously have a nicer NIC than me and I'm thrilled to be proven wrong. Using my test XDP program, the packets I see are un-tagged on that interface (as they should be), and I didn't see signs of leakage from the parent VLAN. So isolation is working. |
Yes its ok - because its test instance. Switch port is administrativly down. |
Is there a way to unlink this from issue 26? They aren't really related. 26 is talking about VLANs inside the bridge - which works really well, I'm pushing 2gbit/s through VLANs in a shaping bridge right now. This is talking about the top-level bridge members being VLANs. (We should probably close 26) |
Vlan interface use NIC queues. |
Looking at the config, I see a couple of things:
Isn't going to work, because the devices are named Since there's almost certainly only 1 queue (per direction), you're going to want to look in |
Sorry for not editing my earlier full post. I did it now - interfaces are named corectly in That is really bad news like You said. Maybe there is another (not vlans) idea/technology/design model for allowing us to use just one link? |
So having two core switches and no SPOF comes with requirement now: So we need minimum 10x QSFP+ ports WRRRRR That is not a thing for 10G network through but the stairs shows when we are above that line. |
I saw be2e2fb |
Based on testing on the Equinix servers, the performance hit is pretty
tiny. We've pushed 25 gbps through a single-card ("on a stick") setup on a
16 core (32 virtual cores, but we turned off hyperthreading) with CPU to
spare. I honestly don't know what the upper limit is, since we're
saturating our 25 gbps test and don't have anything bigger to test with!
…On Thu, Jan 5, 2023 at 5:08 AM Interduo ***@***.***> wrote:
I saw be2e2fb
<be2e2fb>
@thebracket <https://github.com/thebracket> do You know how big is
performance penalty (and if is any) using only one interface instead of two?
—
Reply to this email directly, view it on GitHub
<#48 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADRU435CIRNPDPRC2VJRXY3WQ2TSDANCNFSM576E7CHA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Now I have 1x40G QSFP+ card - here on the test machine - I thought that I could use vlan interface
for networking.
The target for production is to:
So I need six 1x40G cards or three 2x40G cards. (2x interfaces for BGP VM, 4x interfaces for LibreQoS)
Is that a problem? It depends.
This would results in:
(switch/QSFP cable/QSFP module serwer/QSFP switch module/more things failure),
I am just asking because I would like to make sure of design.png.
If we use OSPF (L3) and src/dst address (L3) - Can we use only one network card when the sumarized network throughoutput is less than 40% of total maximum sumarized (upload+download) throughoutput?
Is this sentence from README.txt:
"NIC must have two or more interfaces for traffic shaping." is a requirement or just recomendation?
On LibreQoS there is no NAT - so this is possible I think. Am I right?
Maybe we could use https://man7.org/linux/man-pages/man8/tc-vlan.8.html ?
The text was updated successfully, but these errors were encountered: