From owner-freebsd-current@FreeBSD.ORG Wed Mar 30 15:18:30 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 9F0D516A4CE for ; Wed, 30 Mar 2005 15:18:30 +0000 (GMT) Received: from mi.veco.ru (mail.veco.ru [195.161.146.48]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9DABF43D3F for ; Wed, 30 Mar 2005 15:18:28 +0000 (GMT) (envelope-from aka@veco.ru) Received: from [172.19.73.1] (HELO camel.veco.ru) by mi.veco.ru (CommuniGate Pro SMTP 4.2.7) with SMTP id 59388; Wed, 30 Mar 2005 19:18:25 +0400 Date: Wed, 30 Mar 2005 19:18:24 +0400 From: Andrey Koklin To: freebsd-current@FreeBSD.org Message-Id: <20050330191824.4c08acc6.aka@veco.ru> X-Mailer: Sylpheed version 1.0.0rc (GTK+ 1.2.10; i386-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: Poul-Henning Kamp cc: Maxim Sobolev Subject: ciss(4): speed degradation for Compaq Smart Array [edited] 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 15:18:30 -0000 Firstly, I'm thankful to people who had found time to answer my previous messed post privately. Indeed, I hadn't put there key information about my system configuration, as well as the tests themselves say little or nothing on real disk system performance (they used 1K blocks and didn't take into consideration disks geometry). Nevertheless, my new corrected tests still reveal the same problem with performance on new systems. Tested systems: 1. FreeBSD 4.11-STABLE #0: Thu Mar 3 15:40:34 MSK Platform: HP Proliant DL380 G3, 2 x Xeon 3.2GHz, memory 2Gb, SmartArray 5i, 5 x 18Gb Ultra3 10K HDD SMP kernel ciss driver version 1.2.2.21 2005/01/21 2. FreeBSD 5.4-PRERELEASE #16: Sun Mar 20 23:05:52 MSK Platform: HP Proliant DL380 G3, 2 x Xeon 3.2GHz, memory 2Gb, SmartArray 5i, 6 x 72Gb Ultra320 10K HDD SMP kernel ciss driver version 1.56.2.1 2005/01/20 3. FreeBSD 6.0-CURRENT #0: Tue Mar 29 15:45:56 MSD Platform: HP Proliant DL380 G2, 2 x P3 1.133GHz, memory 1Gb, SmartArray 5i, 5 x 36Gb Ultra320 10K HDD SMP kernel with stripped off debugging information ciss driver version 1.60 2005/03/29 Tests use 64k read/writes in 3 slices. Of course, there exists a fragmentation factor, but it's small enough. I've played with newly formated FS, soft-updates, sync/async modes with near the same result. -- 8< ------------------------------------------------------------------ do# uname -a FreeBSD do.veco.ru 4.11-STABLE FreeBSD 4.11-STABLE #0: Thu Mar 3 15:40:34 MSK 2005 wooler@do.veco.ru:/usr/obj/usr/src/sys/DO i386 do# BS=64k do# BC=16 do# df -lh Filesystem Size Used Avail Capacity Mounted on /dev/da0s1a 252M 45M 187M 20% / /dev/da0s1h 2.0G 24K 1.8G 0% /tmp /dev/da0s1e 2.0G 1.5G 325M 82% /usr /dev/da0s1f 30G 17G 11G 61% /var /dev/da0s1g 30G 1.5G 26G 5% /export procfs 4.0K 4.0K 0B 100% /proc do# dd if=/dev/zero of=/tmp/1Gb bs=$BS count=$[$BC*1024] 16384+0 records in 16384+0 records out 1073741824 bytes transferred in 23.826439 secs (45065140 bytes/sec) do# dd if=/dev/zero of=/var/1Gb bs=$BS count=$[$BC*1024] 16384+0 records in 16384+0 records out 1073741824 bytes transferred in 27.081948 secs (39647880 bytes/sec) do# dd if=/dev/zero of=/export/1Gb bs=$BS count=$[$BC*1024] 16384+0 records in 16384+0 records out 1073741824 bytes transferred in 22.714908 secs (47270357 bytes/sec) do# dd if=/tmp/1Gb of=/dev/null bs=$BS 16384+0 records in 16384+0 records out 1073741824 bytes transferred in 9.439599 secs (113748669 bytes/sec) do# dd if=/var/1Gb of=/dev/null bs=$BS 16384+0 records in 16384+0 records out 1073741824 bytes transferred in 9.327485 secs (115115901 bytes/sec) do# dd if=/export/1Gb of=/dev/null bs=$BS 16384+0 records in 16384+0 records out 1073741824 bytes transferred in 8.826914 secs (121644078 bytes/sec) do# rm /tmp/1Gb /var/1Gb /export/1Gb do# exit -- 8< ------------------------------------------------------------------ re:/ # uname -a FreeBSD re.veco.ru 5.4-PRERELEASE FreeBSD 5.4-PRERELEASE #16: Sun Mar 20 23:05:52 MSK 2005 root@re.veco.ru:/usr/obj/usr/src/sys/RE i386 re:/ # BS=64k re:/ # BC=16 re:/ # df -lh Filesystem Size Used Avail Capacity Mounted on /dev/da0s1a 15G 2.2G 12G 15% / devfs 1.0K 1.0K 0B 100% /dev /dev/da0s1e 124G 14G 100G 12% /var /dev/da0s1d 31G 23G 5.7G 80% /var/db/backup /dev/da0s1f 154G 87G 54G 62% /var/ftp /dev/md0 124M 66K 114M 0% /tmp devfs 1.0K 1.0K 0B 100% /var/named/dev re:/ # dd if=/dev/zero of=/1Gb bs=$BS count=$[$BC*1024] 16384+0 records in 16384+0 records out 1073741824 bytes transferred in 40.210140 secs (26703260 bytes/sec) re:/ # dd if=/dev/zero of=/var/1Gb bs=$BS count=$[$BC*1024] 16384+0 records in 16384+0 records out 1073741824 bytes transferred in 39.433364 secs (27229273 bytes/sec) re:/ # dd if=/dev/zero of=/var/ftp/1Gb bs=$BS count=$[$BC*1024] 16384+0 records in 16384+0 records out 1073741824 bytes transferred in 45.285700 secs (23710395 bytes/sec) re:/ # dd if=/1Gb of=/dev/null bs=$BS 16384+0 records in 16384+0 records out 1073741824 bytes transferred in 17.519033 secs (61290016 bytes/sec) re:/ # dd if=/var/1Gb of=/dev/null bs=$BS 16384+0 records in 16384+0 records out 1073741824 bytes transferred in 17.972094 secs (59744949 bytes/sec) re:/ # dd if=/var/ftp/1Gb of=/dev/null bs=$BS 16384+0 records in 16384+0 records out 1073741824 bytes transferred in 15.436768 secs (69557425 bytes/sec) re:/ # rm /1Gb /var/1Gb /var/ftp/1Gb re:/ # exit -- 8< ------------------------------------------------------------------ do-test# uname -a FreeBSD do-test.veco.ru 6.0-CURRENT FreeBSD 6.0-CURRENT #0: Tue Mar 29 15:45:56 MSD 2005 wooler@do-test.veco.ru:/usr/obj/usr/src/sys/ i386 do-test# BS=64k do-test# BC=16 do-test# df -lh Filesystem Size Used Avail Capacity Mounted on /dev/da0s1a 1.9G 73M 1.7G 4% / devfs 1.0K 1.0K 0B 100% /dev /dev/da0s1d 1.9G 940K 1.8G 0% /tmp /dev/da0s1e 7.7G 1.6G 5.5G 22% /usr /dev/da0s1f 87G 13G 67G 16% /var /dev/da0s1g 31G 2.0K 28G 0% /export do-test# dd if=/dev/zero of=/tmp/1Gb bs=$BS count=$[$BC*1024] 16384+0 records in 16384+0 records out 1073741824 bytes transferred in 48.079470 secs (22332647 bytes/sec) do-test# dd if=/dev/zero of=/var/1Gb bs=$BS count=$[$BC*1024] 16384+0 records in 16384+0 records out 1073741824 bytes transferred in 48.591069 secs (22097514 bytes/sec) do-test# dd if=/dev/zero of=/export/1Gb bs=$BS count=$[$BC*1024] 16384+0 records in 16384+0 records out 1073741824 bytes transferred in 48.915319 secs (21951034 bytes/sec) do-test# dd if=/tmp/1Gb of=/dev/null bs=$BS 16384+0 records in 16384+0 records out 1073741824 bytes transferred in 30.366247 secs (35359714 bytes/sec) do-test# dd if=/var/1Gb of=/dev/null bs=$BS 16384+0 records in 16384+0 records out 1073741824 bytes transferred in 29.430927 secs (36483452 bytes/sec) do-test# dd if=/export/1Gb of=/dev/null bs=$BS 16384+0 records in 16384+0 records out 1073741824 bytes transferred in 30.164319 secs (35596422 bytes/sec) do-test# rm /tmp/1Gb /var/1Gb /export/1Gb do-test# exit -- 8< ------------------------------------------------------------------ Andrey