Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Sep 2002 23:00:17 -0700 (PDT)
From:      Maxim Sobolev <sobomax@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/contrib/tar/src buffer.c
Message-ID:  <200209090600.g8960HsO000954@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
sobomax     2002/09/08 23:00:17 PDT

  Modified files:
    contrib/tar/src      buffer.c 
  Log:
  In the --fast-read mode send SIGTERM to decompressor once we have extracted
  all files we have been asked for. This vastly improves performance of
  pkg_add(1), because usually it only extract +CONTENTS file in --fast-read
  mode, checks it and only then extracts full content of tarball in normal
  mode. Without this patch, it have had to decompress the tarball twice,
  effectively doubling consumed CPU time.
  
  MFC after:      1 week
  
  Revision  Changes    Path
  1.3       +10 -6     src/contrib/tar/src/buffer.c

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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