Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
isno committed Sep 26, 2024
1 parent b32fe88 commit 316d3b5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion architecture/summary.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@
图 1-0 本章内容导读
:::

[^1]: Tobias Lütke 是业内著名的技术创业者。他在 2006 年创建的 Shopify 已成为全球最大的电子商务平台之一。
[^1]: Tobias Lütke,互联网著名的技术创业者。他在 2006 年创建的 Shopify 已成为全球最大的电子商务平台之一。
2 changes: 1 addition & 1 deletion network/XDP.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

由于 DPDK 完全基于“内核旁路”的思想,它天然无法与 Linux 内核生态很好地结合。

2016 年,在 Linux Netdev 会议上,David S. Miller[^1] 喊出了“DPDK is not Linux”的口号。同年,随着 eBPF 技术的成熟,Linux 内核终于迎来了属于自己的高速公路——XDP(eXpress Data Path,快速数据路径)。XDP 具有媲美 DPDK 的性能,并且背靠 Linux 内核,具备无需第三方代码库和许可、无需专用 CPU 等多种独特优势。
2016 年,在 Linux Netdev 会议上,演讲者 David S. Miller[^1] 喊出了“DPDK is not Linux”的口号。同年,随着 eBPF 技术的成熟,Linux 内核终于迎来了属于自己的高速公路——XDP(eXpress Data Path,快速数据路径)。XDP 具有媲美 DPDK 的性能,并且背靠 Linux 内核,具备无需第三方代码库和许可、无需专用 CPU 等多种独特优势。

DPDK 技术是完全绕过内核,直接将数据包传递到用户空间进行处理。而 XDP 则正好相反,它选择在内核空间中执行我们定义的程序来处理数据包。那么,如何在内核中执行用户空间定义的程序呢?这就需要用到 BPF(Berkeley Packet Filter,伯克利包过滤器)技术 —— 一种允许在内核空间运行经过安全验证的代码的机制。

Expand Down
4 changes: 1 addition & 3 deletions network/summary.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,9 @@

本章我们将深入 Linux 内核网络,分析 Linux 内核中的数据包处理机制,了解 Linux 内核一些核心模块如何密切协作,以及它们对应用层设计产生的影响。讨论 Linux 内核在密集网络系统下的瓶颈,并探讨业内一些“跨内核”的解决方案。此外,我们还要再学习一些与虚拟化网络相关的协议和虚拟设备技术,这些是实现负载均衡、容器网络、服务网格等高级应用的基石。



:::center
![](../assets/network-summary.png)<br/>
图 3-0 本章内容导读
:::

[^1]: Linus Torvalds 是 Linux 内核的最早作者,他还发明了 Git,被戏称为程序员的祖师爷
[^1]: Linus Torvalds,最著名的程序员之一。Linus Torvalds 是 Linux 内核的最早作者。他还开发了代码版本管理工具 Git,因此也被戏称为程序员的祖师爷

0 comments on commit 316d3b5

Please sign in to comment.