The FreeBSD Ports Archive

Freebsd | Contact
Welcome to FreeBSD Software


FreeBSD misc : buffer

Buffer sporadic I/O for faster tape and pipe throughput

 This is a program designed initially to speed up writing tapes on remote
tape drives, but may be used as a general pipe buffering utility.
Note: You must have SYSVSHM support in FreeBSD kernel.

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.
 




buffer history


v. 1.19
date: 2006/05/10 22:37:16;  author: edwin;  state: Exp;  lines: +0 -2
Remove USE_REINPLACE from ports starting with M

v. 1.18 date: 2005/12/13 17:33:18; author: lioux; state: Exp; lines: +15 -5 o Update to 1.19 o Add several patches from Gentoo portage CVS Approved by: maintainer (thanks jonny) Obtained from: Gentoo portage CVS
v. 1.17 date: 2004/02/06 13:11:45; author: trevor; state: Exp; lines: +1 -0 Use PLIST_FILES (bento-tested, marcus-reviewed).
v. 1.16 date: 2003/02/21 12:48:05; author: knu; state: Exp; lines: +2 -1 De-pkg-comment.
v. 1.15 date: 2000/07/07 18:44:44; author: steve; state: Exp; lines: +3 -2 Use {MASTER,PATCH}_SITE_SUBDIR instead of make's sed capabilities.
v. 1.14 date: 2000/06/17 00:14:39; author: steve; state: Exp; lines: +2 -2 Use the distfiles now on ftp.freebsd.org instead of from my home directory on freefall.
v. 1.13 date: 2000/04/14 08:45:25; author: asami; state: Exp; lines: +3 -3 Convert to PORTNAME/PORTVERSION.
v. 1.12 date: 2000/02/08 09:28:14; author: peter; state: Exp; lines: +2 -2 Change all www.freebsd.org/~user references to people.FreeBSD.org/~user, as the days of the former are numbered. Reviewed by: asami
v. 1.11 date: 1999/11/01 00:17:01; author: steve; state: Exp; lines: +4 -3 *** empty log message ***
v. 1.10 date: 1999/08/25 07:21:15; author: obrien; state: Exp; lines: +1 -1 Change Id->FreeBSD.
v. 1.9 date: 1999/05/30 02:34:05; author: steve; state: Exp; lines: +2 -2 Moved these files to the distfiles directory on my homepage.
v. 1.8 date: 1999/03/30 02:42:16; author: asami; state: Exp; lines: +7 -7 (I hope I caught this quickly enough....) CVS replace buffer that was just imported with the backup from the Attic cleanup. This should look identical to what Steve committed, except it has all the history resurrected.
v. 1.7 date: 1998/03/14 21:01:00; author: markm; state: dead; lines: +1 -1 Remove buffer. This port no longer fetches, and team is better.
v. 1.6 date: 1996/11/17 09:05:15; author: obrien; state: Exp; lines: +2 -6 Converted to MAN[1-8] Converted p5* to use MASTER_SITE_PERL_CPAN
v. 1.5 date: 1996/11/11 05:49:15; author: obrien; state: Exp; lines: +2 -2 CATEGORIES+= --> CATEGORIES= Misc variable reordering, cleaning up, etc.
v. 1.4 date: 1995/11/26 10:47:25; author: asami; state: Exp; lines: +2 -2 Change "utilities" category to "misc" in preparation for move to misc.
v. 1.3 date: 1995/11/20 13:43:45; author: asami; state: Exp; lines: +4 -1 Add markm@freebsd.org as maintainer. Hey Mark, you are never going to get a lemon meringue pie if you don't credit your work! :>
v. 1.2 date: 1995/11/17 19:09:27; author: markm; state: Exp; lines: +2 -2 Drat. Correct the fetch directory name.
v. 1.1 date: 1995/11/17 19:03:47; author: markm; state: Exp; branches: 1.1.1; Initial revision
v. 1.1.1.1 date: 1995/11/17 19:03:47; author: markm; state: Exp; lines: +0 -0 Add a stunningly useful utility. if you ever nhave needed to do something like: tar cf - | rsh cat > /dev/tape then you will appreciate this. do something like tar cf - | buffer | rsh othersys "cat | buffer > /dev/tape" to enjoy HUGE increases in speed while your tape drive does not incessantly back/forth/stop/start. ============================================================================= v. 1.19 date: 2006/05/10 22:37:16; author: edwin; state: Exp; lines: +0 -2 Remove USE_REINPLACE from ports starting with M
v. 1.18 date: 2005/12/13 17:33:18; author: lioux; state: Exp; lines: +15 -5 o Update to 1.19 o Add several patches from Gentoo portage CVS Approved by: maintainer (thanks jonny) Obtained from: Gentoo portage CVS
v. 1.17 date: 2004/02/06 13:11:45; author: trevor; state: Exp; lines: +1 -0 Use PLIST_FILES (bento-tested, marcus-reviewed).
v. 1.16 date: 2003/02/21 12:48:05; author: knu; state: Exp; lines: +2 -1 De-pkg-comment.
v. 1.15 date: 2000/07/07 18:44:44; author: steve; state: Exp; lines: +3 -2 Use {MASTER,PATCH}_SITE_SUBDIR instead of make's sed capabilities.
v. 1.14 date: 2000/06/17 00:14:39; author: steve; state: Exp; lines: +2 -2 Use the distfiles now on ftp.freebsd.org instead of from my home directory on freefall.
v. 1.13 date: 2000/04/14 08:45:25; author: asami; state: Exp; lines: +3 -3 Convert to PORTNAME/PORTVERSION.
v. 1.12 date: 2000/02/08 09:28:14; author: peter; state: Exp; lines: +2 -2 Change all www.freebsd.org/~user references to people.FreeBSD.org/~user, as the days of the former are numbered. Reviewed by: asami
v. 1.11 date: 1999/11/01 00:17:01; author: steve; state: Exp; lines: +4 -3 *** empty log message ***
v. 1.10 date: 1999/08/25 07:21:15; author: obrien; state: Exp; lines: +1 -1 Change Id->FreeBSD.
v. 1.9 date: 1999/05/30 02:34:05; author: steve; state: Exp; lines: +2 -2 Moved these files to the distfiles directory on my homepage.
v. 1.8 date: 1999/03/30 02:42:16; author: asami; state: Exp; lines: +7 -7 (I hope I caught this quickly enough....) CVS replace buffer that was just imported with the backup from the Attic cleanup. This should look identical to what Steve committed, except it has all the history resurrected.
v. 1.7 date: 1998/03/14 21:01:00; author: markm; state: dead; lines: +1 -1 Remove buffer. This port no longer fetches, and team is better.
v. 1.6 date: 1996/11/17 09:05:15; author: obrien; state: Exp; lines: +2 -6 Converted to MAN[1-8] Converted p5* to use MASTER_SITE_PERL_CPAN
v. 1.5 date: 1996/11/11 05:49:15; author: obrien; state: Exp; lines: +2 -2 CATEGORIES+= --> CATEGORIES= Misc variable reordering, cleaning up, etc.
v. 1.4 date: 1995/11/26 10:47:25; author: asami; state: Exp; lines: +2 -2 Change "utilities" category to "misc" in preparation for move to misc.
v. 1.3 date: 1995/11/20 13:43:45; author: asami; state: Exp; lines: +4 -1 Add markm@freebsd.org as maintainer. Hey Mark, you are never going to get a lemon meringue pie if you don't credit your work! :>
v. 1.2 date: 1995/11/17 19:09:27; author: markm; state: Exp; lines: +2 -2 Drat. Correct the fetch directory name.
v. 1.1 date: 1995/11/17 19:03:47; author: markm; state: Exp; branches: 1.1.1; Initial revision
v. 1.1.1.1 date: 1995/11/17 19:03:47; author: markm; state: Exp; lines: +0 -0 Add a stunningly useful utility. if you ever nhave needed to do something like: tar cf - | rsh cat > /dev/tape then you will appreciate this. do something like tar cf - | buffer | rsh othersys "cat | buffer > /dev/tape" to enjoy HUGE increases in speed while your tape drive does not incessantly back/forth/stop/start. ============================================================================= v. 1.19 date: 2006/05/10 22:37:16; author: edwin; state: Exp; lines: +0 -2 Remove USE_REINPLACE from ports starting with M
v. 1.18 date: 2005/12/13 17:33:18; author: lioux; state: Exp; lines: +15 -5 o Update to 1.19 o Add several patches from Gentoo portage CVS Approved by: maintainer (thanks jonny) Obtained from: Gentoo portage CVS
v. 1.17 date: 2004/02/06 13:11:45; author: trevor; state: Exp; lines: +1 -0 Use PLIST_FILES (bento-tested, marcus-reviewed).
v. 1.16 date: 2003/02/21 12:48:05; author: knu; state: Exp; lines: +2 -1 De-pkg-comment.
v. 1.15 date: 2000/07/07 18:44:44; author: steve; state: Exp; lines: +3 -2 Use {MASTER,PATCH}_SITE_SUBDIR instead of make's sed capabilities.
v. 1.14 date: 2000/06/17 00:14:39; author: steve; state: Exp; lines: +2 -2 Use the distfiles now on ftp.freebsd.org instead of from my home directory on freefall.
v. 1.13 date: 2000/04/14 08:45:25; author: asami; state: Exp; lines: +3 -3 Convert to PORTNAME/PORTVERSION.
v. 1.12 date: 2000/02/08 09:28:14; author: peter; state: Exp; lines: +2 -2 Change all www.freebsd.org/~user references to people.FreeBSD.org/~user, as the days of the former are numbered. Reviewed by: asami
v. 1.11 date: 1999/11/01 00:17:01; author: steve; state: Exp; lines: +4 -3 *** empty log message ***
v. 1.10 date: 1999/08/25 07:21:15; author: obrien; state: Exp; lines: +1 -1 Change Id->FreeBSD.
v. 1.9 date: 1999/05/30 02:34:05; author: steve; state: Exp; lines: +2 -2 Moved these files to the distfiles directory on my homepage.
v. 1.8 date: 1999/03/30 02:42:16; author: asami; state: Exp; lines: +7 -7 (I hope I caught this quickly enough....) CVS replace buffer that was just imported with the backup from the Attic cleanup. This should look identical to what Steve committed, except it has all the history resurrected.
v. 1.7 date: 1998/03/14 21:01:00; author: markm; state: dead; lines: +1 -1 Remove buffer. This port no longer fetches, and team is better.
v. 1.6 date: 1996/11/17 09:05:15; author: obrien; state: Exp; lines: +2 -6 Converted to MAN[1-8] Converted p5* to use MASTER_SITE_PERL_CPAN
v. 1.5 date: 1996/11/11 05:49:15; author: obrien; state: Exp; lines: +2 -2 CATEGORIES+= --> CATEGORIES= Misc variable reordering, cleaning up, etc.
v. 1.4 date: 1995/11/26 10:47:25; author: asami; state: Exp; lines: +2 -2 Change "utilities" category to "misc" in preparation for move to misc.
v. 1.3 date: 1995/11/20 13:43:45; author: asami; state: Exp; lines: +4 -1 Add markm@freebsd.org as maintainer. Hey Mark, you are never going to get a lemon meringue pie if you don't credit your work! :>
v. 1.2 date: 1995/11/17 19:09:27; author: markm; state: Exp; lines: +2 -2 Drat. Correct the fetch directory name.
v. 1.1 date: 1995/11/17 19:03:47; author: markm; state: Exp; branches: 1.1.1; Initial revision
v. 1.1.1.1 date: 1995/11/17 19:03:47; author: markm; state: Exp; lines: +0 -0 Add a stunningly useful utility. if you ever nhave needed to do something like: tar cf - | rsh cat > /dev/tape then you will appreciate this. do something like tar cf - | buffer | rsh othersys "cat | buffer > /dev/tape" to enjoy HUGE increases in speed while your tape drive does not incessantly back/forth/stop/start. =============================================================================



