From owner-freebsd-hackers@FreeBSD.ORG Tue May 13 13:00:54 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9326A1065677 for ; Tue, 13 May 2008 13:00:54 +0000 (UTC) (envelope-from joerg@britannica.bec.de) Received: from www.pkgsrc-box.org (www.ostsee-abc.de [62.206.222.50]) by mx1.freebsd.org (Postfix) with ESMTP id 5ADDC8FC21 for ; Tue, 13 May 2008 13:00:54 +0000 (UTC) (envelope-from joerg@britannica.bec.de) Received: from britannica.bec.de (www.pkgsrc-box.org [127.0.0.1]) by www.pkgsrc-box.org (Postfix) with ESMTP id E7C92E506AA for ; Tue, 13 May 2008 13:00:41 +0000 (UTC) Received: by britannica.bec.de (Postfix, from userid 1000) id 2CF2416FC3; Tue, 13 May 2008 14:59:57 +0200 (CEST) Date: Tue, 13 May 2008 14:59:57 +0200 From: Joerg Sonnenberger To: freebsd-hackers@freebsd.org Message-ID: <20080513125956.GD397@britannica.bec.de> Mail-Followup-To: freebsd-hackers@freebsd.org References: <9FC19AC2-DAD8-418C-8B9C-F129DEC58CEF@gmail.com> <15336578.20080512123806@mail.ru> <200805121153.00809.jonathan+freebsd-hackers@hst.org.za> <1663320218.20080512223531@mail.ru> <20080512152430.3720683e@mbook.local> <2117635718.20080513154406@mail.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2117635718.20080513154406@mail.ru> User-Agent: Mutt/1.5.17 (2007-11-01) Subject: Re: BDB corrupt X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 May 2008 13:00:54 -0000 On Tue, May 13, 2008 at 03:44:06PM +0400, Anthony Pankov wrote: > 3. reading/writing = 60%/40% I don't know where you get those numbers from, but they feel *very* wrong from the perspective of someone who actually dealt a lot with those tools. Writing is only a very small part of the operations and typically done a single large batch. For the same reason a single reader/writer lock is perfective fine. Joerg