为什么串行数据传输比并行数据传输快?

SATA硬盘驱动器连接比旧的PATA硬盘驱动器连接更快,对于外部布线标准也可以这样说,但这是违反直觉的:为什么并行传输不会更快?...

为什么串行数据传输比并行数据传输快?

SATA硬盘驱动器连接比旧的PATA硬盘驱动器连接更快,对于外部布线标准也可以这样说,但这是违反直觉的:为什么并行传输不会更快?

今天的问答环节是由SuperUser提供的,SuperUser是Stack Exchange的一个分支,是一个由社区驱动的问答网站分组。

问题

超级用户对并行和串行连接的数据传输速率很好奇:

Intuitively, you would think that parallel data tran**ission should be faster than serial data tran**ission; in parallel you are transferring many bits at the same time, whereas in serial you are doing one bit at a time.

So what makes SATA interfaces faster than PATA, PCI-e devices faster than PCI, and serial ports faster than parallel?

虽然人们很容易就认为SATA比PATA更新,但肯定有一个比年龄更具体的机制在起作用。

答案

SuperUser contributor Mpy提供了对传输类型性质的一些见解:

You cannot formulate it this way.

Serial tran**ission is slower than parallel tran**ission given the same signal frequency. With a parallel tran**ission you can transfer one word per cycle (e.g. 1 byte = 8 bits) but with a serial tran**ission only a fraction of it (e.g. 1 bit).

The reason modern devices use serial tran**ission is the following:

  • You cannot increase the signal frequency for a parallel tran**ission without limit, because, by design, all signals from the tran**itter need to arrive at the receiver at the same time. This cannot be guaranteed for high frequencies, as you cannot guarantee that the signal transit time is equal for all signal lines (think of different paths on the mainboard). The higher the frequency, the more tiny differences matter. Hence the receiver has to wait until all signal lines are settled — obviously, waiting lowers the transfer rate.
  • Another good point (from this post) is that one needs to c***ider crosstalk with parallel signal lines. The higher the frequency, the more pronounced crosstalk gets and with it the higher the probability of a corrupted word and the need to retran**it it. [1]

So, even if you transfer less data per cycle with a serial tran**ission, you can go to much higher frequencies which results in a higher net transfer rate.

[1] This also explains why UDMA-Cables (Parallel ATA with increased transfer speed) had twice as many wires as pins. Every second wire was grounded to reduce crosstalk.

Scott Chamberlain回应了Myp的回答,并扩展了设计经济学:

The problem is synchronization.

When you send in parallel you must measure all of the lines at the exact same moment, as you go faster the size of the window for that moment gets **aller and **aller, eventually it can get so **all that some of the wires may still be stabilizing while others are finished before you ran out of time.

By sending in serial you no longer need to worry about all of the lines stabilizing, just one line. And it is more cost efficient to make one line stabilize 10 times faster than to add 10 lines at the same speed.

Some things like PCI Express do the best of both worlds, they do a parallel set of serial connecti*** (the 16x port on your motherboard has 16 serial connecti***). By doing that each line does not need to be in perfect sync with the other lines, just as long as the controller at the other end can reorder the “packets” of data as they come in using the correct order.

The How Stuff Works page for PCI-Express does a very good explination in depth on how PCI Express in serial can be faster than PCI or PCI-X in parallel.

TL;DR Version: It is easier to make a single connection go 16 times faster than 8 connecti*** go 2 times faster once you get to very high frequencies.


有什么要补充的解释吗?在评论中发出声音。想从其他精通技术的Stack Exchange用户那里了解更多答案吗?在这里查看完整的讨论主题。

  • 发表于 2021-04-11 15:55
  • 阅读 ( 149 )
  • 分类:互联网

你可能感兴趣的文章

同步(synchronous)和异步传输(asynchronous transmission)的区别

...异步传输使用流控制而不是使用同步时钟来传输数据。 数据传输是将数据从发射机发送到接收机的过程。串行传输和并行传输有两种类型。串行传输一次发送一位,顺序通过通信信道。并行传输同时通过多个并行信道发送多个...

  • 发布于 2020-10-18 13:22
  • 阅读 ( 298 )

