FreeBSD 7 on old SMP server?

Oliver Fromme olli at lurza.secnetix.de
Fri Dec 21 02:24:39 PST 2007


Brian <bri at brianwhalen.net> wrote:
 > Joshua Coombs wrote:
 > > For a very short while with 6.0 I was tweaking the kernel to detect 
 > > 386s as 486s, as well as using CPU_DISABLE_CMPXCHG and having ok 
 > > luck.  I've now got a Cyrix 486DrX-2 66 installed in place of my 
 > > Am386DX-40, which supports CMPXCHG as well as ID'ing as a 486 so I 
 > > don't need to do any tweaking to stay running.
 > > 
 > > If I can get another viable 386DX box reassembled I'll see if 7 can be 
 > > pressed into functioning on it as 6 could.
 > 
 > Would that be a multiday buildworld?

I would certainly be wise to perform the buildworld on a
faster machine and only do the installworld on the slow one.
ALternatively, install directly on the slow machines disk
if you can plug it into the fast one temporarily.

By the way, I don't think that omitting -pipe helps that
much on a machine that is really low on memory.  It only
separates the preprocessor and assembly stages from the
main compilation, but it is the main compilation which is
the actual memory hog (at least with gcc 4.2) due to the
code optimization.

Of course, omitting -pipe might help a little, but don't
hold your breath.  It might help much better to reduce
the optimization level from the default -O2 to -O1 (in
addition to omitting -pipe).

Best regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M.
Handelsregister: Registergericht Muenchen, HRA 74606,  Geschäftsfuehrung:
secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün-
chen, HRB 125758,  Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart

FreeBSD-Dienstleistungen, -Produkte und mehr:  http://www.secnetix.de/bsd

"With sufficient thrust, pigs fly just fine.  However, this
is not necessarily a good idea.  It is hard to be sure where
they are going to land, and it could be dangerous sitting
under them as they fly overhead." -- RFC 1925


More information about the freebsd-stable mailing list