From owner-freebsd-hackers Thu Oct 7 14: 5:37 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from freja.webgiro.com (freja.webgiro.com [212.209.29.10]) by hub.freebsd.org (Postfix) with ESMTP id 6F023153EB for ; Thu, 7 Oct 1999 14:05:17 -0700 (PDT) (envelope-from abial@webgiro.com) Received: by freja.webgiro.com (Postfix, from userid 1001) id 668581925; Thu, 7 Oct 1999 23:04:37 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by freja.webgiro.com (Postfix) with ESMTP id 6590C49CF; Thu, 7 Oct 1999 23:04:37 +0200 (CEST) Date: Thu, 7 Oct 1999 23:04:37 +0200 (CEST) From: Andrzej Bialecki To: Matthew Dillon Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Non-standard FFS parameters In-Reply-To: <199910071729.KAA95735@apollo.backplane.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 7 Oct 1999, Matthew Dillon wrote: > > : > :Running bonnie on the filesystem with these parameters results in > :unkillable process sitting in getblk (it's the first phase of bonnie test > :when they use putc() to create the file). It just sits there and doesn't > :consume CPU. The OS is 3.3-R. > : > :Andrzej Bialecki > > Hmmm. It's quite possible, 3.x's getnewbuf() code is pretty nasty. I > have a solution under test for 4.x (current). There simply may not be > anything that can be done for 3.x short of porting current's getnewbuf() > code over, and doing so has been deemed too risky by DG due to all the > collateral porting that would also have to be done. I agree with that > assessment, plus it's a huge amount of work that I don't have time to do > at this late date. > > Try using a smaller block size, like 16K. If that doesn't work then just > stick with 8K I guess. The kernel's clustering code should still make it > reasonably efficient. Yeah, I guess that's the only way to do it on 3.x... But how can I speed up fsck then, since newfs will create millions of inodes I don't need which will cause fsck to run for ages... Andrzej Bialecki // WebGiro AB, Sweden (http://www.webgiro.com) // ------------------------------------------------------------------- // ------ FreeBSD: The Power to Serve. http://www.freebsd.org -------- // --- Small & Embedded FreeBSD: http://www.freebsd.org/~picobsd/ ---- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message