On Thu, 11 Mar 1999, Richard Gooch wrote:
> Eric Youngdale writes:
> I agree with the principle of not bloating the kernel, but there are
> times when it really makes sense to put it into the kernel. Now, as
> far as the actual bloat is concerned, here's some numbers:
>
> Take a random module: sr_mod. It grows from 23677 bytes to 23982
> bytes. A measly 305 bytes (1%) increase.
OK, I agree. Not anything to get excited about.
> So, 6 pages of data, 8 pages of code for a grand total of 14 pages.
> On a small 16 MByte system (4096 pages), that's 0.3%. And this is a
> system with a reasonable number of drivers. A small system (like a
> router) with less RAM is going to have less devices, so the ratio will
> probably be the same.
> I actually have 192 MBytes of RAM, (49152 pages), so it's costing me
> 0.03%.
>
> Now, is that really bloat? Are we worried about a cost of 0.3% on
> small systems? I think your average system today has 32 MBytes or
> more, so the average cost is 0.2% or less.
I must admit that I find the arguments have merit. Perhaps the
most important point (which someone else made) is that on a small system
(where you would only have one or two scsi devices in the first place)
wouldn't need to use devfs at all.
-Eric
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]