From owner-freebsd-sparc64@FreeBSD.ORG Wed Sep 9 18:45:06 2009 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 876571065728 for ; Wed, 9 Sep 2009 18:45:06 +0000 (UTC) (envelope-from marius@alchemy.franken.de) Received: from alchemy.franken.de (alchemy.franken.de [194.94.249.214]) by mx1.freebsd.org (Postfix) with ESMTP id 1A4AA8FC14 for ; Wed, 9 Sep 2009 18:45:05 +0000 (UTC) Received: from alchemy.franken.de (localhost [127.0.0.1]) by alchemy.franken.de (8.14.3/8.14.3/ALCHEMY.FRANKEN.DE) with ESMTP id n89Ij430021600; Wed, 9 Sep 2009 20:45:04 +0200 (CEST) (envelope-from marius@alchemy.franken.de) Received: (from marius@localhost) by alchemy.franken.de (8.14.3/8.14.3/Submit) id n89Ij4Yo021599; Wed, 9 Sep 2009 20:45:04 +0200 (CEST) (envelope-from marius) Date: Wed, 9 Sep 2009 20:45:04 +0200 From: Marius Strobl To: R J Message-ID: <20090909184504.GD57060@alchemy.franken.de> References: <20090906182156.GA66161@alchemy.franken.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: freebsd-sparc64@freebsd.org Subject: Re: sata pci cards in ultra 60 or blade 1000 (Update) X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Sep 2009 18:45:06 -0000 On Tue, Sep 08, 2009 at 07:30:53PM -0500, R J wrote: > Marius, > > I would like to say that thanks for fixing the ata-marvell driver for the > SuperMicro Sata card on sparc64, atleast the blade 1000. Your patch has > enabled the card to detect the disk drive and complete booting. Not only > that, I was able to go all the way and create a new partition on the disk, > newfs it, and mount it. I was able to copy 1.6gigs of data onto the > partition, and was able to copy data from the partition to another > directory within the same partition at a tune of about 40MB/s. > > Before that patch, the system was not able to complete booting. > > Out of curiosity, ofcourse, what does the patch do? Does it basically > disable 64-bit and dma for the driver on sparc64? It does no such things, it just fixes some sloppy programming (see my last email for a description of the problems) which caused the driver to only have a chance of working on x86 but AFAICT not on any of the other architectures supported by FreeBSD. > This is a PCI-X 133mhz > card. It would be a dream to get half the band-width as it is in a 66mhz > pci slot. > > Thanks, Robert. > > NOTE: > > Here's a brief output from stock iostat: note the numbers for ad0. > I admit that I have no experience with "benchmarking" disk I/O with iostat(8), however checking with my machines suggests that 40MB/s actually is an excellent result for copying data from a disk to itself, I don't get anywhere near that rate, not even on x86 with SATA300 gear. Marius