Trimming Initial Resource Drain in DSL

This is using the stock DSL 2.4.31 kernel, which is more bloated than my custom per-machine kernels.

Before ensuring extraneous processes aren’t started and extraneous modules aren’t loaded at boot:

Actually, that’s with ntfs and reiserfs removed from /etc/filesystems and (to make damn sure) modprobe -r for each in (DSL’s rc.local hack, made necessary by the fact /etc is ro in a live CD environment — another thing that makes it kind of quirky as a traditional hard drive install). So it was even a little higher — 15 or 16 MB — before with bash and 14 with mksh as my shell.

Now I’m only loading ext2/3-related modules along with vfat and msdos (which are small but I could also trim because I have maybe two ZIP disks that are FAT and the rest are ext2, which is my “shared” filesystem between Linux and BSD). I also have made sure reiserfs and ntfs can’t load by default or during one of hotplug-knoppix’ crazy freaking shotgun module loads. I also found a hefty module that loads by default that my hardware doesn’t require. Here’s the result a minute or so after boot and starting X (using ratpoison):

I know it’s only 4MB trimmed but that’s nearly a 50% reduction and boot time is a little faster with some of the changes I’ve made. I will update the page for DSL hard drive reconfiguration as soon as I get a chance.

Speaking of which, this might be my last DSL HD entry on this blog. I’m leaning towards setting up one frugal install for 4.x and dslcore and reclaiming a few GB. I’m deliberating over what to do with my computers and right now I think I’m either setting everything back up on BSD or a combination of BSD on the ground and Linux in the air (i.e., laptop) at least until I get another wifi card or more improvements are made to the OpenBSD bwi driver (4.4 is now beta and WPA has been added for bwi — one of my criteria). My opposition towards the bloat inflicted upon users by most binary packaging systems is leading me back to thinking ports are best for me. Using something like pkgsrc on one computer will allow me to compile and distribute as-I-see-fit packaged binaries to the rest of them.


Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: