./misc/buffer, Buffer sporadic binary I/O for faster tape use

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.17, Package name: buffer-1.17, Maintainer: pkgsrc-users

This is a program designed to speed up writing tapes on remote tape
drives. Requirements are shared memory and locks which normally
means that these are supported in your kernel.

[for Free/NetBSD, this means you MUST have a kernel with
options SYSVSHM
compiled in - markm]

Buffer has been tested under SunOS 4.0.*, SunOS 4.1.*, Solarix, HP-UX 7.0,
and Gould UTX 2.1A (sv universe).

The program splits itself into two processes. The first process reads
(and reblocks) from stdin into a shared memory buffer. The second
writes from the shared memory buffer to stdout. Doing it this way
means that the writing side effectly sits in a tight write loop and
doesn't have to wait for input. Similarly for the input side. It is
this waiting that slows down other reblocking processes, like dd.

I run an archive and need to write large chunks out to tape regularly
with an ethernet in the way. Using 'buffer' in a command like:

tar cvf - stuff | rsh somebox "buffer > /dev/rst8"

is a factor of 5 faster than the best alternative, gnu tar with its
remote tape option:

tar cvf somebox:/dev/rst8 stuff


Master sites: (Expand)

SHA1: 88201f677485880cd508430015b7ce7d9663b6e7
RMD160: c7f87873f8f74b900609ef495ebabc8596729fb8
Filesize: 16.729 KB

Version history: (Expand)


CVS history: (Expand)


   2009-06-12 21:09:39 by Roland Illig | Files touched by this commit (36)
Log message:
Removed redundant .gz suffix for man pages.
   2008-06-20 03:09:45 by Joerg Sonnenberger | Files touched by this commit (993)
Log message:
Add DESTDIR support.
   2008-05-25 16:45:18 by Matthias Scheler | Files touched by this commit (36)
Log message:
Remove me as maintainer of some package, clame ownership of a few packages.
   2008-01-04 07:24:32 by OBATA Akio | Files touched by this commit (1)
Log message:
MASTER_SITES are not available anymore, noticed by Zafer Aydogan in private mail.
Other package systems seems have version 1.19 (ex. MASTER_SITE_GENTOO).
   2007-02-22 20:27:30 by Thomas Klausner | Files touched by this commit (721)
Log message:
Whitespace cleanup, courtesy of pkglint.
Patch provided by Sergey Svishchev in private mail.
   2005-12-05 21:51:20 by Roland Illig | Files touched by this commit (1432)
Log message:
Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2 … /0034.html
   2005-11-10 18:31:48 by Joerg Sonnenberger | Files touched by this commit (2)
Log message:
Use errno from errno.h.
   2005-08-27 22:43:40 by Min Sik Kim | Files touched by this commit (2)
Log message:
Remove conflicting declaration of shmat.  This fixes PR pkg/31008.