w14
本周是 2023 年的第 14 周,本周业务较多,并且业余时间主要是在读 WebDAV 的 RFC,所以只有一篇感觉比较值得分享的文章。
Why your website should be under 14kB in size | endtimes.dev
Most web servers TCP slow start algorithm starts by sending 10 TCP packets.
The maximum size of a TCP packet is
1500 bytes
.This maximum is not set by the TCP specification, it comes from the ethernet standard
Each TCP packet uses 40 bytes in its header — 16 bytes for IP and an additional 24 bytes for TCP
That leaves 1460 bytes per TCP packet.
10 x 1460 = 14600 bytes
or roughly 14kB!
类似于磁盘 IO 中的对齐,不得不说 TCP 的 overhead 很大,特别是在 25G/50G/100G/400G … 这些大带宽的网络中,比 IB 差得多,联想到 Linux 6.3 中为 IPv4 引入了 BIG TCP 实现,对大带宽网络下的性能有显著提升
Linux 6.3 Introduces IPv4 “BIG TCP” To Improve High Speed Network Performance
爷爷在本周日早上过世了,下周请假一周 🙏