Can you draw a picture of how you have all 3 switches connected with all of the wires? I am suspicious that you are creating a switching loop or spanning tree isn’t picking the optimal link on accident so I’m curious.
I was thinking the same thing. Spanning tree is love. Spanning tree is life.....when deployed correctly.
Alternatively I'm thinking noise, as I've seen that in 10gig connections a few times, which is why I prefer LC fiber where possible.
Oh yeah for sure, every time I’m like “it can’t be spanning tree” it is spanning tree. Do you mean copper vs fiber? LC connectors can carry a variety of speeds but generally yeah I try to use fiber or DAC cables which are shielded wherever I can.
It's just two switches.
Server 1
10Gbe
ubiquity switch
10Gbe
qnap switch
10Gbe
server 2.
So then it doesn’t work across the ubiquity switch just to double check? If so, you will need to enable jumbo frames on that for sure and it is not enabled by default and that could also explain the throughput as it is having to fragment then defragment the frames to cross the switch or iperf is using MSS to determine that it can only send 1500 byte frames, your slower speed is about line rate for 1500 byte frames no matter the speed of the actual link.
ETA: you can verify this by pinging with a large size and setting the “do not fragment” flag, so something like ‘ping -s 2000 -M do ip.addr ’ on Linux, windows uses different flags.
Yes,
It does not work. Additionally, the ubiquity switch does not sync with 10gbit/s to one of the qnap switches (I tested with different cables and ports, but the led on the qnap stays orange, indicating connection speed lower than 10gbit/s)
As I'm maybe returning the switch due to the problems I hesitate to register it to access settings. Jumbo frames settings could actually be the solution. But with the problem mentioned in the first paragraph I'm not sure. A 300€ device should just work IMHO...
Thanks for the suggestion with ping, I will test it.
I'll ask some basics:
Is the ubiquity switch the flex-xg? Make sure you're using the 10G ports as the poe port is only 1G.
I'm assuming all the ethernet cables are rated for 10G?
Are any of the switches or NICs manually configured to negotiate at a lower transmit rate?
That's all I've got, good luck.
Thanks for your input. All criteria you mentioned are met.
If I build the same connection with the second qnap switch instead of the ubiquity it is working flawlessly.
Have you tried playing with the flow control settings on your ubiquiti switch? I was having problems streaming video games until I toggled that setting (forget if it was on or off, though).
As I am not sure if I should keep it return it I hesitated to do anything else than using it as a dumb switch.
Selfhosted
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.
Rules:
-
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
-
No spam posting.
-
Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.
-
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
-
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
-
No trolling.
Resources:
- selfh.st Newsletter and index of selfhosted software and apps
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!