aboutsummaryrefslogtreecommitdiffstats
path: root/misc/buffer/pkg-descr
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>1995-11-18 03:03:48 +0800
committermarkm <markm@FreeBSD.org>1995-11-18 03:03:48 +0800
commit51b2feae754ef3e326b2221cf7fc567ec86dc7e6 (patch)
treed82b53e74be40e8b6d6f2be79a4cc71aceea6b51 /misc/buffer/pkg-descr
parent03edb4ab58429c398661dadf92cad7601fc2eae7 (diff)
downloadfreebsd-ports-gnome-51b2feae754ef3e326b2221cf7fc567ec86dc7e6.tar.gz
freebsd-ports-gnome-51b2feae754ef3e326b2221cf7fc567ec86dc7e6.tar.zst
freebsd-ports-gnome-51b2feae754ef3e326b2221cf7fc567ec86dc7e6.zip
Add a stunningly useful utility.
if you ever nhave needed to do something like: tar cf - <big_dir> | rsh cat > /dev/tape then you will appreciate this. do something like tar cf - <big_dir> | buffer | rsh othersys "cat | buffer > /dev/tape" to enjoy HUGE increases in speed while your tape drive does not incessantly back/forth/stop/start.
Diffstat (limited to 'misc/buffer/pkg-descr')
-rw-r--r--misc/buffer/pkg-descr27
1 files changed, 27 insertions, 0 deletions
diff --git a/misc/buffer/pkg-descr b/misc/buffer/pkg-descr
new file mode 100644
index 000000000000..c5c68ac64335
--- /dev/null
+++ b/misc/buffer/pkg-descr
@@ -0,0 +1,27 @@
+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, 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