2

Since NIC card receives data from memory in parallel, does it perform the transmission over the link serially? if yes, how?

Thank you.

6
  • 2
    I bet if you spent 30 seconds of quality time with Google, you would find your answer.
    – Ron Trunk
    Jan 25, 2016 at 1:06
  • I am sorry if the question was rude. I did google it but couldn't find the precise answer. If this post is not suitable, I will delete it. My apology Jan 25, 2016 at 1:08
  • Try "Nic serial parallel" in your search.
    – Ron Trunk
    Jan 25, 2016 at 1:08
  • BTW, your question isn't rude -- it's just that there is a wealth of information out there, and there is little point in just repeating it here.
    – Ron Trunk
    Jan 25, 2016 at 1:10
  • 1
    @RonTrunk Hi, You are right! 30 seconds of quality time with Google led me to this post.
    – Naveen
    Apr 26, 2021 at 23:43

3 Answers 3

2

If you think about it you already know the answer. To spur you along it is easier to think of optical cabling than copper to think through the example. With optical cabling there is one core for Tx, and one for Rx. This alone should be enough to answer your question, but with Wave division multiplexing it muddies the waters.

In answer to your question all information sent across an Ethernet network is sent serially. Multiplexing of any sort is sending multiple serial communications over the one core and is done by sending different channels over different wavelengths of light. However a fibre connection from an end device such as a server will generally only use one wavelength (e.g. 850nM for SX) to send all data serially over the wire. The same is true for copper connections. For up to FastEthernet 4 wires are needed as you have one pair for TX and another pair for Rx as they are electrically balanced.

Gigabit Ethernet over copper is slightly different as the signals are modulated over what is known as 4D-PAM5. What this means is that there are 4 signals over 5 voltages and 2 bits are sent at a time, however this is still classed as serial transmission, only with more information density. http://www.hardwaresecrets.com/how-gigabit-ethernet-works/

3

The reason many people gloss over this stuff is because if you actually look at the real details and not oversimplified models it's a massive rabbit hole.

Firstly Ethernet is not just one type of interface but a whole family of them with the fastest variant being FORTY THOUSAND times faster than the slowest.

Secondly many modern interfaces don't fit nicely into either the traditional parallel or serial model. Many modern interfaces use a multi-lane arrangement where multiple connections carry data in parallel but each "lane" has separately managed bit timings and the receiver adds small delays to make up for timing skew and bring the data back into sync.


Generally frames are first transferred from main memory to a buffer in the medium access controller. The interface used will depend on the application, an on-chip MAC is likely to use a parallel interface. Old off-chip MACs also used parallel interfaces but nowadays serial interfaces are increasingly used. 10 gigabit and faster interfaces typically use multi-lane PCIe which isn't really either a traditional parallel or a traditional serial interface.

The buffer inside the MAC is needed to decouple the timings on the Ethernet interface from the timings on the host interface.

The MAC decides when to transmit a frame (using CSMA/CD if needed) and transmits it at wire speed to the PHY. For 100 megabit and 1 gigabit systems the MAC to PHY interface is typically a narrow (2-8 bits) parallel interface, though serial interfaces are also sometimes used. For 10 gigabit and 25 gigabit I believe a fast LVDS serial interface is typically used. For higher speeds I believe a multi-lane interface built up out of fast LVDS serial links is used.

The PHY takes the data from the MAC and re-encodes it for the wire. 10BASE-T uses manchester encoding. 100BASE-TX first passes the data through a 4B5B encoding process. This is then further encoded using "MLT-3" to reduce the effective frequency. 1000BASE-T uses multiple pairs in parallel, uses a multi-level encoding scheme to send multiple bits at the same time on the same pair and uses echo and crosstalk cancellation techniques to use all four pairs in both directions at the same time.

On fiber at speeds up to 25 gigabit data is normally sent serially on a single wavelength.

At higher speeds there are a dizzying array of different options for transmission over fiber. Some use multiple separate optical lanes, either carried on separate fibres, some use multi-level PAM4 encoding and some use coherent optical technology where the phase of the light is modulated.

-3

From Que Publishing

Serial Versus Parallel Information Transfer

Parallel Information Transfers

Parallel transfers use multiple "lanes" for data and programs, and in keeping with the 8 bits = 1 byte nature of computer information, most parallel transfers use multiples of 8. Parallel transfers take place between the following devices:

  • CPU and RAM
  • CPU and interface cards (see Chapter 8)
  • LPT (printer) port and parallel printer
  • SCSI port and SCSI devices
  • ATA/IDE host adapter and ATA/IDE drives
  • RAM and interface cards (either via the CPU or directly with DMA)

Serial Transfers

A serial transfer uses a single "lane" in the computer for information transfers. This sounds like a recipe for slowdowns, but it all depends on how fast the speed limit is on the "data highway."

The following ports and devices in the computer use serial transfers:

  • Serial (also called RS-232 or COM) ports and devices
  • USB (Universal Serial Bus) 1.1 and 2.0 ports and devices
  • Modems (which can be internal devices or can connect to serial or USB ports)
  • IEEE-1394 (FireWire, i.Link) ports and devices
  • Serial ATA (SATA) host adapters and drives
12
  • 2 downvotes? What's wrong with the information? Dec 21, 2016 at 18:17
  • 1
    It's a huge information dump with only one tiny nugget that is related to the question, and that one tiny nugget is outdated. Jan 4, 2017 at 17:44
  • @PeterGreen If the terms are outdated, that's an issue with the question itself, not my answer which directly addresses the question. My answer is 186 words. Your is 410 words, well over double mine. Jan 4, 2017 at 20:00
  • 1
    @RonRoyston, no the question has not been edited (you would see an edited link which would show the edit history). If you feel there are inaccuracies in other answers, I would encourage you to constructively point them out in comments on those answers so they can be improved. For reference, IIRC any PC bus/expansion slots prior to PCI Express used parallel communications. So interfaces prior to PCIe would have received data on a parallel bus and transmitted on the wire serially (or received on the wire serially and transmitted on the bus parallel).
    – YLearn
    Jan 19, 2017 at 4:00
  • 1
    @RonRoyston, wow? This isn't about "winning" anything. And again, those were brought in as a comment addressing your answer/comments, not the question of the OP, so the OP has no bearing on it in any way. I actually feel bad for you if you can't understand that and if you genuinely feel that this has won some sort of victory.
    – YLearn
    Jan 23, 2017 at 20:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.