Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / misc / buffer / DESCR
blobb62749726a15060cf34c056e0df9030b20ced423
1 This is a program designed to speed up writing tapes on remote tape drives.
2 Requirements are shared memory and locks which normally means that these are
3 supported in your kernel. [for FreeBSD/NetBSD, this means you MUST have a kernel
4 with options SYSVSHM compiled in - markm]
6 Buffer has been tested under SunOS 4.0.*, SunOS 4.1.*, Solarix, HP-UX 7.0, and
7 Gould UTX 2.1A (sv universe).
9 The program splits itself into two processes. The first process reads (and
10 reblocks) from stdin into a shared memory buffer. The second writes from the
11 shared memory buffer to stdout. Doing it this way means that the writing side
12 effectly sits in a tight write loop and doesn't have to wait for input.
13 Similarly for the input side. It is this waiting that slows down other
14 reblocking processes, like dd.
16 I run an archive and need to write large chunks out to tape regularly
17 with an ethernet in the way.  Using 'buffer' in a command like:
19         tar cvf - stuff | rsh somebox "buffer > /dev/rst8"
21 is a factor of 5 faster than the best alternative, gnu tar with its
22 remote tape option:
24         tar cvf somebox:/dev/rst8 stuff