OpenBSD CVS

CVS log for src/usr.bin/tee/tee.c


[BACK] Up to [local] / src / usr.bin / tee

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: OPENBSD_7_2


Revision 1.14 / (download) - annotate - [select for diffs], Mon Dec 13 18:33:23 2021 UTC (2 years, 5 months ago) by cheloha
Branch: MAIN
CVS Tags: OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1
Changes since 1.13: +9 -3 lines
Diff to previous 1.13 (colored)

tee(1): increase I/O buffer size from 8KB to 64KB

64KB strikes a good balance between space and time on today's
machines.  Buffers smaller than 64KB waste more time in userspace
traveling to and from the kernel.  Buffers larger than 64KB do I/O a
bit faster, but the performance improvements rapidly diminish at a
steep memory cost.

Discussed with millert@ and deraadt@.  Positive feedback from Geoff
Steckel.

Thread: https://marc.info/?l=openbsd-tech&m=163737586414354&w=2

ok millert@ deraadt@

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.