If MadmanRB is saying the ~80MB is of no concern as he has TBs of disk space, then it seems clear to me that he is referring to the second meaning of 'size'. Whether you think package size means anything at all, it's rather ironic to suggest MadmanRB is not paying attention because he is not using definition 1 or 3: definition 2 is the only reasonable one to work with if drive space is the concern.
@ MadmanRB, some of this may be brought on as drive space, nowadays, is rarely a limiting factor. So "bloat" will often refer more to metrics about size of the compiled code binaries, and the memory that they require both for code space and data allocation (typical memory use). I suspect many users here are baffled by your focus on size-on-disk of the entire kernel package especially since you have TBs to work with. The ~80MB package size is simply not relevant in most peoples minds when they consider the size of the "kernel".
EDIT: oops - it seems I had confused who the OP in this thread was. It seems the OP is satisfied and not concerned. So perhaps this thread should just be left alone.
]]>@MadmanRB: The linux package contains the stock Arch kernel, plus all modules built for it. Since the stock build is aimed at the broadest hardware compatibility, the package contains many, many more modules than are actually needed for any individual system:
$ pacman -Ql linux-lts | wc -l 4117
The kernel (and whatever modules your system loads) will be a tiny fraction of the package size.
No I did guess that, but again not like I mind as the size is tiny on my harddisk.
]]>$ pacman -Ql linux-lts | wc -l
4117
The kernel (and whatever modules your system loads) will be a tiny fraction of the package size.
]]>Quick comparison:
empty@Arch ~ % ls -lh /boot -rwxr-xr-x 1 root root 3.8M Sep 17 20:57 vmlinuz-linux* # Arch (standard) -rwxr-xr-x 1 root root 3.0M Sep 13 08:22 vmlinuz-3.16-1-amd64* # Debian Sid
Arch looks a bit bloaty to me...
Are both of those gzip compressed distro stock kernels?
If you're using an SSD, sometimes smaller != faster
]]>stevenhoneyman wrote:MadmanRB wrote:On my system I see Linux kernel is about 80MB
I'm pretty sure it isn't. Have you read the posts above?
According to the readouts on pacman and its front ends.
...that's a no then
]]>empty@Arch ~ % ls -lh /boot
-rwxr-xr-x 1 root root 3.8M Sep 17 20:57 vmlinuz-linux* # Arch (standard)
-rwxr-xr-x 1 root root 3.0M Sep 13 08:22 vmlinuz-3.16-1-amd64* # Debian Sid
Arch looks a bit bloaty to me...
MadmanRB wrote:On my system I see Linux kernel is about 80MB
I'm pretty sure it isn't. Have you read the posts above?
According to the readouts on pacman and its front ends.
The actual size is about 71.48MB according to pamac (just using pamac as a update notifier here I can use commandline folks) but as stated this may be blind guessing as the headers is 3.16MB
Plus I do have some drivers here for my hardware so it does make sense the large size.
On my system I see Linux kernel is about 80MB
I'm pretty sure it isn't. Have you read the posts above?
]]>When it comes to size i was only referring to package weight, i am total newbie when it come to kernel knowledge. But if package has nothing to do with kernel size in working system and it is just this 4 MB than i am okay with that.
Initially i was thinking that all package size is loaded on startup (which gives extra second of load on spinning hard drive) and modules are just turned off and on in case if needed and i was so wrong. I didn't found any article in Internet about it and also i am just average user.
Thank you all for clarifications, much appreciate.
Try this:
lsmod|awk '{t+=$2;} END {printf("%4.2f MB of loaded modules\n",t/1024/1024);}'
lsmod lists loaded modules (and their sizes). that ^^ just adds them all up. combine that with the size of /boot/vmlinuz-linux and you've got a rough idea of how much of a "size" it takes up
]]>Hello, i was wondering lately about Linux kernel is growing from release to release and it will probably hit 100MB in next couple of years(linux has now maybe almost 80MB and initially it was few MB). Am i right this extra bloat slows performance. I know very little about Linux Kernel so i created this topic in Newbie Corner.
There is no large software without bloat. Considering the pace and number of people involved in Linux development, it's all rainbow and pink ponies.
]]>