Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Feb 2010 16:40:03 GMT
From:      David Naylor <naylor.b.david@gmail.com>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/143732: [patch] mtree(1) does a full hierarchy walk when requested to just update structure (-u -e)
Message-ID:  <201002151640.o1FGe3gu060491@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/143732; it has been noted by GNATS.

From: David Naylor <naylor.b.david@gmail.com>
To: bug-followup@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.  



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002151640.o1FGe3gu060491>