Subject: Re: Slow Xeon Performance
To: None <port-i386@netbsd.org>
From: Matthew Orgass <darkstar@city-net.com>
List: port-i386
Date: 08/30/2003 17:02:20
  I would bet at least the L2 CPU cache is probably diabled somehow.
With such a tiny L1 cache on the Xeon, performance would be awful even
with just the L2 gone.  The BIOS should have options to enable and disable
cache (or the CPU could be bad).  You can run heapsort to check if the
cache is off.  On my Duron 750Mhz I got (cache, no cache):

   Heap Sort C Program
   Version 1.0, 04 Oct 1992

   Size of long (bytes): 4

   Array Size    RunTime      Scale    MIPS
    (bytes)       (sec)
         8000     0.0009     0.4202  470.32
        16000     0.0019     0.9087  477.14
        32000     0.0040     1.9536  484.91
        64000     0.0085     4.1799  492.93
       128000     0.0185     8.9025  481.01
       256000     0.0502    18.8884  376.42
       512000     0.1295    39.9503  308.51
      1024000     0.3281    84.2432  256.73
      2048000     0.8654   177.1721  204.73

   Runtime is the average for 1 iteration.
   High MIPS =   492.93
   Low  MIPS =   204.73


   Heap Sort C Program
   Version 1.0, 04 Oct 1992

   Size of long (bytes): 4

   Array Size    RunTime      Scale    MIPS
    (bytes)       (sec)
         8000     0.0756     0.4202    5.56
        16000     0.1645     0.9087    5.52
        32000     0.3553     1.9536    5.50
        64000     0.7633     4.1799    5.48
       128000     1.6315     8.9025    5.46
       256000     3.4710    18.8884    5.44
       512000     7.3593    39.9503    5.43
      1024000    15.5640    84.2432    5.41
      2048000    32.7956   177.1721    5.40

   Runtime is the average for 1 iteration.
   High MIPS =     5.56
   Low  MIPS =     5.40


Matthew Orgass
darkstar@city-net.com