this post was submitted on 09 Aug 2024
141 points (83.4% liked)

Selfhosted

39435 readers
3 users here now

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:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. 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.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

After seeing that my wireless speeds were much faster than the speeds I was getting over Ethernet, I decided to invest in some new cables. I didn't know it before, but I saw while I was changing them out that my current cables were Cat 5e. While putting my network together, I had just been grabbing whatever cables I could find in my scrap drawers. Now I have Cat 8 cables and my speeds jumped from 7MB/s to an average of over 40MB/s. It's a much bigger improvement than I expected, especially for such a small investment.

top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 167 points 3 months ago (2 children)

Cat8 is pointless with gigabit equipment as far as speed goes. Cat6 will do 10gig, you just had bad cables.

[–] [email protected] 30 points 3 months ago (4 children)

Yep. I'm running 1/1Gbps wan connection over cat5e just fine. Even on very noisy environment at work with a longish run (70+ meters) we ran pretty damn stable 1/1Gbps over good quality cat7.

[–] [email protected] 6 points 3 months ago (1 children)

I tried running a 1/1Gbps connection over Cat5e at home too, but for some reason, I couldn’t get it to connect properly. Ended up switching to Cat6, and it finally stabilized. I’m still scratching my head over why the Cat5e didn’t work as expected.

[–] [email protected] 6 points 3 months ago

At work where cable runs are usually made by maintenance people the most common problem is poor termination. They often just crimp a connector instead of using patch panels/sockets and unwind too much of the cable before connector which causes all kinds of problems. With proper termination problems usually go away.

But it can be a ton of other stuff too. Good cable tester is pretty much essential to figure out what's going on. I'm using 1st gen version of Pocketethernet and it's been pretty handy, but there's a ton of those available, just get something a bit better than a simple indicator with blinking leds which can only indicate if the cable isn't completely broken.

load more comments (3 replies)
[–] [email protected] 110 points 3 months ago (1 children)

Cat 5e

The fact that your old cable was cat5e has no bearing whatsoever on you getting shit speeds before changing cables. The gigabit spec was codified and products were on the market before the cat5e spec was ratified. Gigabit ethernet was literally made for standard cat5. I bet your previous cable was terminated incorrectly, and was only using two of the four pairs, limiting you to 100mbit.

[–] [email protected] 30 points 3 months ago (1 children)

Bingo!

Proper termination can be a bitch.

[–] [email protected] 17 points 3 months ago* (last edited 3 months ago) (7 children)

Orange white, orange

Green white, blue

Blue white, green

Brown white, brown

Learned it 20 years ago, never used it. how did I do?

[–] [email protected] 11 points 3 months ago

You pass! I’ve done several thousands of these over the past decade.

[–] [email protected] 5 points 3 months ago (1 children)
[–] [email protected] 10 points 3 months ago

I have not cared about or terminated A-spec after network cards gained auto MDI/MDIX about 20 years ago.

[–] [email protected] 5 points 3 months ago

yeah I did this almost 30 years ago and could recite it from scratch, haven’t made a cable since hs

[–] [email protected] 2 points 3 months ago

I forget the order 5 times in the middle of crimping each side, so you're doing better than me.

load more comments (3 replies)
[–] [email protected] 57 points 3 months ago (1 children)

It's highly likely that you had one or more bad-but-not-dead cables (like a weak termination) that was limiting your speed. By swapping everything out you fixed the problem. Cat 5e to 8 definitely shouldn't have caused that much if a jump (if any).

[–] [email protected] 22 points 3 months ago (1 children)

Absolutely correct. CAT 5e should be able to max out at 125MB/s.

[–] [email protected] 4 points 3 months ago* (last edited 3 months ago)

It may do more at short distances with good connectors and if fully copper. The OP definitely had poor termination and/or broken wires.

[–] [email protected] 36 points 3 months ago (1 children)

Cat5e works fine for gigabit. If it's not connecting at 1G, then the cable has been damaged and is probably connecting at 100M.

You should be seeing about 118MB/s in an iperf test on gigabit ethernet.

[–] [email protected] 4 points 3 months ago (1 children)

This. I've had issues at work while imaging classroom computers where some would finish in ~30 minutes and a few would need hours. All of the computers used Cat6 cables. This being a classroom, and students being absolute wankbags, they kept yanking the computers and kicking the cables, so the wires came loose from the plugs. I later used ethtool to debug the slow computers -- the switch would only allow 10baseT link modes.

[–] [email protected] 3 points 3 months ago

For later reference, the link light on most network cards is a different colour depending on link speed. Usually orange for 1G, green for 100M and off for 10M (with data light still blinking).

[–] [email protected] 33 points 3 months ago

My guess you had broken cables or defective connectors. Because even on cat5 (not cat5e) you should get much more than 7mbit, or did you have coaxial? LoL.

In my experience 90% are plugs, specially if you crimped yourself with Chinese tools

[–] [email protected] 25 points 3 months ago (2 children)

CAT8 40MB/s

I think you went a but overkill with that one, high quality CAT6 cables would have done the same job, but hey, if it works, it works.

[–] [email protected] 25 points 3 months ago* (last edited 3 months ago) (1 children)

High quality cat 5e would have done the job.

Original cables must have been faulty.

[–] [email protected] 4 points 3 months ago (1 children)

I mean, all of my cables are CAT 5e and I can easily pull a gigabit down and up from my NAS... Which has a gigabit NIC, so ig you're right.

load more comments (1 replies)
[–] [email protected] 5 points 3 months ago (1 children)
[–] [email protected] 7 points 3 months ago (1 children)

The future of ethernet is not expensive cabling, more like switches capable of doing more on current cables. We've been seeing this trend for a while.

[–] [email protected] 3 points 3 months ago

I know, I was just tryna point out the silver lining

[–] [email protected] 23 points 3 months ago

Your connection is 40MB/s I assume

5e is capable of getting the full 1Gbps of my connection so I easily see over 90MB/s. That being said I bought a big 100m bulk years ago and have been clipping it myself with care.

If you were indeed using leftover/ free cables of cuestionable quality it indeed could be a reason for poor perfomance

[–] [email protected] 20 points 3 months ago (2 children)

Cat8 is not the benefit here. It's all twisted pairs as any other CAT cable. You probably just had a shitty quality cable.

[–] [email protected] 2 points 3 months ago (1 children)

Or ones (or one) that was worn out.

load more comments (1 replies)
load more comments (1 replies)
[–] [email protected] 17 points 3 months ago

You can get gigabit over 5e, you don’t need super expensive cables. That said I ran cat 6 through my whole house and am able to fully saturate the bus, about 115 MBps (920 Mbps) which accounts for the TCP overhead. I haven’t tried 2/5/10G on it bull I’ll probably upgrade in a few years, I don't expect to have much trouble getting good speeds. Your biggest issue was you might not have had all the cable pairs in your wire, or your cables ends might have been crusty, or you could have had bad kinks in the wire causing packet loss, or some real absolute trash quality wire. In general, 5e and 6 are plenty for most people/situations to get good speeds (1Gb+)

[–] [email protected] 17 points 3 months ago* (last edited 3 months ago)

Cat 5e does 2.5Gb. Getting higher spec cables might increase the probability of them being well made to spec but other than that, what you really need is good quality cables, Cat 5e or otherwise.

[–] [email protected] 12 points 3 months ago

I'd be interested to see if you swapped the cables back if your local interface negotiated to FE instead of GE. I wouldn't be surprised to find that you've got a pair that's not properly terminated or broken and dropping you down to 100Mbps.

[–] [email protected] 12 points 3 months ago (2 children)
[–] [email protected] 5 points 3 months ago

Someone took Monster's "$100 gold plated HDMI" cable and one-upped it.

load more comments (1 replies)
[–] [email protected] 11 points 3 months ago (1 children)

40MB/s is no where near the limit of cat 5e. It can easily do gigabit.

[–] [email protected] 3 points 3 months ago (3 children)

Not all cat 5e is created equal...you can buy a good cat5e from a reputable supplier or a super shit one at the dollar store...they just stamp 5e on it even if it is under sized wire and not actually been tested to work

[–] [email protected] 4 points 3 months ago

My favorite failure was when someone used solid-core cabling for all their patch cables instead of stranded and kept bitching about how unreliable everything was.

Which, of course, it is when you use the wrong cable and it keeps breaking as you move it around.

[–] [email protected] 3 points 3 months ago (4 children)

Cat 5e cables are tested to meet the cat 5e standard. Anything outside of that is false advertising and you should return it for a full refund

load more comments (4 replies)
load more comments (1 replies)
[–] [email protected] 8 points 3 months ago

I have stable ~950 MBit/s to the NAS with Cat5e. That's ~115 MB/s. If that 40 is to a machine on the LAN, either there is some bottle neck at one of the ends, or there's some problem with the cable to the RJ-45 jacks.

[–] [email protected] 6 points 3 months ago (1 children)

Also learned this the hard way, when i was starting my "homelab" , I bought a box of (not knowingly that its bad) cheap CCA(copper clad alum) cat6 cables and im wondering why are my access points not negotiating to gigabit, turns out cca are trash and shouldn't be used on POE or even on high speed trunks, learned my lesson now and swapped my cables to pure copper, they are more expensive like 100$ more expensive but at least they do the job.

[–] [email protected] 4 points 3 months ago* (last edited 3 months ago) (2 children)

CCA wasn't probably your issue there, CCA is actually becoming the standard everywhere because copper is way too expensive and to be fair not needed with modern hardware.

You most likely issue with that CCA is the AWG size you picked, cheap cable is usually 24, 26 or even 28 AWG and those will be bad.

If you want PoE or anything gigabit or above you need to pick 23 AWG. This is considerably cheaper than full copper and it will work fine for the max. rated 100m. Either way, cheap 26 AWG should be able to deliver gigabit and PoE at short distances like 20 meters or so.

Another important thing is to make sure your terminations are properly done and the plugs are good. Meaning, no Cat5e connectors should be used, always use staggered ones:

load more comments (2 replies)
[–] [email protected] 5 points 3 months ago* (last edited 3 months ago) (1 children)

Ethernet speeds historically were measured in 10/100. In my past life I worked for an a small rural isp. And part of my learning I was taught that cat5 was 8 strands of wire, or 4 twisted pairs. I got very familiar with crimping patch cables. If one strand were cut a network card would negotiate down to its lowest speed and still work at 10mbps. Operating on 4 wire or two pairs. It’s possible with those numbers you had a bad connection, or a broken strand in the cable and it auto negotiated down to 10mbps. To this day I still crimp my own cables, and I own a cheap cable tester to make sure the crimps and cables are good.

[–] [email protected] 4 points 3 months ago* (last edited 3 months ago)

I've a run of around 60 meters of old telephone cables (made out of copper, 4 wires) and I can get 100Mbps on those reliably. I used the old telephone infrastructure on the building to pass network from an apartment to the basement that way.

Not to spec on ethernet on any way, not even twisted pairs but they do work. Unfortunately I can't replace the run with a proper Cat6 cable because there's a section that I can't find where it goes to, it just disappears on a floor and appears 2 floors bellow it inside the main telephone distribution box.

On the distribution box (that is already on the basement of the building) I'm plugging into the LSA connector that goes to the apartment:

The black box you see there is a mikrotik gper that is essentially a PoE switch with only 2 ethernet ports so I can get over the 100m limitation of ethernet. I'm running a cat6 cable from there on metal cable trays for about another 90 meters until it reaches a storage unit 2 floors bellow ground.

Here's a ping test from a machine sitting on the storage box to the router on the apartment:

The router reports this as a 100M full-duplex connection:

If anyone wants to try a setup like this, or just extend ethernet > 100m, it also worked fine with a cheap 5$ 100M switch from Aliexpress and a PoE injector + splitter.

However I eventually got the mikrotik gper for free so I decided to replace it because it should be more reliable.

[–] [email protected] 2 points 3 months ago* (last edited 3 months ago)

Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:

Fewer Letters More Letters
IP Internet Protocol
NAS Network-Attached Storage
PoE Power over Ethernet
TCP Transmission Control Protocol, most often over IP

[Thread #915 for this sub, first seen 10th Aug 2024, 16:35] [FAQ] [Full list] [Contact] [Source code]

load more comments
view more: next ›