From owner-freebsd-performance@FreeBSD.ORG Tue Oct 19 19:45:26 2004 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8B81016A4CE for ; Tue, 19 Oct 2004 19:45:26 +0000 (GMT) Received: from minerva.int.gov.br (nat.int.gov.br [200.20.196.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 79EC243D31 for ; Tue, 19 Oct 2004 19:45:10 +0000 (GMT) (envelope-from jonny@jonny.eng.br) Received: from dinf-02.int.gov.br (dinf-02 [10.0.8.17]) by minerva.int.gov.br (Postfix) with ESMTP id A6BFEBE744; Tue, 19 Oct 2004 16:45:03 -0300 (BRT) Received: from 127.0.0.1 (AVG SMTP 7.0.280 [264.11.1]); Tue, 19 Oct 2004 16:45:03 -0300 Message-ID: <41756EBF.3010008@jonny.eng.br> Date: Tue, 19 Oct 2004 16:45:03 -0300 From: =?ISO-8859-1?Q?Jo=E3o_Carlos_Mendes_Lu=EDs?= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a3) Gecko/20040817 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kristofer Pettijohn References: <20041019193501.GC78974@cybernetik.net> In-Reply-To: <20041019193501.GC78974@cybernetik.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-performance@freebsd.org Subject: Re: Disk I/O Performance X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Oct 2004 19:45:26 -0000 I'd say that you have to check which CCD chunk size is best for your needs. The manual for vinum recommends avoiding chunk sized to a power of two, which is probably the first big mistake of everybody. Try mounting with option noatime, if you haven't already. And use the largest block size possible when formatting. Last time I read about there was a limit of 16384, but I would expect better performance for large file with 64k blocks (and 8k frags). If you don't have a need for safety on the files, you could try mount async and measure if it suits better you need for performance than softupdates. Sometimes softupdates is faster, and it is always safer. Kristofer Pettijohn wrote: > Im looking for some suggestions on I/O performance. > > I'm using FreeBSD 4.10-RELEASE on a Usenet transit server running > Diablo for the transit software. > > I have 4 Seagate ST373435LC SCSI drives, 70GB each, and I am using > CCD to bind them together with RAID-0 stripes. > > I can pull in anywhere from 30-40 MB sec and push out ~ 8-15 MB/sec.. > averaging about 50 MB/sec throughput.. feeds coming in are coming > in just fine, but sending stuff back out is lagging behind.. its > falling about a half hour behind every hour. > > I've used tunefs to set the average file size to 20 MB and enabled > soft-updates, as these are generally larger binary files that just > get appended to, and then seeked later on to send the article out, > I've played with setting the stripe size from anywhere between 8MB > and 64MB, and did not see much change on performance between those. > > Maybe I'm just missing something small, but on these SCSI drives > which have 160 MB/s transfer rates, I'm expecting a bit more than > I'm getting with CCD. > > Can someone give me any pointers to look at or suggestions of things > to try?