* Monolihic Kernel
@ 1998-11-09 5:00 97117071
1998-11-09 5:00 ` Richard Payne
` (2 more replies)
0 siblings, 3 replies; 9+ messages in thread
From: 97117071 @ 1998-11-09 5:00 UTC (permalink / raw)
Hi there
I just stumbled over something in the rh 5.1 manual, which said this:
With an Alpha, one cannot use modules, a 'monolithic kernel' has to be
compiled without any module support.
So far, I've used .35 with modules and didn't encounter any problems. To
be on the safe side, I recompiled the kernel, but now it's huge.
Which brings me to my second question: Does a big kernel have any other
disadvantages exept using a lot of memory? I have 128 MB Ram and so far,
that was enough, even with that big kernel.
Cheers, Tobias
mailto: roth@iamexwi.unibe.ch
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Monolihic Kernel
1998-11-09 5:00 Monolihic Kernel 97117071
1998-11-09 5:00 ` Richard Payne
@ 1998-11-09 5:00 ` Huib Verweij
1998-11-09 5:00 ` 97117071
1998-11-11 5:00 ` Michael Weber
1998-11-10 5:00 ` Doug Chapman USG
2 siblings, 2 replies; 9+ messages in thread
From: Huib Verweij @ 1998-11-09 5:00 UTC (permalink / raw)
In message <3646E90D.894EEF29@sm-philnat.unibe.ch>
97117071 <tobias.roth.1@sm-philnat.unibe.ch> wrote:
> Hi there
> Which brings me to my second question: Does a big kernel have any other
> disadvantages exept using a lot of memory? I have 128 MB Ram and so far,
> that was enough, even with that big kernel.
You are a funny person. 128MB of RAM and you're complaining about the size
of the kernel!? How big is your kernel? 64MB or something ;-)? Mine is about
588K, the default 5.2 was about 720K. That maybe a lot, but for what is does,
I'm not complaining. Maybe you have 28 devices attached to your machine...?
Oh well, people have different views on what's big and small. I think 128MB
is big and 588K is small, but who am I?
I personally do not care about this module thing. Too much hassle. I just
compile everything I need into the kernel, which is basically SCSI support,
soundcard support, serial, parallel and network support I suppose. What
more do you need? When I get a new device I just compile that into the
kernel and 15 minutes later it works. No worries!
Huib.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Monolihic Kernel
1998-11-09 5:00 Monolihic Kernel 97117071
@ 1998-11-09 5:00 ` Richard Payne
1998-11-09 5:00 ` Huib Verweij
1998-11-10 5:00 ` Doug Chapman USG
2 siblings, 0 replies; 9+ messages in thread
From: Richard Payne @ 1998-11-09 5:00 UTC (permalink / raw)
97117071 wrote in message <3646E90D.894EEF29@sm-philnat.unibe.ch>...
>Hi there
>I just stumbled over something in the rh 5.1 manual, which said this:
>
>With an Alpha, one cannot use modules, a 'monolithic kernel' has to be
>compiled without any module support.
I think that's left over from older RedHat distributions when modules didn't
work. They seem to work fine now.
>
>So far, I've used .35 with modules and didn't encounter any problems. To
>be on the safe side, I recompiled the kernel, but now it's huge.
>
>Which brings me to my second question: Does a big kernel have any other
>disadvantages exept using a lot of memory? I have 128 MB Ram and so far,
>that was enough, even with that big kernel.
Don't worry about it. Kernel are usually under 1Meg when compiled and
zipped,
You're not wasting that much memory....
>
>Cheers, Tobias
>
>mailto: roth@iamexwi.unibe.ch
>
>
>
--
Rich Payne
(Speaking for myself, not my employer)
payner at timken dot com
Looking for Alpha-Linux info?
http://www.alphalinux.org
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Monolihic Kernel
1998-11-09 5:00 ` Huib Verweij
@ 1998-11-09 5:00 ` 97117071
1998-11-16 5:00 ` Scott Wood
1998-11-11 5:00 ` Michael Weber
1 sibling, 1 reply; 9+ messages in thread
From: 97117071 @ 1998-11-09 5:00 UTC (permalink / raw)
Huib Verweij wrote:
> In message <3646E90D.894EEF29@sm-philnat.unibe.ch>
> 97117071 <tobias.roth.1@sm-philnat.unibe.ch> wrote:
>
> > Hi there
>
> > Which brings me to my second question: Does a big kernel have any other
> > disadvantages exept using a lot of memory? I have 128 MB Ram and so far,
> > that was enough, even with that big kernel.
>
> You are a funny person. 128MB of RAM and you're complaining about the size
> of the kernel!? How big is your kernel? 64MB or something ;-)? Mine is about
> 588K, the default 5.2 was about 720K. That maybe a lot, but for what is does,
> I'm not complaining. Maybe you have 28 devices attached to your machine...?
>
> Oh well, people have different views on what's big and small. I think 128MB
> is big and 588K is small, but who am I?
>
> I personally do not care about this module thing. Too much hassle. I just
> compile everything I need into the kernel, which is basically SCSI support,
> soundcard support, serial, parallel and network support I suppose. What
> more do you need? When I get a new device I just compile that into the
> kernel and 15 minutes later it works. No worries!
>
> Huib.
hmm, well, yes, I share your oppinion on what's big and what's small. If the
only disadvantage of a big kernel is the little memory it wastes, I can live
without modules. However, if the machine gets slower with a big kernel (does it?
that was my actual question), I can't live without.
cheers, Tobe
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Monolihic Kernel
1998-11-09 5:00 Monolihic Kernel 97117071
1998-11-09 5:00 ` Richard Payne
1998-11-09 5:00 ` Huib Verweij
@ 1998-11-10 5:00 ` Doug Chapman USG
1998-11-11 5:00 ` Bram Stolk
2 siblings, 1 reply; 9+ messages in thread
From: Doug Chapman USG @ 1998-11-10 5:00 UTC (permalink / raw)
97117071 wrote:
>
> Hi there
> I just stumbled over something in the rh 5.1 manual, which said this:
>
> With an Alpha, one cannot use modules, a 'monolithic kernel' has to be
> compiled without any module support.
Actually this on only a half truth. Some things can be used as
a module but some others cannot. For example nfs does not work
as a module in the 2.0.X kernels on the alpha. I think RedHat
put this in the manual to be safe.
Basically the rule of thumb I use is if you can get the module
to load it is OK. If it complains about missing symbols I just
compile it into the kernel.
> Which brings me to my second question: Does a big kernel have any other
> disadvantages exept using a lot of memory? I have 128 MB Ram and so far,
> that was enough, even with that big kernel.
As far as I know the size is the only disadvantage. With 128MB of
ram you shouldn't see any real difference. The only time I would
think it would be an issue is with 8MB or so.
The 2.1.X (soon to be 2.2.X) kernels do not have this module
problem.
- Doug
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Monolihic Kernel
1998-11-10 5:00 ` Doug Chapman USG
@ 1998-11-11 5:00 ` Bram Stolk
1998-11-13 5:00 ` Doug Chapman USG
0 siblings, 1 reply; 9+ messages in thread
From: Bram Stolk @ 1998-11-11 5:00 UTC (permalink / raw)
Doug Chapman USG wrote:
> As far as I know the size is the only disadvantage. With 128MB of
> ram you shouldn't see any real difference. The only time I would
> think it would be an issue is with 8MB or so.
Are unused portions of the kernel eligable to be swapped
to disk?
Or can only app data be swapped out?
If the former is true, then even on a 8MB machine, a larger
kernel is not much of a disadvantage.
Bram
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Monolihic Kernel
1998-11-09 5:00 ` Huib Verweij
1998-11-09 5:00 ` 97117071
@ 1998-11-11 5:00 ` Michael Weber
1 sibling, 0 replies; 9+ messages in thread
From: Michael Weber @ 1998-11-11 5:00 UTC (permalink / raw)
On Mon, 09 Nov 1998 14:25:13 +0000, Huib Verweij <hhv@cable.A2000.nl>
wrote in <aa9253a248%hhv@node102bd.A2000.nl>:
[big & small thing]
ACK
>
>I personally do not care about this module thing. Too much hassle. I just
>compile everything I need into the kernel, which is basically SCSI support,
>soundcard support, serial, parallel and network support I suppose. What
>more do you need? When I get a new device I just compile that into the
>kernel and 15 minutes later it works. No worries!
Well, try this on a AXPPCI33 and forget about 15mins recompiling the kernel
:-/ ! Anyway, ever tried to compile ip_masq_*.o _INTO_ the kernel?
Impossible! I had to use module support for this, and it works as expected
:-)!
/michael
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Monolihic Kernel
1998-11-11 5:00 ` Bram Stolk
@ 1998-11-13 5:00 ` Doug Chapman USG
0 siblings, 0 replies; 9+ messages in thread
From: Doug Chapman USG @ 1998-11-13 5:00 UTC (permalink / raw)
Bram Stolk wrote:
> Doug Chapman USG wrote:
> > As far as I know the size is the only disadvantage. With 128MB of
> > ram you shouldn't see any real difference. The only time I would
> > think it would be an issue is with 8MB or so.
>
> Are unused portions of the kernel eligable to be swapped
> to disk?
>
> Or can only app data be swapped out?
>
> If the former is true, then even on a 8MB machine, a larger
> kernel is not much of a disadvantage.
I do not think that parts of the kernel itself can be swaped out.
Some dynamically allocated memory in the kernel should be eligible
for swapping.
The reason you get a memory savings with modules is that when you
are not using a device the module gets unloaded. For example, if
you use ppp you can compile the ppp support and the serial port
driver all as modules. A few minutes after you disconnect those
modules will be automatically unloaded.
- Doug
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Monolihic Kernel
1998-11-09 5:00 ` 97117071
@ 1998-11-16 5:00 ` Scott Wood
0 siblings, 0 replies; 9+ messages in thread
From: Scott Wood @ 1998-11-16 5:00 UTC (permalink / raw)
On Mon, 09 Nov 1998 15:34:35 +0100, tobias.roth.1@sm-philnat.unibe.ch
<tobias.roth.1@sm-philnat.unibe.ch> wrote:
>hmm, well, yes, I share your oppinion on what's big and what's small.
>If the only disadvantage of a big kernel is the little memory it
>wastes, I can live without modules. However, if the machine gets
>slower with a big kernel (does it? that was my actual question), I
>can't live without.
There's no noticable difference in speed between a modular kernel and a
monolithic one; if anything, the monolithic one should be very slightly
faster. As for size, unless you compiled in things you don't need, or
have a lot of rarely used drivers, a monolithic binary wouldn't be any
bigger than a modular one with all the modules loaded.
--
Scott Wood http://darkflame.ml.org/
"In your case, a few 'find / -uid 1000 rm {} \;' are very healthy
as well... for this newsgroup, I mean..."
-s.c.sprong@student.utwente.nl on comp.unix.bsd.freebsd.misc
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~1998-11-16 5:00 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-11-09 5:00 Monolihic Kernel 97117071
1998-11-09 5:00 ` Richard Payne
1998-11-09 5:00 ` Huib Verweij
1998-11-09 5:00 ` 97117071
1998-11-16 5:00 ` Scott Wood
1998-11-11 5:00 ` Michael Weber
1998-11-10 5:00 ` Doug Chapman USG
1998-11-11 5:00 ` Bram Stolk
1998-11-13 5:00 ` Doug Chapman USG
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox