From owner-freebsd-hardware@FreeBSD.ORG Tue May 6 20:35:15 2008 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 24FA2106567C for ; Tue, 6 May 2008 20:35:15 +0000 (UTC) (envelope-from wkk@wkk.com) Received: from home.wkk.com (ns.wkk.com [199.254.204.10]) by mx1.freebsd.org (Postfix) with ESMTP id D600B8FC18 for ; Tue, 6 May 2008 20:35:14 +0000 (UTC) (envelope-from wkk@wkk.com) Received: from [199.254.204.65] (lap1.wkk.com [199.254.204.65]) (authenticated bits=0) by home.wkk.com (8.14.1/8.14.1) with ESMTP id m46Jtn0E071413 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 6 May 2008 15:55:49 -0400 (EDT) Message-ID: <4820B7EC.5040705@wkk.com> Date: Tue, 06 May 2008 15:56:28 -0400 From: WKK User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: freebsd-hardware@freebsd.org X-My-Bounce-Check: check Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Subject: industrial computer flash performance issues X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 May 2008 20:35:15 -0000 I have a Nagasaki IPC industrial computer that has an 8 GB flash drive on a 44 pin ATA connector. I have booted FreeBSD 6.2 and 7.0 via a USB CD drive and I am getting very bad read performance. dd if=/dev/ad0 of=/dev/null bs=128k count=100 is only showing about 4MB/s. I have also tried a CF via a PCMCIA adapter and I am also seeing about the same performance. The same CF device connected with a USB adapter (/dev/da0) gets about 16MB/s so it seems like some type of ATA driver issue. >From dmesg: atapci0: port …. …. ad0: 7765MB at ata0-master PIO4 atacontrol cap ad0 shows that dma and overlap is not supported and all the features are no. Does anyone have any suggestions for improving performance?