gpt4 book ai didi

linux - 为什么RTL8139有四个Tx描述符?

转载 作者:太空宇宙 更新时间:2023-11-04 12:48:17 25 4
gpt4 key购买 nike

我正在学习 RTL8139。我想知道,为什么我们需要正好 4 个传输描述符寄存器?不多也不少。

我在谷歌上搜索了很长时间,从以下网站获得了一些信息: http://www.phy.duke.edu/~rgb/brahma/Resources/beowulf/linux/drivers/rtl8139.html

On the transmit side four register sets hold the address and size of the packets to be transmitted. While this results in a rather small, fixed-size transmit queue, four entries is adequate for full performance in most environments.

但是为什么? 四个条目足以在大多数环境中实现完整性能是什么意思。它是如何工作的?

最佳答案

我的意思是网卡可以同时被4核CPU访问。在简单网络上速度不快。但是,如果这台计算机与许多客户端应用程序连接,则传输应答的 IO 等待 block 较少。

关于linux - 为什么RTL8139有四个Tx描述符?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38027754/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com