From owner-freebsd-performance@FreeBSD.ORG Tue May 3 06:45:54 2005 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A373616A4CE; Tue, 3 May 2005 06:45:54 +0000 (GMT) Received: from mxfep01.bredband.com (mxfep01.bredband.com [195.54.107.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id AC5D143D82; Tue, 3 May 2005 06:45:52 +0000 (GMT) (envelope-from martin@gneto.com) Received: from as6-1-5.kr.m.bonet.se ([83.227.181.30] [83.227.181.30]) by mxfep01.bredband.com with ESMTP <20050503064551.DYTG8970.mxfep01.bredband.com@as6-1-5.kr.m.bonet.se>; Tue, 3 May 2005 08:45:51 +0200 Received: from [192.168.10.11] (euklides.gneto.com [192.168.10.11]) by as6-1-5.kr.m.bonet.se (Postfix) with ESMTP id B4EAF67831; Tue, 3 May 2005 08:45:49 +0200 (CEST) Message-ID: <42771E1D.9070408@gneto.com> Date: Tue, 03 May 2005 08:45:49 +0200 From: Martin Nilsson User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050326) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Petri Helenius References: <19879.1115061648@critter.freebsd.dk> <20050502214208.M87351@fledge.watson.org> <42770026.80901@he.iki.fi> In-Reply-To: <42770026.80901@he.iki.fi> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: Steven Hartland cc: Poul-Henning Kamp cc: Robert Watson cc: freebsd-performance@freebsd.org cc: Eric Anderson Subject: Re: Very low disk performance on 5.x X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 May 2005 06:45:54 -0000 Petri Helenius wrote: > I noticed that changing vfs.read_max from the default 8 to 16 has a > dramatic effect on sequential read performance. Increasing it further > did not have measurable effect. Increasing MAXPHYS in sys/param.h from 128k to 1M increased sequential read thruput on my MegaRAID 1600 from 100MB/s to 190MB/s measured on 5.4 #RAID0 7*36GB MegaRAID 1600 MAXPHYS=1M t125# dd if=/dev/amrd0 of=/dev/null bs=1024k count=1024 1073741824 bytes transferred in 5.559722 secs (193128691 bytes/sec) It had no effect on bonnie so the filesystem probaby never issues block-reads that large, I'll try the above sysctl. 190MB/s is pretty good considering that the card is in a ServerWorks LE chipped P3 and that the internal datapath on the Elite 1600 is only 64-bit/33MHz. /Martin