Hi, Group!
What caused to limit the maximum of data 8Gb for amd64 architecture?
Where we may have difficulty if to increase this value to 16-20GB?
I've edited /sys/arch/amd64/include/vmparam.h for
#define MAXDSIZ ((paddr_t)16*1024*1024*1024) /* max data size */
Now system works and allows to create mfs volumes more than 8Gb
which significantly accelerates compilation.
bash-4.2# uname -a
OpenBSD obsd52x64.vm.mike-i7.kmv 5.2 GENERIC.MP#5 amd64
bash-4.2# ulimit -a
core file size (blocks, -c) unlimited
data seg size (kbytes, -d) 16777216
file size (blocks, -f) unlimited
max locked memory (kbytes, -l) 5435545
max memory size (kbytes, -m) 16303724
open files (-n) 128
pipe size (512 bytes, -p) 1
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 1310
virtual memory (kbytes, -v) 16785408
bash-4.2# vmstat
procs memory page disks traps cpu
r b w avm fre flt re pi po fr sr wd0 wd1 int sys cs us sy id
1 0 0 146460 15510508 148 0 0 0 0 0 0 0 54 287 106 0 0
100
bash-4.2# sysctl hw
hw.machine=amd64
hw.model=Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz
hw.ncpu=3
hw.byteorder=1234
hw.pagesize=4096
...
hw.physmem=17178689536
hw.usermem=17178669056
hw.ncpufound=3
hw.allowpowerdown=1
bash-4.2# dmesg | head
OpenBSD 5.2 (GENERIC.MP) #5: Fri Oct 26 02:02:48 MSK 2012
[email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 17178689536 (16382MB)
avail mem = 16699027456 (15925MB)