-
Notifications
You must be signed in to change notification settings - Fork 105
[Deepin-Kernel-SIG] [linux 6.12-y] [Upstream] config: deepin: enable module zstd compression #1400
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
[Deepin-Kernel-SIG] [linux 6.12-y] [Upstream] config: deepin: enable module zstd compression #1400
Conversation
Reviewer's guide (collapsed on small PRs)Reviewer's GuideConfigures Deepin kernel builds to compress loadable kernel modules with zstd across all supported desktop defconfig architectures, trading a larger image.deb for a significantly smaller /lib/modules footprint on disk. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
deepin inclusion category: feature Support module compress, and compress kernel modules to zstd format. Will help to less kernel module size which lays in user disk XXXMB. It will decrease /lib/modules/xxx/kernel/../*.ko to *.ko.zst ~70%, but increase image.deb ~70%. Log: before: image.deb 94MB du -sh /lib/modules/xxx 520MB after: image.deb 158MB du -sh /lib/modules/xxx 167MB The point is that disksize cost is more expensive than network. PS: do it in our 6.6 kernel need backport some KBUILDS commits, or will bring debuginfo to image.deb not image-dbg.deb... Signed-off-by: Wentao Guan <[email protected]>
f97311c to
28437b8
Compare
deepin pr auto review我来对这个配置文件的变更进行审查:
改进建议:
总的来说,这是一个很好的配置变更,能够在保持系统性能的同时减少存储空间占用。建议的改进主要是文档和可配置性方面的增强。 |
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.
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: lanlanxiyiji The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
deepin inclusion
category: feature
Support module compress, and compress kernel modules to zstd format. Will help to less kernel module size which lays in user disk XXXMB.
It will decrease /lib/modules/xxx/kernel/../*.ko to *.ko.zst ~70%, but increase image.deb ~70%.
Log:
before:
image.deb 94MB
du -sh /lib/modules/xxx 520MB
after:
image.deb 158MB
du -sh /lib/modules/xxx 167MB
The point is that disksize cost is more expensive than network.
PS: do it in our 6.6 kernel need backport some KBUILDS commits, or will bring debuginfo to image.deb not image-dbg.deb...
Summary by Sourcery
New Features: