diff options
author | Bruce Momjian | 2000-06-02 02:27:59 +0000 |
---|---|---|
committer | Bruce Momjian | 2000-06-02 02:27:59 +0000 |
commit | acad203c31cc7d2c80937ff5b65ff8295f71c46c (patch) | |
tree | db5a1d0af3831a0fbc75cc7bb1395d27a9592f32 /doc/README.BSDI | |
parent | bff5dce9939cdf38b4b7b9f6b1e70672d25aae3c (diff) |
Update faq's.
Diffstat (limited to 'doc/README.BSDI')
-rw-r--r-- | doc/README.BSDI | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/doc/README.BSDI b/doc/README.BSDI deleted file mode 100644 index 0392f26ee7d..00000000000 --- a/doc/README.BSDI +++ /dev/null @@ -1,31 +0,0 @@ -This outlines how to increase the number of shared memory buffers -supported by BSD/OS. By default, only 4MB of shared memory is supported -by BSDI. - -Bruce Momjian (pgman@candle.pha.pa.us) - ---------------------------------------------------------------------------- - -First, increase SHMMAXPGS by 1024 for every additional 4MB of shared -memory: - -/sys/sys/shm.h:69:#define SHMMAXPGS 1024 /* max hardware pages... - -The default setting of 1024 is for a maximum of 4MB of shared memory. - -Second, use bpatch to find the sysptsize value for the current kernel. -This is computed dynamically at bootup. - - $ bpatch -r sysptsize - 0x9 = 9 - -Next, change SYSPTSIZE to a hard-coded value. Use the bpatch value, -plus add 1 for every additional 4MB of shared memory you desire. - -/sys/i386/i386/i386_param.c:28:#define SYSPTSIZE 0 /* dynamically... - -sysptsize can not be changed by sysctl on the fly. - -This should clearly be easier to do on BSDI. I will add a BSDI FAQ for -PostgreSQL to cover this. One downside is that shared memory is not -pageable. It is locked in RAM. |