From 6597de872f1bee474d9204ba258e30f551cbafcc Mon Sep 17 00:00:00 2001 From: wanghenshui Date: Tue, 23 Jul 2024 00:37:01 +0800 Subject: [PATCH] 164 patch --- README.md | 2 +- posts/16405.md | 25 +++++++++++++++++++++++++ 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 posts/16405.md diff --git a/README.md b/README.md index fbb1357..cfb5976 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ RSS使用仓库的release RSS [链接](https://github.com/wanghenshui/cppweeklyn ## 2024 -| [161](./posts/161.md) |[162](./posts/162.md) | [163](./posts/163.md) |[164](./posts/164.md) | | | | | | | +| [161](./posts/161.md) |[162](./posts/162.md) | [163](./posts/163.md) |[164](./posts/164.md) [164修正](./posts/16405.md) | | | | | | | | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | | [151](./posts/151.md) | [152](./posts/152.md) | [153](./posts/153.md) | [154](./posts/154.md) | [155](./posts/155.md) | [156](./posts/156.md) | [157](./posts/157.md) | [158](./posts/158.md) | [159](./posts/159.md) | [160](./posts/160.md) | | | | | | [145](./posts/145.md) | [146](./posts/146.md) | [147](./posts/147.md) | [148](./posts/148.md) | [149](./posts/149.md) | [150](./posts/150.md) | diff --git a/posts/16405.md b/posts/16405.md new file mode 100644 index 0000000..0cf65f5 --- /dev/null +++ b/posts/16405.md @@ -0,0 +1,25 @@ +--- +layout: post +title: 第164.5期 +--- +# C++ 中文周刊 164期补充 + + +昨天更新关于HFT的内容有误 + +- cache warm 效果有限,加热icache缺乏其他优化验证修复,比如pgo,比如调大tlb。当然cache warm对于可以观测数据集预估业务的场景来说,简单粗暴,不过对于优化而言,很难说问题的根因在哪里,PGO应该是最直观的,cache warm给人一种野路子歪打正着的感觉,需要进一步分析。对于不可预估后端场景,cache warm就相当于CPU做无用功了,一定要测试,测试,测试 + +- 其他例子,比如prefetch等,例子粗糙,缺少系统视角,如果缺乏这个知识需要科普,看这个小册子,反而可能造成误导 + + +需要系统了解可以看现代cpu性能分析与优化 有中文版本 + +英文版 https://book.easyperf.net/perf_book + +中文版本可能比较旧,但对于科普系统学习知识也足够,京东77应该是涨价了,我买的时候是50 + +公开课可以学一下mit 6.172 b站有视频 ppt可以这里下载 https://ocw.mit.edu/courses/6-172-performance-engineering-of-software-systems-fall-2018/ + +实际上优化相关知识广,碎,杂,需要系统整体视角 + +本文感谢崔博武 Anien 指正 \ No newline at end of file