From owner-freebsd-questions@FreeBSD.ORG Wed May 17 23:37:51 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 09C4216A521 for ; Wed, 17 May 2006 23:37:51 +0000 (UTC) (envelope-from jas@math.jussieu.fr) Received: from shiva.jussieu.fr (shiva.jussieu.fr [134.157.0.129]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2E6FB43D46 for ; Wed, 17 May 2006 23:37:49 +0000 (GMT) (envelope-from jas@math.jussieu.fr) Received: from riemann.math.jussieu.fr (riemann.math.jussieu.fr [134.157.13.3]) by shiva.jussieu.fr (8.13.6/jtpda-5.4) with ESMTP id k4HNbmra014989 ; Thu, 18 May 2006 01:37:49 +0200 (CEST) X-Ids: 165 Received: from galois2.math.jussieu.fr (galois2.math.jussieu.fr [134.157.13.117]) by riemann.math.jussieu.fr (8.13.6/jtpda-5.4) with ESMTP id k4HNblkV003104 ; Thu, 18 May 2006 01:37:47 +0200 (CEST) Received: from galois2.math.jussieu.fr (localhost.localdomain [127.0.0.1]) by galois2.math.jussieu.fr (8.12.8/jtpda-5.4) with ESMTP id k4HNblAg021595 ; Thu, 18 May 2006 01:37:47 +0200 Received: (from jas@localhost) by galois2.math.jussieu.fr (8.12.8/8.12.8/Submit) id k4HNblYv021594; Thu, 18 May 2006 01:37:47 +0200 Date: Thu, 18 May 2006 01:37:47 +0200 From: Albert Shih To: Charles Swiger Message-ID: <20060517233747.GB17856@math.jussieu.fr> References: <20060517213512.GE10915@math.jussieu.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.6i X-Spam-Score: -1.44 () ALL_TRUSTED X-Scanned-By: MIMEDefang 2.56 on 134.157.13.3 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.7.2 (shiva.jussieu.fr [134.157.0.165]); Thu, 18 May 2006 01:37:49 +0200 (CEST) X-Antivirus: scanned by sophie at shiva.jussieu.fr X-Miltered: at shiva.jussieu.fr with ID 446BB3CC.001 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! Cc: shih@math.jussieu.fr, freebsd-questions@freebsd.org Subject: Re: Fast du X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: shih@math.jussieu.fr List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 May 2006 23:37:51 -0000 Le 17/05/2006 à 18:17:54-0400, Charles Swiger a écrit > On May 17, 2006, at 5:35 PM, Albert Shih wrote: > >I search some technics/command/anything can make very fast «du» > >especialy > >when in the file system there are lot of lot of hard-link. > > Set up a swap-based RAM disk and run your du commands against files > on that...? What ? I don't understand. I must do many time a «du» on a 2 To filesystem... I think it's pretty hard to do that on ram. > > Otherwise, if you have to do the work against stuff on a hard drive, > try to do single-threaded I/O while doing these du's to avoid > thrashing the drive heads around more than needed. OK...and how can I do that ? Maybe some documentation ? Lots of thanks. Regards. -- Albert SHIH Universite de Paris 7 (Denis DIDEROT) U.F.R. de Mathematiques. 7 ième étage, plateau D, bureau 10 Heure local/Local time: Thu May 18 01:36:02 CEST 2006