Monday November 20, 2006 
I found a little more fat to trim from the midget system I described in my last post. Well actually I found quite a bit but it took me down a cul-de-sac of unbootability so here, after more experimentation are the modifications that are "safe" by which I mean, of course, totally unsupported and unsupportable by Sun but useful if you have to run Solaris on an old, memory-constrained, probably beige, system.
Such a system will never run such new-fangled protocols as Infiniband, FibreChannel and iSCSI, I don't need NFS or any of the enterprise management software. I really don't actually need SCSI or IPv6 - but you can't unbolt those.
So, for the record and so you can cherrypick your own modifications, here are the scores - memory is in 4 Kb pages: I have 63374 of these to my name:
Action |
Kernel |
Anon |
Exec/Libs |
Page Cache |
Free |
|---|---|---|---|---|---|
| Baseline (dtconfig -e) | 10398 | 22143 | 3619 | 4587 | 22627 |
| Rename webm and webconsole in rc2.d/ | 9573 | 9829 | 2572 | 2582 | 38818 |
| Rename snmpdx,dmi,initsma in rc3.d | 9505 | 8888 | 2253 | 2626 | 40102 |
| Remove services (previous blog) | 9705 | 7587 | 1904 | 2709 | 41469 |
| Exclude nfs, lofs from /etc/system, rename volmgt in /etc/rc3.d |
7975 | 7045 | 1738 | 1915 | 44647 |
| Exclude iSCSI | 7900 | 7005 | 1776 | 1896 | 44797 |
| Remove Infiniband | 7819 | 6862 | 1720 | 1880 | 45093 |
| Remove Fibrechannel | 7319 | 6969 | 1738 | 1871 | 45477 |
I'm calling it a day at this point. A more diligent man would put all this in a Jumpstart script but time is money and that would be a sign of obsession. The out of the box installation had 7% of its memory free and I've managed to take that to 71%. The kernel (which of course is not pageable) is down to 28 Mb. This old HP Brio has a new lease of life. But brio is the quality of being active or spirited or alive and vigorous - so I'm off to get a life.
( Nov 20 2006, 12:36:35 PM GMT ) Permalink Comments [1]
This is very moderate stuff :) We want a screen shot, or have you disabled stdimage?
Posted by Dave Levy on November 20, 2006 at 11:17 PM GMT #