From owner-freebsd-hardware@FreeBSD.ORG Thu Oct 2 02:38:05 2003 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C038C16A4BF for ; Thu, 2 Oct 2003 02:38:05 -0700 (PDT) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id AD48543FBD for ; Thu, 2 Oct 2003 02:38:02 -0700 (PDT) (envelope-from pilkis@gmx.net) Received: (qmail 6886 invoked by uid 65534); 2 Oct 2003 09:38:01 -0000 Received: from unknown (EHLO pilkishome) (62.68.63.42) by mail.gmx.net (mp023) with SMTP; 02 Oct 2003 11:38:01 +0200 X-Authenticated: #6832473 Message-ID: <051501c388c8$dfe0bc30$1e64a8c0@spotripoli.local> From: "Putinas" To: Date: Thu, 2 Oct 2003 11:38:01 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: fasttrack 100 raid0 and low write speed X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2003 09:38:05 -0000 Hi all, I have in my 4-STABLE system 2 drives in RAID 0 configuration: ATA channel 2: Master: ad4 ATA/ATAPI rev 5 Slave: no device present ATA channel 3: Master: ad6 ATA/ATAPI rev 5 Slave: no device present and following controller atapci0: port 0x9800-0x983f,0xa000-0xa003,0xa400-0xa407,0xa800-0xa803,0xb000-0xb007 mem 0xf0800000-0xf081ffff irq 9 at device 11.0 on pci2 ( only this controller is sitting on irq 9 ) and I have noticed very low write speed with samba , transfer speeds are lower then 1 mb/s, here is output from iostat tty ad2 ad4 ad6 cpu tin tout KB/t tps MB/s KB/t tps MB/s KB/t tps MB/s us ni sy in id 0 9813 0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 16 0 5 3 76 0 77 0.00 0 0.00 128.00 7 0.87 128.00 7 0.87 0 0 2 9 88 0 78 128.00 1 0.12 128.00 7 0.87 128.00 7 0.87 1 0 4 9 87 0 80 0.00 0 0.00 128.00 7 0.87 128.00 8 1.00 0 0 5 14 81 0 79 0.00 0 0.00 128.00 6 0.75 128.00 6 0.75 0 0 2 3 95 0 78 0.00 0 0.00 87.00 27 2.29 75.69 26 1.92 2 0 8 22 68 when read speed goes more then 8mb/s transfer via wire already, after playing with samba settings I found out what writing to ad2 drive which is not RAID0 part goes up to 7-8Mb/s without problem. So all my guessing about wrong samba or network tuning was wrong and I come to the point: why writes to array are so slow ? Is it "normal" or there is a way to fix this somehow ? Please reply me directly to e-mail ( if there will be any ;-) Thank you, Putinas