All of lore.kernel.org
 help / color / mirror / Atom feed
* ppc64le vmlinuz is huge when building with BTF
@ 2023-06-15  3:32 Dominique Martinet
  2023-06-15  8:39 ` Jiri Olsa
  2023-06-15 15:15 ` Eduard Zingerman
  0 siblings, 2 replies; 14+ messages in thread
From: Dominique Martinet @ 2023-06-15  3:32 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo, dwarves, bpf

Hi,

coming from alpine: https://gitlab.alpinelinux.org/alpine/aports/-/issues/12563

alice noticed the kernel packages got quite bigger, in particular for
ppc64le I've confirmed that the vmlinuz file size jump when building
with BTF:
currently released package with BTF:
https://dl-cdn.alpinelinux.org/alpine/edge/main/ppc64le/linux-lts-6.1.33-r0.apk
272M	boot/vmlinuz-lts

test build without BTF:
https://gitlab.alpinelinux.org/martinetd/aports/-/jobs/1049335
44M	boot/vmlinuz-lts


Is that a known issue?
We'll probably just turn off BTF for the ppc64le build for now, but it
might be worth checking.


While I have your attention, even the x86_64 package grew much bigger
than I thought it would, the installed modules directory go from 90MB to
108MB gzipped); it's a 18% increase (including kernel: 103->122MB) which
is more than what I'd expect out of BTF.
Most users don't care about BTF so it'd be great if they could be built
and installed separately (debug package all over again..) or limiting
the growth a bit more if possible.
I haven't tried yet but at this point ikheaders is probably worth
considering instead..
Perhaps we're missing some stripping option or something?


Thanks!
-- 
Dominique Martinet | Asmadeus

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2023-06-16 17:15 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-15  3:32 ppc64le vmlinuz is huge when building with BTF Dominique Martinet
2023-06-15  8:39 ` Jiri Olsa
2023-06-15 11:52   ` Dominique Martinet
2023-06-15 14:31     ` Alan Maguire
2023-06-15 20:34       ` Dominique Martinet
2023-06-15 21:19         ` Andrii Nakryiko
2023-06-16 10:58         ` Naveen N Rao
2023-06-16 10:58           ` Naveen N Rao
2023-06-16 12:00           ` Dominique Martinet
2023-06-16 12:00             ` Dominique Martinet
2023-06-16 17:12             ` Naveen N Rao
2023-06-16 17:12               ` Naveen N Rao
2023-06-15 15:15 ` Eduard Zingerman
2023-06-15 15:21   ` Eduard Zingerman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.