Fast du

Albert Shih shih at math.jussieu.fr
Wed May 17 16:37:51 PDT 2006


 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


More information about the freebsd-questions mailing list