From owner-freebsd-hackers@FreeBSD.ORG Thu Feb 22 17:37:02 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 335AB16A402 for ; Thu, 22 Feb 2007 17:37:02 +0000 (UTC) (envelope-from zbeeble@gmail.com) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.191]) by mx1.freebsd.org (Postfix) with ESMTP id BAD5513C491 for ; Thu, 22 Feb 2007 17:37:01 +0000 (UTC) (envelope-from zbeeble@gmail.com) Received: by mu-out-0910.google.com with SMTP id g7so201897muf for ; Thu, 22 Feb 2007 09:37:00 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=MyqWd55ouj1jjo2dAU5qvHsgQoh2cwDqjLiPQjuqb8DooHQbmn67C707tBPirnMLkw4iqOhYaX6Zrul+DRLSI/GAjL8Y9+RYdhleLnpuWqZI4S5b/mweyeTb5xbur7qhWmddUyvhyserobASMtGcPZ7u72uzg4ECqv9wm/Gxpgc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=MyR8+Dcsso86PDD7Xdfx3qiIpi1JidalcDzMP51n1ToJlCmV4F2Isml4dUFyMr0eqqq5PpJb1LHBZ3wAaklQDsgcWTbAuddgz86OGjTuK7xVwdL6mu5qndUVWRBA9hylS0Vi78m74GGog6FUZhn7BewZQJ0eKayRxbCfaGYqzA4= Received: by 10.82.163.13 with SMTP id l13mr217974bue.1172165820258; Thu, 22 Feb 2007 09:37:00 -0800 (PST) Received: by 10.82.175.17 with HTTP; Thu, 22 Feb 2007 09:37:00 -0800 (PST) Message-ID: <5f67a8c40702220937h21dc6963r77637ba369549e25@mail.gmail.com> Date: Thu, 22 Feb 2007 12:37:00 -0500 From: "Zaphod Beeblebrox" To: freebsd-hackers@freebsd.org, peterjeremy@optushome.com.au, zbeeble@gmail.com In-Reply-To: <200702211113.l1LBDbQn006859@lurza.secnetix.de> MIME-Version: 1.0 References: <20070220182113.GC853@turion.vk2pj.dyndns.org> <200702211113.l1LBDbQn006859@lurza.secnetix.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Fwd: Abyssmal dump cache efficiency 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: Thu, 22 Feb 2007 17:37:02 -0000 On 2/21/07, Oliver Fromme wrote: > > Peter Jeremy wrote: > > I've found that you do get a worthwhile improvement in dump|restore > > performance by introducing a large (10's of MB) fifo between them. > > This helps reduce synchronisation between dump and restore (so that > > dump can continue to read whilst restore is busy writing a batch of > > small files and vice versa). There's a suitable port but I can't > > recall the name because I wrote my own. > > There are several. The most popular ones are probably > misc/team and misc/buffer. I can certainly vouch for that , too. I generally use "team 1m 32" (total of 32meg of buffer). Team seems to not want to buffer more than 1m per process and I think 32 is the max # of processes.