Hello Community. There are 2 parameters that I would want to understand better and trace somehow: MAX_KMAPENT, and NKMEMPAGES.
notice: I have found only one source of such info: "Running and tuning OpenBSD network server in a production environment" (Oct 8, 2002) http://www.openbsd.org/papers/tuning-openbsd.ps I'll be glad to know about any additional source that I can read to understand it better. I have rebuilt kernel with following values: option NKMEMPAGES=32768 option MAX_KMAPENT=3072 MAX_KMAPENT check: # vmstat -s 6179 kernel map entries (how can it be more then 3072 ?) NKMEMPAGES check: # vmstat -m Memory resource pool statistics Name Size Requests Fail InUse Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle mbpl 256 189887305 0 1239 499 32 467 467 1 384 353 mcl2k 2048 1414599843 0 521 1857 0 1857 1857 4 3072 1590 People often write that we can find some correlation between these params and NKMEMPAGES. I can't find any correlation here, so any hints are welcome. thank you. -- Vasiliy Kiryanov

