Better HN
topnewbestaskshowjobs
Log inSign up

mertenVan

25 karma · joined Feb 19, 2020 (6y ago) · 4 submissions

Submissions

comment 6y ago · link · parent

You're describing cut-through switching [1]. Because of its disadvantage, it is usually limited to uses that require pure performance, such as HFT (High Frequency Trading). Traditional store-and-forward switching is still commonly used (or some hybrid approach).

"The advantage of this technique is speed; the disadvantage is that even frames with integrity problems are forwarded. Because of this disadvantage, cut-through switches were limited to specific positions within the network that required pure performance, and typically they were not tasked with performing extended functionality (core)." [2]

[1] https://en.wikipedia.org/wiki/Cut-through_switching

[2] http://www.pearsonitcertification.com/articles/article.aspx?...

comment 6y ago · link · parent

Noted. I find the over-confidence over a completely imagined issue funny and interesting. I make that mistake too. It's always interesting to do a post-mortem: why was I so confident? how did I miss the correct answer? I respect the author for doing such a fast turn around :)

comment 6y ago · link · parent

I suggest you read the paper linked by the blog author (“Ethernet: Distributed Packet Switching for Local Computer Networks”), specifically Section 6 (performance and efficiency 6.3). It will answer all your questions.

> Why does a larger MTU make switching more expensive?

Switching requires storage of the entire packet in SRAM.

Larger MTU = More SRAM chips

If existing MTU is already 95% network efficient (see paper), then larger MTU is simply wasted money.

comment 6y ago · link · parent

Software developer talking confidently about electrical engineering issues he knows nothing about. How cute. /s

All Ethernet adapters since the first Alto card had self-clocking data recovery [1].

Clock accuracy was never a problem, as long as it was withing the acceptable range required for PLL lock/track loop.

The reason for 1500 MTU is that for packet-based systems, you don't want infinitely large packets. You want small packets. but large enough so that packet overhead is insignificant, which in engineering terms means less than 2%-5% overhead. Thus 1500 max packet size. Everything above that just makes switching and buffering needlessly expensive, SRAM was hella expensive back then. Still is today (in terms of silicon area).

Look at all the memory chips on Xerox Alto's Ethernet board (below) - memory chips were already taking ~50% of the board area!

[1] Schematic of the original Alto Ethernet card clock recovery circuit: https://www.righto.com/2017/11/fixing-ethernet-board-from-vi...

EDIT: Lol! Author has completely replaced erroneous explanation with correct explanation, including link to seminal paper about packet switching. Good.