Proposal: Add build-selectable SVE2-256 architecture support
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 30/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 冷清
- 技术栈
- cpp
调研方向
首先阅读 include/sonic/internal/arch 下现有的 SVE2-128 实现,并检查如何通过 build 提供架构选择。然后检查现有的 benchmark 测试数据和 benchmark 结果。完成标准是提供一个已接受且可通过 build 选择的 SVE2-256 实现,覆盖序列化和反序列化,并针对所述的 NEON 基线进行 benchmark 评估。
由索引模型根据 Issue 内容生成。
描述
The repository currently contains an SVE2-128 implementation under
include/sonic/internal/arch.
SVE2-256 is commonly used on Kunpeng950. Adding a separate SVE2-256
implementation would allow the code to take advantage of the wider vector
width and higher data-parallel throughput while continuing to use SVE2
instructions.
The implementation would be selected through a build option. The change is
approximately 1,200 lines and includes optimizations for
both serialization and deserialization.
In preliminary testing with Clang 16 and the existing benchmark testdata,
compared with the NEON build on the same Kunpeng950 system:
- Deserialization shows about 13%+ average CPU-time reduction, up to 35%.
- Serialization shows about 4% average CPU-time reduction, up to 15%.
Could you please confirm:
- Is adding a separate SVE2-256 architecture directory acceptable?
- Is the existing testdata sufficient for benchmark evaluation?
- Is the NEON build on the same Kunpeng950 system an acceptable baseline?
- 主要语言
- C++
- 星标
- 976
- 派生
- 128
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
bytedance/sonic-cpp 的其他 Issue
-
难度 5/5 一周以上 新手友好度 1/100
-
对 parseImpl 进行优化未关闭
难度 3/5 1-2 天 新手友好度 45/100
-
难度 4/5 3-5 天 新手友好度 25/100
-
U64toa 单元测试用例不通过未关闭
难度 3/5 1-2 天 新手友好度 55/100
-
难度 5/5 一周以上 新手友好度 25/100
查看 bytedance/sonic-cpp 的全部 Issue
相似的 Issue
-
area/actorsystem bug tsan
难度 2/5 1-3 小时 新手友好度 74/100
ydb-platform/ydb#54282 ·
维护者通常 1 天内回复
-
bug needs triage
难度 1/5 1 小时以内 新手友好度 90/100
project-chip/connectedhomeip#74434 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 88/100
tenstorrent/tt-metal#58057 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 84/100
maplibre/maplibre-native#4690 ·
维护者通常 1 天内回复
-
comp-query-execution
难度 2/5 1-3 小时 新手友好度 84/100
ClickHouse/ClickHouse#122569 ·
维护者通常 1 天内回复