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

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


Branch: CURRENT, Version: 1.17nb1, Package name: buffer-1.17nb1, 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


Required to build:
[pkgtools/cwrappers]

Master sites: (Expand)

Filesize: 16.729 KB

Version history: (Expand)


CVS history: (Expand)


   2021-10-26 12:59:39 by Nia Alarie | Files touched by this commit (378)
Log message:
misc: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

The following distfiles could not be fetched (possibly fetched
conditionally?):

./misc/libreoffice/distinfo libreoffice/harfbuzz-2.6.4.tar.xz
   2021-10-07 16:35:55 by Nia Alarie | Files touched by this commit (378)
Log message:
misc: Remove SHA1 hashes for distfiles
   2017-12-10 23:51:05 by S.P.Zeidler | Files touched by this commit (3)
Log message:
pick up CFLAGS and LDFLAGS for SSP, RELRO and friends
   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.