-
Notifications
You must be signed in to change notification settings - Fork 5.9k
[CI] Use L2 ccache reduce build time in all workflows #77174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CI] Use L2 ccache reduce build time in all workflows #77174
Conversation
|
你的PR提交成功,感谢你对开源项目的贡献! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR optimizes the CI build pipeline by implementing a two-tier ccache architecture: L1 local cache on individual machines (50GB) and L2 shared cache on CFS (Common File System) for cross-machine sharing.
Key changes:
- Migrated from single-tier ccache (200GB) to L1 (50GB local) + L2 (shared CFS) architecture
- Updated runner group from
GZ_BD-CPUtocoverage-build-l2-debugfor dedicated L2-optimized infrastructure - Modified Docker volume mounts to support the new cache directory structure
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
PR Category
Execute Infrastructure
PR Types
Devs
Description
基于 #77167 的思路尝试优化全流水线构建架构,使用机内 L1 本地 cache + 机间 L2 CFS cache 来降低构建时间,每台机器约占用 50G 存储即可(跨流水线共用,只需要 50G)
原有架构:
新架构:
coverage 首次编译 5h30m:
coverage 重复编译 38min,低于 L1 CFS 的 55min:
TODOs