Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 Jul 1996 11:44:12 -0700
From:      erich@uruk.org
To:        freebsd-smp@freebsd.org
Subject:   Running SMP
Message-ID:  <199607041844.LAA11426@uruk.org>

next in thread | raw e-mail | index | archive | help

After hacking the hard-coded base address of the APIC, I tried running
some kernel compiles to see what kind of performance I was getting.

Frankly, it was pretty rotten.  Here's what I got (multiprocessor
150MHz Pentium Pro w/256K caches):

  FreeBSD SMP  1 CPU :      4:36
                -j 2 :      4:15

  FreeBSD SMP  2 CPU :      4:28
                -j 2 :      4:28

This was all compiling the SMP kernel with almost no devices.  I almost
couldn't tell the other CPU was activated, except that "sysctl" told
me in big bold letters that it was, and I kept getting kernel error
messages about "calcru: negative time: ..." and such after doing it.

Linux-SMP would give me at least a 1.5x speedup with a full kernel spinlock
and badly parallelized makefile.  What's the deal here?

--
  Erich Stefan Boleyn                 \_ E-mail (preferred):  <erich@uruk.org>
Mad Genius wanna-be, CyberMuffin        \__      (finger me for other stats)
Web:  http://www.uruk.org/~erich/     Motto: "I'll live forever or die trying"
  This is my home system, so I'm speaking only for myself, not for Intel.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199607041844.LAA11426>