From owner-freebsd-stable@FreeBSD.ORG Thu Nov 9 12:59:39 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1B0C916A40F for ; Thu, 9 Nov 2006 12:59:39 +0000 (UTC) (envelope-from ivoras@fer.hr) Received: from lara.cc.fer.hr (lara.cc.fer.hr [161.53.72.113]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8BA8243D62 for ; Thu, 9 Nov 2006 12:59:36 +0000 (GMT) (envelope-from ivoras@fer.hr) Received: from [127.0.0.1] (localhost.cc.fer.hr [127.0.0.1]) by lara.cc.fer.hr (8.13.8/8.13.8) with ESMTP id kA9CxYeE033158; Thu, 9 Nov 2006 13:59:34 +0100 (CET) (envelope-from ivoras@fer.hr) Message-ID: <45532636.5000106@fer.hr> Date: Thu, 09 Nov 2006 13:59:34 +0100 From: Ivan Voras User-Agent: Thunderbird 1.5.0.4 (X11/20060625) MIME-Version: 1.0 To: Pete French References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: Dissapointing performance of ciss RAID 0+1 ? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Nov 2006 12:59:39 -0000 Pete French wrote: >> It would be interesting for you to track iostat (i.e. run "iostat 1") >> with and without modified vfs.read_max and see if there's a difference. > > On the file: KB/t is about 127.5 with both sizes. Rate is 39 on with > the read_max set to 8, but 115 with read_max set to 64. Ok, this might mean the time has come to increase the default value for vfs.read_max. > On the raw device: KB/t is always 128. rate is 41 with the size set to 8 > but rises to 57 with the size set to 64! How can the vfs parameters affect > access to the raw device ? Don't know. Maybe it's a statistical anomaly (burst)? >> In a similar experiment, you could watch gstat (also before and after) >> and see if it reports the difference. > > On the file: read_max=8 gives 75% busy, 42 meg/sec. 64 gives 99.7% and 120 > On the device: both sizes give the same results - 98% busy, 59 meg/second > > I am not sure this is helping my understanding! :-) That makes two of us :) I think I'll leave this thread to someone with more knowledge of VFS to explain.