Re: bsdtar eats CPU when extracting POSIX tar archive
From: Jun Kuriyama (kuriyama_at_imgsrc.co.jp)
Date: 08/30/04
- Previous message: Ken Smith: "FreeBSD 5.3-BETA2 Available (Addendum)"
- In reply to: Tim Kientzle: "Re: bsdtar eats CPU when extracting POSIX tar archive"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 30 Aug 2004 12:29:08 +0900 To: Tim Kientzle <kientzle@freebsd.org>
At Thu, 26 Aug 2004 20:45:08 -0700,
Tim Kientzle wrote:
> >>Looks like it could be network related. I see almost
> >>5,000 calls to recvfrom. ..... Is it uid/gid lookups,
> >>perhaps? bsdtar does not (yet) do any caching of uid/gid
> >>lookups...
> >
> > Hmm, yes, this box uses NIS as client. I confirmed a lot of NIS
> > packets during extraction.
>
> I just added basic uid/gid caching in libarchive's extract
> routines. This should provide a big performance boost
> to bsdtar in situations like yours.
>
> Please try the libarchive/bsdtar that's in HEAD right
> now and let me know how that works for you.
I confirmed it in my environment and it works great! Thanks!
--
Jun Kuriyama <kuriyama@imgsrc.co.jp> // IMG SRC, Inc.
<kuriyama@FreeBSD.org> // FreeBSD Project
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
- Previous message: Ken Smith: "FreeBSD 5.3-BETA2 Available (Addendum)"
- In reply to: Tim Kientzle: "Re: bsdtar eats CPU when extracting POSIX tar archive"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|