Re: Small rant: installer environment size

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2022-12-09 at 09:48 -0800, Adam Williamson wrote:
> On Fri, 2022-12-09 at 12:04 +0100, Florian Weimer wrote:
> > * Richard W. M. Jones:
> > 
> > > You only need network / wifi firmware blobs (although I'm sure they
> > > are in themselves large) and then you can fetch anything else needed
> > > for the hardware including graphics, right?
> > 
> > I think you need graphics to set up wifi.
> 
> Yeah, this is an awkward chicken-and-egg problem. Even if we assume
> you're on a wired network, kernel modules generally - AIUI - try to
> load the firmware once, on initial module load, and if they can't find
> it, just give up, right? So we still have an ordering problem: how can
> we delay the loading of modules that need firmware until the network is
> up for us to be able to access the firmware files?
> 
> Maybe I'm missing something that would help there, but it seems
> tricky...
> 
> Looking at sizes, iwlwifi firmware alone is 75M(!) ath10k is 6.8M,
> ath11k is 12M, ath6k is 812K, so that's nearly another 20M. brcm/ is
> another 6.4M and I *think* that's all wifi. There's a few other minor
> ones, but that's a little over 100M of just wifi, with Intel by a huge
> margin the worst offender.
> 
> Does anyone know anyone we can talk to at Intel about this? It's pretty
> obnoxious.
> 
> In terms of what the other big space takers are in general:
> 
> * amdgpu/ (AMD video cards) is ~20M
> * intel/ (mainly Intel bluetooth) is ~15M [0]
> * qed/ (some very high-end QLogic network cards) is ~10M [0]
> * i915/ (Intel video firmware) is 8.4M
> * mediatek/ is 7.7M [1]
> * qcom/ is 7.3M
> 
> Then it trails off from there. Just the wifi plus those 6 things are
> around 170M, so the large majority of all the space taken.
> 
> [0] No, we can't lose this - people install with Bluetooth
> mice/keyboards
> [1] For a quick win right now possibly we could assume nobody's going
> to use one of those as the interface for a Fedora install and drop
> that, not sure if it's a safe assumption
> [2] We could possibly lose a bunch of this stuff, I'll look into it

So since this turns out to be less important than I thought (thanks bcl
for the correction) I won't poke it much further than I have today, but
following up on the above, I've done a couple of PRs, one to strip more
stuff in lorax:
https://github.com/weldr/lorax/pull/1291
and one to dump a chunk of older iwlwifi firmwares:
https://src.fedoraproject.org/rpms/linux-firmware/pull-request/9
those combined would get us some breathing room for a while...
-- 
Adam Williamson
Fedora QA
IRC: adamw | Twitter: adamw_ha
https://www.happyassassin.net

_______________________________________________
Anaconda-devel mailing list -- anaconda-devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to anaconda-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/anaconda-devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux