From owner-freebsd-questions@FreeBSD.ORG Wed May 17 22:17:57 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 BC77C16A988 for ; Wed, 17 May 2006 22:17:57 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from pi.codefab.com (pi.codefab.com [199.103.21.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 66A8343D45 for ; Wed, 17 May 2006 22:17:57 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from localhost (localhost [127.0.0.1]) by pi.codefab.com (Postfix) with ESMTP id 80C9E5E7A; Wed, 17 May 2006 18:17:56 -0400 (EDT) X-Virus-Scanned: amavisd-new at codefab.com Received: from pi.codefab.com ([127.0.0.1]) by localhost (pi.codefab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id a1DJHlrnYsKN; Wed, 17 May 2006 18:17:55 -0400 (EDT) Received: from [199.103.21.238] (pan.codefab.com [199.103.21.238]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by pi.codefab.com (Postfix) with ESMTP id B9B245DD8; Wed, 17 May 2006 18:17:55 -0400 (EDT) In-Reply-To: <20060517213512.GE10915@math.jussieu.fr> References: <20060517213512.GE10915@math.jussieu.fr> Mime-Version: 1.0 (Apple Message framework v750) Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: quoted-printable From: Charles Swiger Date: Wed, 17 May 2006 18:17:54 -0400 To: shih@math.jussieu.fr X-Mailer: Apple Mail (2.750) Cc: freebsd-questions@freebsd.org Subject: Re: Fast du X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 May 2006 22:17:58 -0000 On May 17, 2006, at 5:35 PM, Albert Shih wrote: > I search some technics/command/anything can make very fast =ABdu=BB =20= > 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 =20 on that...? Otherwise, if you have to do the work against stuff on a hard drive, =20 try to do single-threaded I/O while doing these du's to avoid =20 thrashing the drive heads around more than needed. --=20 -Chuck