From owner-freebsd-current@FreeBSD.ORG Wed Mar 30 09:52:48 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 345F116A4CE for ; Wed, 30 Mar 2005 09:52:48 +0000 (GMT) Received: from www.portaone.com (support.portaone.com [195.70.151.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2B1F143D41 for ; Wed, 30 Mar 2005 09:52:47 +0000 (GMT) (envelope-from sobomax@portaone.com) Received: from [192.168.1.26] (SIRIUS-ats227-UTC.ukrtel.net [195.5.25.154]) (authenticated bits=0) by www.portaone.com (8.12.11/8.12.11) with ESMTP id j2U9qiA7059150 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 30 Mar 2005 11:52:45 +0200 (CEST) (envelope-from sobomax@portaone.com) Message-ID: <424A76E9.1060202@portaone.com> Date: Wed, 30 Mar 2005 12:52:41 +0300 From: Maxim Sobolev Organization: Porta Software Ltd User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Andrey Koklin References: <20050330133031.56c27ce3.aka@veco.ru> In-Reply-To: <20050330133031.56c27ce3.aka@veco.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV version 0.83, clamav-milter version 0.83 on www.portaone.com X-Virus-Status: Clean cc: freebsd-current@FreeBSD.ORG Subject: Re: ciss(4): speed degradation for Compaq Smart Array X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Mar 2005 09:52:48 -0000 Are you sure that in both cases /tmp is located in the same physical zone of the disk? Due to CAV (constant angular velocity) natute of modern HDDs there is drastical difference (more than 2x) in read/write speeds between data located on outer tracks and data on inner tracks. Therefore, to make a meaningful comparison you should at least mount the very same slice in every case. Even better, you need to newfs this slice before doing any tests, to avoid any interference of your results with fragmentation. -Maxim Andrey Koklin wrote: > We have several Proliants DL380 with integrated Smart Array 5i controller, > with installed FreeBSD OS versions 4.11-stable, 5.4-pre and 6.0-current. > All systems have disks configured as RAID5. > > I've noticed there is drastic difference in speed for the systems. > While I have linear transfer 45-50 Mb/s (write) and 100 Mb/s (read) > for FreeBSD 4.11, there is near two times degradation in speed > with 5.4 and 6.0. > > -- 8< ------------------------------------------------------------------ > > FreeBSD 4.11: > ciss.c,v 1.2.2.21 2005/01/21 > > # dd if=/dev/zero of=/var/tmp/4G bs=1024 count=$[4*1024*1024] > > 4294967296 bytes transferred in 107.075789 secs (40111470 bytes/sec) > > # dd if=/var/tmp/4G of=/dev/zero > > 4294967296 bytes transferred in 42.394322 secs (101309966 bytes/sec) > > > FreeBSD 5.4-pre: > ciss.c,v 1.56.2.1 2005/01/20 > > # dd if=/dev/zero of=/var/tmp/4G bs=1024 count=$[4*1024*1024] > > 4294967296 bytes transferred in 163.088095 secs (26335259 bytes/sec) > > # dd if=/var/tmp/4G of=/dev/zero > > 4294967296 bytes transferred in 79.773797 secs (53839324 bytes/sec) > > > FreeBSD 6.0: > ciss.c,v 1.60 2005/03/29 > > # dd if=/dev/zero of=/var/tmp/4G bs=1024 count=$[4*1024*1024] > > 4294967296 bytes transferred in 224.804547 secs (19105340 bytes/sec) > > # dd if=/var/tmp/4G of=/dev/zero > > 4294967296 bytes transferred in 94.839699 secs (45286598 bytes/sec) > > -- 8< ------------------------------------------------------------------ > > These are simple tests taken on running systems (tests in single user > mode are slightly different but of the same order) > > It seems, there is sensible speed penalty with driver version growing. > > Andrey > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > > >