From owner-freebsd-hardware@FreeBSD.ORG Tue Apr 10 04:37:22 2007 Return-Path: X-Original-To: freebsd-hardware@freebsd.org Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3EC1B16A401 for ; Tue, 10 Apr 2007 04:37:22 +0000 (UTC) (envelope-from biogary@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.241]) by mx1.freebsd.org (Postfix) with ESMTP id 00FEF13C455 for ; Tue, 10 Apr 2007 04:37:21 +0000 (UTC) (envelope-from biogary@gmail.com) Received: by an-out-0708.google.com with SMTP id c24so1885608ana for ; Mon, 09 Apr 2007 21:37:21 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=e43Ehrr9pKF+Kw/Lbzt1s8uIT5FfBS4fF9MhifSaRBONxhTmiOeDZpbyyqFvNgEuI9FRoiyiQz7IXXQlkgkOIwcoGYhI5c5wPQbJAxLtP87W/9H2mB1Hnecc5/k9PxFpBxppE1YUOls6Ik6Rw4mpfmMZXw0LiYm+ZcHLomDqSpA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=ANwsGy8KY6W8SMFRRBVdLF9+Ke18S+aIKOH2WroXvvoixtoxOxL7yRQEF2SdaVsIXLieu/Mxkrr/qc/2gk9zQrOUTKUHk6cUm8Z/6sj9NEVo8L8QW1uNd9Ax6YidSxCB3eUyLYlVHLWyFId3P5YcbKhCVd4SEc4Kl/e7ouSf45Q= Received: by 10.100.34.16 with SMTP id h16mr4570140anh.1176179841295; Mon, 09 Apr 2007 21:37:21 -0700 (PDT) Received: by 10.100.31.17 with HTTP; Mon, 9 Apr 2007 21:37:21 -0700 (PDT) Message-ID: <224a745a0704092137h67f5f463w6b355535a6b8415f@mail.gmail.com> Date: Tue, 10 Apr 2007 12:37:21 +0800 From: "Tzu-Hua Wang" To: freebsd-hardware@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: the performance of SAS is not better than SCSI in FreeBSD, WHY? X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: thwang@mail.nhcue.edu.tw List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Apr 2007 04:37:22 -0000 Dear All: I have bought the HP ProLiant DL380 G5 (SAS HD and RAID Controller) By using "diskinfo -t", the information of HD performace is: ========================================================= /dev/da1 512 # sectorsize 146778685440 # mediasize in bytes (137G) 286677120 # mediasize in sectors 35132 # Cylinders according to firmware. 255 # Heads according to firmware. 32 # Sectors according to firmware. Seek times: Full stroke: 250 iter in 2.578974 sec = 10.316 msec Half stroke: 250 iter in 2.099233 sec = 8.397 msec Quarter stroke: 500 iter in 2.277551 sec = 4.555 msec Short forward: 400 iter in 2.018527 sec = 5.046 msec Short backward: 400 iter in 2.636941 sec = 6.592 msec Seq outer: 2048 iter in 2.052169 sec = 1.002 msec Seq inner: 2048 iter in 2.052077 sec = 1.002 msec Transfer rates: outside: 102400 kbytes in 2.547162 sec = 40202 kbytes/sec middle: 102400 kbytes in 3.151423 sec = 32493 kbytes/sec inside: 102400 kbytes in 3.342559 sec = 30635 kbytes/sec ========================================================= I have an old server, only SCSI HD and RAID Controller. By using "diskinfo -t", the information of HD performace is: ========================================================= /dev/da0 512 # sectorsize 73543163904 # mediasize in bytes (68G) 143638992 # mediasize in sectors 8941 # Cylinders according to firmware. 255 # Heads according to firmware. 63 # Sectors according to firmware. Seek times: Full stroke: 250 iter in 2.968575 sec = 11.874 msec Half stroke: 250 iter in 2.218879 sec = 8.876 msec Quarter stroke: 500 iter in 3.569766 sec = 7.140 msec Short forward: 400 iter in 1.798317 sec = 4.496 msec Short backward: 400 iter in 1.872876 sec = 4.682 msec Seq outer: 2048 iter in 0.258105 sec = 0.126 msec Seq inner: 2048 iter in 0.458751 sec = 0.224 msec Transfer rates: outside: 102400 kbytes in 1.181019 sec = 86705 kbytes/sec middle: 102400 kbytes in 1.405735 sec = 72844 kbytes/sec inside: 102400 kbytes in 2.100786 sec = 48744 kbytes/sec ========================================================== Generally, the performace of SAS in FreeBSD is far worse than SCSI in FreeBSD. Is it normal? How can I do to improve the performance of SAS HD in FreeBSD? Thank you