deama wrote: ↑05 Dec 2021, 15:38
Right now I've got my LAN cable from my computer hooked up to a switch, and that cable from my switch goes through my house downstairs to a router. I'm wondering whether the latency will be improved or made worse if I switch on over to a fiber optic cable? In theory it should be faster but because I will have to attach fiber optic to RJ45 converters, they might add more to the latency right?
Depends.
The lab tests often tests a spool of cable on the middle of a lab bench. They don't often test in-wall Ethernet runs past your laundry machine, the 200 amp power panel, the refrigerator, the air conditioner, and then finally past the baseboard heater, and finally to your computer. By the time that Ethernet signal hits your computer, it's been assaulted by EMI from your appliances, with the attendant error-correction latencies not published in these research papers.
You can do a fiber run for less than $100 with some cheap gigabit media converters and some cheap standard OM3 fiber. Later on when you want to upgrade gigabit to 10 gigabit, you simply replace the media converters. Or even faster than 10 gigabit, cheap OM3 fiber cable at pennies per foot can be pushed to 100 gigabit, so the OM3 may last the rest of your lifetime.
That can be cheaper than a long expensive CAT6A or CAT7 STP solid copper run that is 100% NEC compliant for legal in-wall installation (e.g. 100+ foot that's not CCA).
Optical fiber is much more immune to EMI than copper, so you might (in some cases) get better latency performance, especially with an Ethernet run passing across lots of electrical devices.
Interference = error correction latency (and/or lost packets) = long borderline Ethernet runs can become laggier than the media converter overhead.
If you're wiring in-wall in a new-build house, across multiple floors, especially adjacent to power wires, then optical is definitely much lower risk. Better futureproofing, better EMI resistance, and cheap modern OM3 fiber that's bend-insensitive is mere pennies per foot or per meter can scale to 10 gigabit and even 100 gigabit. It's worth seriously considering.