Copper is Faster than Fiber (2017) [pdf]
83 points by tanelpoder 3 days ago | 74 comments- MadVikingGod 1 day agoSo the findings here do make sense. For sub 5m cables directly connecting two machines is going to be faster then having some PHY in between that has to resignal. I'm surprised that fiber is only 0.4ns/m worse then their direct copper cables, that is pretty incredible.
What I would actually like to see is how this performs in a more real world situation. Like does this increase line error rates, causing the transport or application to have to resend at a higher rate, which would erase all savings by having lower latency. Also if they are really signaling these in the multi GHz are these passive cables acting like antenna, and having a cabinet full of them just killing itself on crosstalk?
- Palomides 1 day agohigh speed links all have forward error correction now (even PCIe); nothing in my small rack full of 40Gbe devices connected with DACs has any link level errors reported
- kazinator 1 day agoThey looked at the medium itself, not the attached data link hardware.
Look at the graphs. The fiber has a higher slope; each meter adds more latency than a meter of copper.
This is simply due to the speed of electromagnetic wave propgation in the different media.
https://networkengineering.stackexchange.com/questions/16438...
Both the propagation of light in fiber and signal propagation in copper are much slower than the speed of lightin vaccuum, but they are not equal.
- jauntywundrkind 1 day agoThere's also hollow core fiber, which is pretty close to speed of light in a vacuum. 2.0e8 m/s for fiber, 2.3e8 m/s for copper, pretty close to the full 3e8 m/s for hollow core.
No glass, just some reflective coating on the inside of a waveguide (hollow tube).
https://azure.microsoft.com/en-us/blog/how-hollow-core-fiber...
- jauntywundrkind 1 day ago
- Hilift 1 day agoStorage over copper used to be sub optimal but not necessarily due to the cable. UDP QUIC is much closer to wire speed. so 10 GB copper and 10 GB fiber are probably the same, but 40+ GB fiber is quite common now.
- laurencerowe 1 day ago> So the findings here do make sense. For sub 5m cables directly connecting two machines is going to be faster then having some PHY in between that has to resignal. I'm surprised that fiber is only 0.4ns/m worse then their direct copper cables, that is pretty incredible.
Surely resignaling should be the fixed cost they calculate at about 1ns? Why does it also incur a 0.4ns/m cost?
- cenamus 1 day agoLight speed is ~3ns per metre, so maybe the lowered speed through the fibre?
Speed of electricity in wire should be pretty close to c (at least the front)
- myself248 1 day agoVelocity factor in most cables is between 0.6 and 0.8 of what it is in a vacuum. Depends on the dielectric material and cable construction.
This is why point-to-point microwave links took over the HFT market -- they're covering miles with free space, not fiber.
- laurencerowe 1 day agoI misremembered the speed of electrical signal propagation from high school physics. It's around 2/3rds the speed of light in a vacuum not 1/3rd. The speed of light in an optical fibre is also around 2/3rds the speed in a vacuum.
It seems there is quite a wide range for different types of cables so some will be faster and others slower than optical fibre. https://en.wikipedia.org/wiki/Velocity_factor
But the resignalling must surely be unrelated?
- throw0101b 1 day ago> Light speed is ~3ns per metre, so maybe the lowered speed through the fibre?
Obligatory Adm. Grace Hopper nanosecond reference:
- b3orn 1 day agoIt's c, but not the same c as in air or vacuum. The same applies in optic fibers. They're both around two thirds of the speed of light in vacuum.
- myself248 1 day ago
- cenamus 1 day ago
- bhaney 1 day ago> I'm surprised that fiber is only 0.4ns/m worse then their direct copper cables
Especially since physics imposes a ~1.67ns/m penalty on fiber. The best-case inverse speed of light in copper is ~3.3ns/m, while it's ~5ns/m in fiber optics.
- p_l 1 day agoDACs don't cause problems, but twisted pair at 10Gig is a PITA due to power and thermals
- somanyphotons 1 day agoWhat allows DACs to avoid the power/thermal issues that twisted pair has?
(My naive view is that they're both 'just copper'?)
- kijiki 1 day agoDACs are usually twin-ax, which is just 2 coax cables bundled. The shielding matters a lot, compared to unshielded twisted pairs.
Faster parallel DACs require more pairs of coax, and thus are thicker and more expensive.
- p_l 23 hours agoAnother reason is that they are shorter range, and the better shielding also means that interference effects are smaller.
In comparison, twisted pair sending 10Gbit over 8P8C cable (popular "RJ-45") requires complex modulation schemes to provide solid signal over any meaningful distance, in a much less shielded cable, and with need to support longer distances.
- kijiki 1 day ago
- somanyphotons 1 day ago
- timewizard 1 day ago> are these passive cables acting like antenna
With both ends connected to a device? No.
Aside from that you've got a linear scrambler into balanced drivers into twisted pair. It's about as noise immune as you can get. Unless you put the noise right up next to the cable itself.
- tcdent 1 day agoPHYs are going away and fiber is going straight to the chip now, so while the article is correct, in the near future this will not be the case.
- sophacles 1 day agoThe chip has a phy built into it on-die you mean. This affects timing for getting the signal from memory to the phy, but not necessary the switching times of transistors in the phy, nor the timings of turning the light on and off.
- sophacles 1 day ago
- Palomides 1 day ago
- jerf 1 day ago"Has lower latency than" fiber. Which is not so shocking. And, yes, technically a valid use of the word "faster" but I think I'm far from the only one who assumed they were going to make a bandwidth claim rather than a latency claim.
- jcelerier 1 day agoI wonder where does the idea of "fast" beign about throughput comes from. For me it always, always only ever meant latency.
- nine_k 1 day agoLatency to the first byte is one thing, latency to the last byte, quite another. A slow-starting high-throughput connection will bring you the entire payload faster than an instantaneously starting but low-throughput connection. The larger the payload, the more pronounced is the difference.
- mouse_ 1 day agoehh... latency is an objective term that, for me at least, has always meant something like "how quickly can you turn on a light bulb at the other end of this system"
- mouse_ 1 day ago
- aidenn0 1 day agoAn SR-71 Blackbird flies faster than a 747. Nevertheless, a 747 can get 350 people from LA to New York faster than the SR-71.
- TZubiri 1 day agoIf I have to download a 4gb movie the roundtrip latency is not so important. With 4MB/s I can get the file in 1000s, with 40MB/s I can get it in 100s
- TZubiri 1 day ago
- sherburt3 1 day agoI think its just because ISPs have engrained in people that "speed" means bandwidth when it comes to the internet. Improving bandwidth is pretty cheap compared to improving latency because the latter requires changing the laws of physics.
- kuschku 1 day agoIf only the bottleneck was the laws of physics. In reality, it's mostly legacy infrastructure, which is of course much harder to change than the laws of physics.
- kuschku 1 day ago
- switchbak 1 day agoA 9600 baud serial connection between two machines in the 90's would have low latency, but few would have called it fast.
Maybe it's all about sufficient bandwidth - now that it's ubiquitous, latency tends to be the dominant concern?
- TacticalCoder 1 day ago[dead]
- TacticalCoder 1 day ago
- p_j_w 1 day agoPresumably from end users who care about how much time it takes to receive or send some amount of data.
- wat10000 1 day agoUntil pretty recently, throughput dominated the actual human-relevant latency of time-until-action-completes on most connections for most tasks. "Fast" means that your downloads complete quickly, or web pages load quickly, or your e-mail client gets all of your new mail quickly. In the dialup age, just about everything took multiple seconds if not minutes, so the ~200ish ms of latency imposed by the modem didn't really matter. Broadband brought both much greater throughput and much lower latency, and then web pages bloated and you were still waiting for data to finish downloading.
- throw0101b 1 day ago> I wonder where does the idea of "fast" beign about throughput comes from.
A cat video will start displaying much sooner with 1 Mbps of bandwidth compared to 100 Kbps:
> taking a comparatively short time
* https://www.merriam-webster.com/dictionary/fast § 3(a)(2)
> done in comparatively little time; taking a comparatively short time: fast work.
* https://www.dictionary.com/browse/fast § 2
So an online experiences happens sooner (=faster-in-time) with more bandwidth.
- nine_k 1 day ago
- kragen 1 day agoI assumed they were going to make a bandwidth claim and was prepared to reject it as nonsense.
- TZubiri 1 day agoInstantly assumed that it was clickbait.
So basically: Lower latency, lower bandwidth?
- throw0101b 1 day ago> So basically: Lower latency, lower bandwidth?
No: DAC and (MMF/SMF) fibre will (in this example) both give you 10Gbps.
- throw0101b 1 day ago
- jcelerier 1 day ago
- throw0101d 1 day agoThis coming from Arista is unsurprising because their original niche was low-latency, and the first industries that they made in-roads in against the 'incumbents' was finance:
> The low-latency of Arista switches has made them prevalent in high-frequency trading environments, such as the Chicago Board Options Exchange[50] (largest U.S. options exchange) and RBC Capital Markets.[51] As of October 2009, one third of its customers were big Wall Street firms.[52]
* https://en.wikipedia.org/wiki/Arista_Networks
They've since expanded into more areas, and are said to be fairly popular with hyper-scalers. Often recommended in forums like /r/networking (support is well-regarded).
One of the co-founders is Andy Bechtolsheim, also a co-founder of Sun, and who wrote Brin and Page one of the earliest cheques to fund Google:
- mousethatroared 1 day agoIts not copper that's faster, it's the dielectric in between the twisted pair that has a lower index of refraction.
And, if we neglect how long the signal can travel like the authors do, copper is always going to win this fight vs. fiber because copper can use air as its dielectric but fiber cannot.
- nimos 1 day agoThis isn't really surprising. Fiber isn't better because of signal propagation speed, it's all about signal integrity.
- lmpdev 1 day agoThat and the physical decoupling of information into another medium other than EM
Try running Cat cables on powerlines like Aerial Fibre
- tejtm 1 day agoPedantically, light is still EM.
But I think I understand what you mean.
The shape of individual EM waveforms is no longer relevant instead there are just buckets of got some or not.
- tejtm 1 day ago
- lmpdev 1 day ago
- exabrial 1 day agoIIRC, the passive copper SFP Direct Attach cables are basically just a fancy "crossover cable" (for those old enough to remember those days). Essentially there is no medium conversion.
- feitingen 1 day agoThe speed of light is also ever so slightly faster in twinax than in fiber(glass).
Not enough to matter in this comparison, but i thought I should mention it.
- zokier 1 day agoWhat are applications where 5ns latency improvement is significant?
- thanhhaimai 1 day agoHigh Frequency Trading is one.
- Loughla 1 day agoAnything else? Because that's the only one I can think of.
- smj-edison 1 day agoI'd expect HPC would be another, since a lot of algorithms that run on those clusters are bottlenecked by latency or throughput in communication.
- smj-edison 1 day ago
- Loughla 1 day ago
- ethan_smith 1 day agoHigh-frequency trading is the primary application, where 5ns can represent millions in profit as firms compete to execute trades first, but you'll also see benefits in distributed database synchronization, real-time financial risk calculations, and some specialized scientific computing workloads.
- empaone 1 day agoany high-utilization workload with a chatty protocol dominated by small IOs such as: * distributed filesystems such as MooseFS, Ceph, Gluster used for hyperconverged infrastructure. * SANs hosting VMs with busy OLTP databases * OLTP replication * CXL memory expansion where remote memory needs to be as close to inter-NUMA node latency as possible
- thanhhaimai 1 day ago
- citizenpaul 1 day agoIts been long known that Direct Attach Copper (DAC's) are faster for short runs. It makes sense since there does not need to be an analog-digital conversion.
- ezekiel68 1 day agoI suppose you are right, but we may not say "it has been widely known". Lots of us who read HN come from the the software side and we coders often hand wave on these topics when shooting the breeze -- much like how a casual car enthusiast might not imagine it was possible for a 6-cylinder engine to have more more horsepower than a V8.
- citizenpaul 11 hours agoI guess I wrote it more snarky than I intended. I just was clarifying its not a novel discovery or something like that. One of the 10,000 every day. (Xkcd)
- citizenpaul 11 hours ago
- ezekiel68 1 day ago
- deepnotderp 1 day agoFEC latency is >> propagation delays at these distances, so that's probably the dominant factor in most cases
- SomeHacker44 1 day agoI wonder how much better hollow core fiber would be. My guess is faster than copper, even given the conversion and retimer latencies.
- asdefghyk 1 day agoShould be
Copper is Faster than Fiber in some circumstances.
- vlovich123 1 day agoFaster only because the distances involved are short enough that the PHY layer adds significant overhead. But if you somehow could wave a magic wand and make optical computing work, then fiber would be faster (& generate less heat).
- throw0101d 1 day ago> Faster only because the distances involved are short enough that the PHY layer adds significant overhead.
This specifically mentions the 7130 model, which is a specialized bit of kit, and which Arista advertises for (amongst other things):
> Arista's 7130 applications simplify and transform network infrastructure, and are targeted for use cases including ultra-low latency exchange trading, accurate and lossless network visibility, and providing vendor or broker based shared services. They enable a complete lifecycle of packet replication, multiplexing, filtering, timestamping, aggregation and capture.
* https://www.arista.com/en/products/7130-applications
It is advertised as a "Layer 1" device and has a user-programmable FPGA. Some pre-built applications are: "MetaWatch: Market data & packet capture, Regulatory compliance (MiFID II - RTS 25)", "MetaMux: Market data fan-out and data aggregation for order entry at nanosecond levels", "MultiAccess: Supporting Colo deployments with multiple concurrent exchange connection", "ExchangeApp: Increase exchange fairness, Maintain trade order based on edge timestamps".
Latency matters (and may even be regulated) in some of these use cases.
- zokier 1 day agoThe PHY contributes only 1ns difference, but the results also show 400ps/m advantage for copper which I can only assume to come from difference in EM propagation speed in the medium.
- myself248 1 day agoNo. Look at the graph -- the offset when extrapolated back to zero length is the PHY's contribution.
The differing slope of the lines is due to velocity factor in the cable. The speed of light in vacuum is much faster than in other media. And the lines diverge the longer you make them.
- MadVikingGod 1 day agoIt's true, but also if you go look at their product catalog you will see none of their direct attach cables are longer then 5m, and the high bandwidth ones are 2m. So, again, it's true, but also limiting in other ways.
- MadVikingGod 1 day ago
- throw0101d 1 day ago
- pfdietz 1 day agoHollow-core microstructured optical fibers (HC-MOFs) promise propagation speeds nearly that of light in vacuum.
- luxuryballs 1 day agoNow do silver.
- aaron695 1 day ago[dead]