Re: .ko files in /boot/kernel
Malcolm Kay wrote: [ ... ] But; how much memory do you have? Your kernel is about 2Mb smaller than the one I'm using but the difference represents about 0.4% of my total memory which I suspect is almost always incompletely used. Could I ever see [any] effective difference with an "optimised kernel"? Yes, although the difference is likely to not be noticable for most tasks. However, saving memory is sort of like reducing the amount that a bicycle weighs. A difference of a few hundred grams won't be noticable most of the time compared with ~50 kg of the rider+bike, but for some trips-- particularly over the long hau;-- every little bit helps. There's more to the analogy: reducing the size of the kernel is more useful than saving memory elsewhere in much the same way that reducing the weight of bicycle tires counts more than reducing the weight of the frame. Reducing tire weight affects not just total mass but the amount of rotational interia as well. Reducing the size of the kernel rather than some random userland process (like /bin/sh) reduces the amount of wired down memory and saves KVA. -- -Chuck ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: .ko files in /boot/kernel
On Wed, 3 Sep 2003 13:33, Seamus Abshere wrote: > /boot/kernel is full of .ko files for kernel options that I did not > select. Why are they there? Are they in use? > > [/boot/kernel]#ls -l kernel > -r-xr-xr-x 1 root wheel 2317346 Jul 2 16:11 kernel > > I'm proud of this (supposedly) 2.3MB kernel, and I want to > make sure that I have actually optimized my machine and not made a > stupid mistake that does the opposite. > I don't really want to sound cynical ;) But; how much memory do you have? Your kernel is about 2Mb smaller than the one I'm using but the difference represents about 0.4% of my total memory which I suspect is almost always incompletely used. Could I ever see eany effective difference with an "optimised kernel"? And of course if I ever add anything I'd have to remember to take the time to recompile -- and as I get older remembering is not so easy! Malcolm ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: .ko files in /boot/kernel
On Wed, Sep 03, 2003 at 12:03:22AM -0400, Seamus Abshere typed: > /boot/kernel is full of .ko files for kernel options that I did not > select. Why are they there? Are they in use? You can check which modules are loaded with kldstat(8) > [/boot/kernel]#ls -l kernel > -r-xr-xr-x 1 root wheel 2317346 Jul 2 16:11 kernel > > I'm proud of this (supposedly) 2.3MB kernel, and I want to > make sure that I have actually optimized my machine and not made a > stupid mistake that does the opposite. > > Thanks again, > Seamus > > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
.ko files in /boot/kernel
/boot/kernel is full of .ko files for kernel options that I did not select. Why are they there? Are they in use? [/boot/kernel]#ls -l kernel -r-xr-xr-x 1 root wheel 2317346 Jul 2 16:11 kernel I'm proud of this (supposedly) 2.3MB kernel, and I want to make sure that I have actually optimized my machine and not made a stupid mistake that does the opposite. Thanks again, Seamus ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"