Debian Codegraph @

README

raw
1 This is a program designed to speed up writing tapes on remote tape
2 drives. Requirements are shared memory and locks which normally
3 means that these are supported in your kernel.
4
5 Buffer has been tested under SunOS 4.0.*, SunOS 4.1.*, Solarix, HP-UX 7.0,
6 and Gould UTX 2.1A (sv universe).
7
8 The program splits itself into two processes. The first process reads
9 (and reblocks) from stdin into a shared memory buffer. The second
10 writes from the shared memory buffer to stdout. Doing it this way
11 means that the writing side effectly sits in a tight write loop and
12 doesn't have to wait for input. Similarly for the input side. It is
13 this waiting that slows down other reblocking processes, like dd.
14
15 I run an archive and need to write large chunks out to tape regularly
16 with an ethernet in the way. Using 'buffer' in a command like:
17
18 tar cvf - stuff | rsh somebox buffer -o /dev/rst8
19
20 is a factor of 5 faster than the best alternative, gnu tar with its
21 remote tape option:
22
23 tar cvf somebox:/dev/rst8 stuff
24
25 We have been using buffer here at Imperial for a couple of years now
26 for writing tar tapes and the main system dumps.
27
28 Thanks to Kevin Twidle <[email protected]> for the -p and -B code.
29 Thanks to Bard Isley <[email protected]> for fixes to the
30 read loop/SIGCHLD handling.
31 Thanks to [email protected] for the DEC Alpha patches.
32 Thanks to [email protected] (Erik L. Kargard) for the AMPEX enhancements.
33
34 INSTALLATION:
35 Check that your kernel supports shared memory and semaphores.
36 A quick way to check is to build buffer and run it.
37 If it says "couldn't create shared memory segment" you probably
38 need to reconfigure and rebuild your kernel.
39
40 To install edit the Makefile and tailor the variables to
41 your local systems. Then type make.
42
43 DISCLAIMER:
44 This package is under the GNU GENERAL PUBLIC LICENSE!
45 In addtion under NO circumstances can I, or Imperial College,
46 be held liable for any event caused by the running or storing
47 of this program or its documentation.
48
49 Lee McLoughlin. Phone: +44 171 594 8388
50 IC-Parc, William Penney Lab, Fax: +44 171 594 8449
51 Imperial College, London, SW7 2BZ, UK Email: [email protected]