Main menu

FreeBSD

Program categories

Freebsd accessibility
Freebsd archivers
Freebsd astro
Freebsd audio
Freebsd benchmarks
Freebsd biology
Freebsd cad
Freebsd chinese
Freebsd comms
Freebsd converters
Freebsd databases
Freebsd deskutils
Freebsd devel
Freebsd dns
Freebsd editors
Freebsd emulators
Freebsd finance
Freebsd french
Freebsd ftp
Freebsd games
Freebsd german
Freebsd graphics
Freebsd hebrew
Freebsd hungarian
Freebsd irc
Freebsd japanese
Freebsd java
Freebsd korean
Freebsd lang
Freebsd mail
Freebsd math
Freebsd mbone
Freebsd misc
Freebsd multimedia
Freebsd net
Freebsd net-im
Freebsd net-mgmt
Freebsd net-p2p
Freebsd news
Freebsd palm
Freebsd polish
Freebsd ports-mgmt
Freebsd portuguese
Freebsd print
Freebsd russian
Freebsd science
Freebsd security
Freebsd shells
Freebsd sysutils
Freebsd textproc
Freebsd ukrainian
Freebsd vietnamese
Freebsd www
Freebsd x11
Freebsd x11-clocks
Freebsd x11-drivers
Freebsd x11-fm
Freebsd x11-fonts
Freebsd x11-servers
Freebsd x11-themes
Freebsd x11-toolkits
Freebsd x11-wm