summaryrefslogtreecommitdiff
path: root/pod
diff options
context:
space:
mode:
authorCraig A. Berry <craigberry@mac.com>2010-01-05 22:06:03 -0600
committerCraig A. Berry <craigberry@mac.com>2010-01-05 22:06:03 -0600
commitdf17c887edae24b6fb41930323837b575d27a7df (patch)
tree31fa4bdce568e844820e2fe77921626cf2e1c646 /pod
parenta1bd83cf3e00be35d6d0ee49d6ed4d1506c6cc67 (diff)
downloadperl-df17c887edae24b6fb41930323837b575d27a7df.tar.gz
Increase default pipe buffer size on VMS to 8192 on 64-bit systems.
As Charles Lane's piping code reaches its 10-year anniversary, it's time to bump up the default to something slightly more appropriate for modern systems. In addition to other benefits, this fixes test failures when a test script outputs a large amount of text on one line (e.g., t/re/reg_posixcc.t).
Diffstat (limited to 'pod')
-rw-r--r--pod/perlvms.pod17
1 files changed, 8 insertions, 9 deletions
diff --git a/pod/perlvms.pod b/pod/perlvms.pod
index dc560712d5..17175db3bd 100644
--- a/pod/perlvms.pod
+++ b/pod/perlvms.pod
@@ -348,15 +348,14 @@ argument to the C<system> operator (see below). In this case,
Perl will wait for the subprocess to complete before continuing.
The mailbox (MBX) that perl can create to communicate with a pipe
-defaults to a buffer size of 512. The default buffer size is
-adjustable via the logical name PERL_MBX_SIZE provided that the
-value falls between 128 and the SYSGEN parameter MAXBUF inclusive.
-For example, to double the MBX size from the default within
-a Perl program, use C<$ENV{'PERL_MBX_SIZE'} = 1024;> and then
-open and use pipe constructs. An alternative would be to issue
-the command:
-
- $ Define PERL_MBX_SIZE 1024
+defaults to a buffer size of 8192 on 64-bit systems, 512 on VAX. The
+default buffer size is adjustable via the logical name PERL_MBX_SIZE
+provided that the value falls between 128 and the SYSGEN parameter
+MAXBUF inclusive. For example, to set the mailbox size to 32767 use
+C<$ENV{'PERL_MBX_SIZE'} = 32767;> and then open and use pipe constructs.
+An alternative would be to issue the command:
+
+ $ Define PERL_MBX_SIZE 32767
before running your wide record pipe program. A larger value may
improve performance at the expense of the BYTLM UAF quota.