./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 FreeBSD/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)


   2016-03-30 10:45:12 by Jonathan Perkin | Files touched by this commit (2)
Log message:
Use PKGMANDIR.  Add patch comment.
   2016-02-25 16:35:31 by Jonathan Perkin | Files touched by this commit (12)
Log message:
Use OPSYSVARS.
   2015-11-04 00:49:56 by Alistair G. Crooks | Files touched by this commit (330)
Log message:
Add SHA512 digests for distfiles for misc category

Problems found locating distfiles:
	Package colorls: missing distfile ls.tar.gz
	Package molden: missing distfile molden-4.6/molden4.6.tar.gz
	Package softmaker-office-demo: missing distfile ofl06trial.tgz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2013-04-07 22:49:45 by Blue Rats | Files touched by this commit (91)
Log message:
Edited DESCR in the case of:
 File too long (should be no more than 24 lines).
 Line too long (should be no more than 80 characters).
 Trailing empty lines.
 Trailing white-space.
Trucated the long files as best as possible while preserving the most info
contained in them.
   2012-10-21 00:14:05 by Joerg Sonnenberger | Files touched by this commit (3)
Log message:
Add missing prototypes.
   2012-10-08 11:57:42 by Aleksej Saushev | Files touched by this commit (239)
Log message:
Drop PKG_DESTDIR_SUPPORT setting, "user-destdir" is default these days.
   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.