Subject: Re: MAXBSIZE should be MAXPHYS; a yes vote!
To: None <rhealey@MR.NET>
From: Martin Cracauer <cracauer@wavehh.hanse.de>
List: current-users
Date: 11/09/1995 16:05:02
In hanse-ml.netbsd.current-users you write:


>	After cgd mentioned that MAXBIZE in sys/param.h could be set to
>	MAXPHYS rather than 16K I decided to give it a whirl. It appears
>	to have almost doubled my filesystem performance.

>	Any chance we could move this to the machine/param.h so arch's that
>	can handle it can use the proper setting for MAXBSIZE rather than
>	the slower 16K??

I found 32K to be sufficient for maximum performance on my
system. Whatever the reason to set it 16K was, maybe saving memory, it
should be reconsidered before setting this value to something
oversized.

64KB, whihc is MAXPHYS on i386, BTW, break the current i386 port
(tested with sup 19951106).

Here are some numbers, this is sup19950927:

Setting MAXBSIZE to more that 16 K and up to 57K works and gives
the following bonnie results. The machine is P90, triton, NCR 810,
older barracouda 2 GB.
              -------Sequential Output-------- ---Sequential Input----Random--
              -Per Char- --Block--- -Rewrite-- -Per Char- --Block-----Seeks---
Machine    MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU  /sec %CPU
MAXBSIZE=16K (default)
          140  1427 99.5  2806 19.6   793 10.2  1625 99.5  4573 32.9  83.6  7.0
          140  1432 99.4  2801 18.4   793  9.9  1636 99.7  4589 32.1  84.0  6.8
MAXBSIZE=32K
          140  1453 99.4  4276 26.8  1259 13.2  1659 99.7  4593 27.2  84.1  6.8
MAXBSIZE=48K
          140  1466 99.5  4215 25.6  1746 17.1  1673 99.7  4592 25.2  83.0  6.7
MAXBSIZE=56K
          140  1463 99.5  4209 25.5  1504 14.5  1679 99.5  4592 24.7  84.5  6.9
MAXBSIZE=64K
  doesn't boot, see my posting to netbsd-bugs a week ago (not a pr)

FreeBSD-951005-SNAP (no flames please :-)
          140  1383 98.8  4557 42.6  1642 18.3  1646 98.3  4595 27.7  92.5  7.9

Martin
-- 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Martin Cracauer <cracauer@wavehh.hanse.de>  - BSD User Group Hamburg, Germany 
"As far as I'm concerned,  if something is so complicated that you can't ex-"
"plain it in 10 seconds, then it's probably not worth knowing anyway"- Calvin