串行(serial)和并行通信(parallel communication)的区别

... 串行通信和并行通信的关键区别在于,在串行通信中,数据传输一次发生一个比特,而在并行通信中,一次传输多个比特。然而,尽管数据是逐位传输的,串行通信对于长距离和高频率是快速的。但是,对于短距离和低频率,...

  • 发布于 2020-10-18 13:24
  • 阅读 ( 650 )

串行(serial)和并联传动(parallel transmission)的区别

串行与并行传输 串行和并行传输的主要区别在于数据传输的方式。在串行传输中,它是顺序的,而在并行传输中,它是同时的。在计算机世界里,数据是用位进行数字传输的。在串行传输中,数据按顺序发送,一位接一位地...

  • 发布于 2020-11-03 03:15
  • 阅读 ( 248 )

为什么串行数据传输比并行数据传输快?

...的问答网站分组。 问题 超级用户对并行和串行连接的数据传输速率很好奇: Intuitively, you would think that parallel data tran**ission should be faster than serial data tran**ission; in parallel you are transferring many bits at the same time, whereas in serial you are ...

  • 发布于 2021-04-11 15:55
  • 阅读 ( 149 )

世达(sata)和ide硬盘(ide harddisk)的区别

...量数据的需要。这种探索导致了从并行ATA(也称为IDE)到串行ATA的转变。乍一看,您不会注意到PATA和SATA磁盘之间的区别。当您将它们连接到主板时,主要的视觉差异就会出现。PATA磁盘使用约3-4英寸宽的80针带状电缆,而SATA磁盘...

  • 发布于 2021-06-22 11:10
  • 阅读 ( 187 )

超ata(ultra ata)和世达(sata)的区别

...数字视频/音频编辑和回放、广泛的文件共享和其他依赖数据传输的应用。 硬盘和其他各种存储设备(如CD-ROM)都连接到计算机主板上。这种连接使用两个设备之间无缝电子通信的通用标准。ATA,高级技术附件的缩写就是这样的...

  • 发布于 2021-06-23 02:58
  • 阅读 ( 170 )

石斑鱼类(ide)和世达(sata)的区别

...一种较旧的标准。IDE电线体积更大,价格更贵。它的最大数据传输速率为133MB/s。另一方面,SATA导线更小、更薄、更易于管理。SATA的最大数据传输速率为6GB/s。现代硬盘驱动器和固态驱动器使用SATA。 覆盖的关键领域 1.什么是IDE...

  • 发布于 2021-06-30 23:34
  • 阅读 ( 226 )

ahci公司(ahci)和石斑鱼类(ide)的区别

...它的电线体积更大,价格也更贵。此外,它不提供太多的数据传输速率。另一方面,AHCI是一种更新的接口,用于在设备和支持SATA的存储设备之间交换数据。 覆盖的关键领域 1.什么是IDE–定义,功能2.什么是SATA–定义,功能3.什...

  • 发布于 2021-07-01 02:28
  • 阅读 ( 183 )

pci总线(pci)和PCI总线(pci express)的区别

...设备以扩展其功能的总线。最初的PCI标准提供了133mbps的数据传输速率。PCI Express是PCI的最新版本。这是一个改进的版本。它提供了更高的系统总线吞吐量、更好的总线设备性能扩展以及详细的错误检测和报告方法。 覆盖的关键...

  • 发布于 2021-07-01 07:47
  • 阅读 ( 214 )

序列号(serial)和计算机体系结构中的并行处理(parallel processing in computer architecture)的区别

...低。因此,这是串行和并行处理之间的一个重要区别。 数据传输 此外,在串行处理中,数据传输采用逐位格式。然而,在并行处理中,数据传输采用字节形式(8位)。 所需时间 串行和并行处理所用的时间也是不同的。也就是...

  • 发布于 2021-07-01 13:41
  • 阅读 ( 232 )
yin978496
yin978496

0 篇文章

相关推荐