bin/143732: [patch] mtree(1) does a full hierarchy walk when requested to just update structure (-u -e)

David Naylor naylor.b.david at gmail.com
Mon Feb 15 16:40:03 UTC 2010


The following reply was made to PR bin/143732; it has been noted by GNATS.

From: David Naylor <naylor.b.david at gmail.com>
To: bug-followup at freebsd.org
Cc:  
Subject: Re: bin/143732: [patch] mtree(1) does a full hierarchy walk when requested to just update structure (-u -e)
Date: Mon, 15 Feb 2010 18:34:46 +0200

 Using my "real" world benchmark (see http://unix.derkeiler.com/Mailing-
 Lists/FreeBSD/current/2010-01/msg00453.html) I have achieved a 20% speedup 
 using the previously attached patch.  My results:
 
 # time ./ports-union-builder.sh (old mtree)
      8123.25 real      2280.53 user      6319.77 sys
 
 # time ./ports-union-builder.sh (new mtree)
      6456.11 real      2272.07 user      5778.74 sys
 
 By my estimated the hierarchical walking of mtree resulted in an additional 28 
 minutes real time and 9 minutes system time.  


More information about the freebsd-bugs mailing list