diff options
author | Bruce Momjian | 2000-06-02 16:33:17 +0000 |
---|---|---|
committer | Bruce Momjian | 2000-06-02 16:33:17 +0000 |
commit | a305c7d675b79d8b7716caebc2d7de5bd2aaa10a (patch) | |
tree | 0fa10b7c46b16f5364c11244c16bf97005521686 /doc/FAQ_BSDI | |
parent | cc2b5e5815aa596dbbdd288d0d178019f2d521aa (diff) |
Reverse PG_BINARY defines
Diffstat (limited to 'doc/FAQ_BSDI')
-rw-r--r-- | doc/FAQ_BSDI | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/doc/FAQ_BSDI b/doc/FAQ_BSDI new file mode 100644 index 00000000000..ff00bc321b8 --- /dev/null +++ b/doc/FAQ_BSDI @@ -0,0 +1,34 @@ +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. + +Keep in mind that shared memory is not pageable. It is locked in RAM. + +Bruce Momjian (pgman@candle.pha.pa.us) + +--------------------------------------------------------------------------- + +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. + +For those running 4.1 or later, just recompile the kernel and reboot. +For those running earlier releases, there are more steps outlined below. + +--------------------------------------------------------------------------- + +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. |