Skip to content

Conversation

@SigureMo
Copy link
Member

@SigureMo SigureMo commented Jan 17, 2026

PR Category

Execute Infrastructure

PR Types

Devs

Description

#77282 的 ccache 清理 workflow 进行修改

image

根据手动触发清理所需时间、大小对清理频率、限制上限做出调整,这里下面两行隔了不到 2 个工作日,就产生了 70G 需要清理的缓存,清理时间达到了 2.5h,为了避免清理时间过长,提升清理频率,同时提升 ccache size 上限,避免频繁清理仍需要的缓存项

特别是 release/3.3 的 H-Coverage 与 develop 共用 L2 ccache,如果缓存过小,高频开发的 develop 容易把低频开发的 release/3.3 缓存驱逐掉,导致 release/3.3 PR 合入过慢(未来其他 release 有同样问题)

  • 频率提升,由 weekly(每周日 0 点)改为 daily(每日 2 点)
  • 提升 L2 上限,从 200G->500G

Copilot AI review requested due to automatic review settings January 17, 2026 09:07
@paddle-bot
Copy link

paddle-bot bot commented Jan 17, 2026

你的PR提交成功,感谢你对开源项目的贡献!
请关注后续CI自动化测试结果,详情请参考Paddle-CI手册
Your PR has been submitted. Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

Copy link
Contributor

Copilot AI left a 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 modifies the ccache cleanup GitHub Actions workflow to improve cache management efficiency. Based on observed patterns showing 70GB of cache accumulation in less than 2 working days (requiring 2.5 hours to clean), the cleanup frequency is increased and the cache size limit is raised to avoid excessive cleanup overhead while maintaining effectiveness.

Changes:

  • Increase cleanup frequency from weekly to daily
  • Increase L2 ccache size limit from 200G to 500G
  • Update task naming to reflect new schedule (weekly → nightly)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@SigureMo SigureMo requested a review from ooooo-create January 17, 2026 09:18
Copy link
Contributor

@ooooo-create ooooo-create left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@SigureMo
Copy link
Member Author

SigureMo commented Jan 17, 2026

受不了了,垃圾 slice,rerun 8 次了,豁免一下吧 @ooooo-create,得用 skip all,你没权限加 skip slice

@ooooo-create
Copy link
Contributor

受不了了,垃圾 slice,rerun 8 次了,豁免一下吧 @ooooo-create,得用 skip all,你没权限加 skip slice

加了加啦,可恶的垃圾 slice

@SigureMo SigureMo merged commit 0f7959f into PaddlePaddle:develop Jan 17, 2026
246 of 256 checks passed
@SigureMo SigureMo deleted the ci/increase-freqency-for-ccache-cleanup branch January 17, 2026 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants