Add a Macro Benchmark that Exercises Threading (Multi-Core Concurrency)
還沒有人認領這個 Issue。
- 主要語言
- Python
- 星號
- 1k
- 分支
- 203
- 平均合併
- 1 小時 20 分鐘
- 30 天內合併 PR
- 2
描述
From @methane (https://mail.python.org/archives/list/python-dev@python.org/message/KVH7QLJ4VJBQQ45LZTWDXO2SEC6ANX7T/):
CPU cache invalidation exists regardless. With the current GIL the
effect it is reduced significantly.It's an interesting point. We can not see the benefit from pypeformance, because it doesn't use much data and it runs one process
at a time. So the pyperformance can not make enough stress to the last level cache which is shared by many cores.We need multiprocess performance benchmark apart from pyperformance, to stress the last level cache from multiple cores. It helps not only this PEP, but also optimizing containers like dict and set.
貢獻指南
這個儲存庫沒有索引到貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
先檢視現有的 pyperformance 基準測試套件,以及其中的單一程序基準測試是如何組織的。定義多程序基準測試應如何在各核心之間施加共享的末級快取壓力,並在該基準測試能提供可重現的多核心效能資料、可用於評估 dict 和 set 最佳化時,將其視為完成。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- python
- 領域
- performance
- Issue 類型
- 功能
- 難度
- 5/5
- 預估耗時
- 一週以上
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 30/100