LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-29-2001, 10:15 AM   #1
bluecadet
Member
 
Registered: Oct 2001
Distribution: MD81 RH71
Posts: 555

Rep: Reputation: 30
how big is your kernel?


well, i've never asked one of these kinda questions before, so i'm going to now...

i've finally got to grips with comforatbly compiling kernels, and my 2.4.17 bzImage is 778kb, and i was wondering if this is bigger than most custom kernels and such. i've mad it as slim as i dared, and am pretty happy with it.

not a competition, just curious.
 
Old 12-31-2001, 12:23 AM   #2
FuriousGnu
LQ Newbie
 
Registered: Dec 2001
Location: Canada
Distribution: Red Hat 7.2
Posts: 25

Rep: Reputation: 15
I'm not really comfortable compiling a new kernel yet, so I'm still using the one my distro installed. It's 833 Kilobytes. I did compile a kernel once when I tried linux initially, but that was a pretty long time ago and with the aid of a friend. I'm willing to bet the kernel I'm using is VERY bloated. Hopefully I'll get enough skill to tackle this sort of thing in time.
 
Old 12-31-2001, 07:31 AM   #3
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 65
Five flavors of a 2.4.16, compiled rather slim, but I don't do modules; so networking, sound, filesystem support, blah blah blah is in there, all compiled specific to architecture.



P1 200

788 -rw-r--r-- 1 root root 798933 Dec 11 04:22 tenkernel

756 -rw-r--r-- 1 root root 768583 Dec 14 02:47 tenkernel2

760 -rw-r--r-- 1 root root 772042 Dec 17 21:28 tenkernel3


Dual PPro 180s
872 -rw-r--r-- 1 root root 888477 Nov 30 16:01 muthasmp

Athlon
820 -rw-r--r-- 1 root root 831955 Dec 1 07:48 Badass



Cheers,



Finegan

Last edited by finegan; 12-31-2001 at 07:37 AM.
 
Old 12-31-2001, 04:16 PM   #4
taz.devil
Senior Member
 
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261

Rep: Reputation: 45
My Slack kernel usually revolves around 780K with 2.4.16
 
Old 01-01-2002, 03:07 AM   #5
anoop_chandran
Member
 
Registered: Nov 2001
Distribution: Redhat 7.0 ,mandrake 8.0 ,Redhat 7.2
Posts: 99

Rep: Reputation: 15

if we compile as modules we can defenitely make the kernel tiny..
rather than building into induvidual modules like PPP is done , if all these r built into the kernel , will there be significant change in "performance" of the kernel ..?

which is more preferred,building as modules or the other way?

bye n thanx
 
Old 01-01-2002, 03:42 AM   #6
Robert_L
LQ Newbie
 
Registered: Jul 2001
Posts: 12

Rep: Reputation: 0
1074026 /boot/vmlinuz-2.4.13-12mdk
735752 /boot/vmlinuz-2.4.14
815132 /boot/vmlinuz-2.4.16
855254 /boot/vmlinuz-2.4.17

The first is the downloaded Mandrake kernel rpm- as you can see it is a monster. 2.4.17 is the one I use now.
I built as many modules as I could but didn't go overboard as I didn't want to get into things that would require a initrd.

So far no problems.

all the best,
Robert_L
 
Old 01-01-2002, 06:44 AM   #7
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 65
I just tried out 2.4.17; went a little berserk trying to get DRI support for my ATI and found a whole pile of new support for my POS $25 Guillemont soundcard. 4 Speakers and its so loud its making my neighbor's cat's bowels loosen. I also have all of my hardware figured out now so there's no modules, nada, all in kernel. Anyway:



876 -rw-r--r-- 1 root root 890881 Jan 1 06:38 2417BadMF



Cheers,



Finegan
 
Old 01-01-2002, 04:17 PM   #8
taz.devil
Senior Member
 
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261

Rep: Reputation: 45
Quote:
Originally posted by anoop_chandran

if we compile as modules we can defenitely make the kernel tiny..
rather than building into induvidual modules like PPP is done , if all these r built into the kernel , will there be significant change in "performance" of the kernel ..?

which is more preferred,building as modules or the other way?

bye n thanx
Well the smaller the kernel the better the performance, so yeah, building things as modules is more helpful in general than building it all into he kernel. You'll get alot more speed out of small kernels.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Big O, Big Omega, and Big Theta oulevon Programming 7 05-26-2010 08:18 AM
lilo: kernel to big i_8_tacos Slackware 5 03-31-2005 09:39 PM
Kernel too big? DragonDon Linux - Newbie 3 03-17-2004 03:16 PM
kernel is too big jogurt666 Linux - General 3 01-16-2004 04:05 AM
Kernel Compilation - Big Kernel Jamstah Slackware 2 11-13-2003 09:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration