Subject: Re: Some kernel profiling on a 5000/133 with -current
To: port-pmax <port-pmax@netbsd.org>
From: Ken Wellsch <kwellsch@tampabay.rr.com>
List: port-pmax
Date: 08/26/2001 12:12:49
With discussion about various OS releases, I thought I'd try running
some disk performance tests on the various OS releases.

I installed the official releases from scratch, from ftp.netbsd.org
using diskimage and I used bonnie-1.0, the official binary package
from ftp.netbsd.org.

This is what the newer kernels say about the hardware:

  DECstation 5000/150 (3MIN)
  total memory = 128 MB

and this is what they say about the system disk:

  rz0 at asc0 drive 0 slave 0 IBMRAID DFHSS2F9337 rev 4I4I (SCSI-2)
  rz0: 2150MB, 4390 cyl, 8 head, 125 sec, 512 bytes/sect x 4404489 sectors

or with MI:

  sd0 at scsibus0 target 0 lun 0: <IBMRAID, DFHSS2F9337, 4I4I> SCSI2
							0/direct fixed
  sd0: 2150 MB, 4390 cyl, 8 head, 125 sec, 512 bytes/sect x 4404489 sectors
  sd0: sync (200.0ns offset 15), 8-bit (5.000MB/s) transfers, tagged queueing

Someone suggested that 1.5 and beyond as glacial in speed, but I wonder
whether that may be some confusion over the significant increase in
user-land content (e.g. crypto).  It has sure consumed disk and build time.

I'm not trying to knock -current, heck, I've been using -current with
MI since the spring.  I'd like to help diagnose what is producing the
change in disk performance.

The 1.5X is from this mornings cvs just prior to Simon's switch to MI.
I made the MI switch by hand to 1.5X GENERIC for the measurement below.

Here is my summary table:

              -------Sequential Output-------- ---Sequential Input-- --Random--
              -Per Char- --Block--- -Rewrite-- -Per Char- --Block--- --Seeks---
OS Vers    MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU  /sec %CPU
1.3.3     500  1920 98.4  2403 30.4  1263 20.3  1952 99.7  3248 32.0  70.1  8.6
1.4       500  1959 98.5  2311 32.4  1240 21.9  2241 99.2  3225 32.6  66.1  8.5
1.4.1     500  1985 98.5  2300 30.3  1239 20.7  2250 99.3  3226 32.3  68.4  8.3
1.4.2     500  2001 98.3  2453 31.8  1273 20.1  2275 99.4  3248 31.0  69.9  8.4
1.4.3     500  1993 98.4  2453 32.3  1263 20.5  2264 99.3  3220 31.7  69.8  8.3
1.5       500  1975 98.0  2322 34.9  1241 23.1  2077 97.9  3185 36.0  54.6  6.4
1.5.1     500  1903 98.2  2322 36.4  1235 24.2  2024 99.5  3193 37.6  55.9  7.4
1.5V      500  1254 95.7  2138 93.7  1197 33.0  1622 89.2  2727 48.5  66.8 15.5
1.5X-MD   500  1257 95.7  2121 93.7  1179 33.4  1635 89.6  2738 48.9  64.1 15.1
1.5X-MI   500  1229 95.7  1996 93.8  1168 36.2  1613 89.6  2633 50.6  64.0 16.0