BSD Ports

misc/buffer 1.17.1p1 OpenBSD

buffer sporadic I/O for faster tape and pipe throughput

System
OpenBSD
Repository
OpenBSD ports
Maintainer
The OpenBSD ports mailing-list <[email protected]>
Categories
misc

Description

Buffer reads from standard input reblocking to the given blocksize and writes each block to standard output.

Internally, buffer is a pair of processes communicating via a large circular queue held in shared memory. This means you *must* have a kernel with

options SYSVSHM

compiled in. The reader process only has to block when the queue is full and the writer process when the queue is empty. Buffer is designed to try and keep the writer side continuously busy so that it can stream when writing to tape drives. When used to write tapes with an intervening network, buffer can result in a considerable increase in throughput.

In the other systems

SystemPortVersion
OpenBSDmisc/buffer1.17.1p1
NetBSDmisc/buffer1.17nb1

Install

Binary package:

pkg_add buffer

From the ports tree:

cd /usr/ports/misc/buffer && make install

Dependencies

Build dependencies 1

No port depends on this one.