Date: Mon, 28 Oct 2002 01:23:58 -0400 From: Ian Campbell <ian@damnit.org> To: freebsd-hackers@freebsd.org Subject: Increasing KVM Message-ID: <3DBCC9EE.8000505@damnit.org>
next in thread | raw e-mail | index | archive | help
How exactly would I go about increasing KVM? I tried bumping up KVA_PAGES from 256 to 260, but all that did was cause page faults whenever apache (or fatboy, like in this case) was started... here's the error from /var/log/messages Oct 24 14:51:12 qt20 /kernel: Oct 24 14:51:12 qt20 /kernel: Oct 24 14:51:12 qt20 /kernel: Fatal trap 12: page fault while in kernel mode Oct 24 14:51:12 qt20 /kernel: mp_lock = 00000002; cpuid = 0; lapic.id = 00000000 Oct 24 14:51:12 qt20 /kernel: fault virtual address = 0xafcaae5c Oct 24 14:51:12 qt20 /kernel: fault code = supervisor write, page not present Oct 24 14:51:12 qt20 /kernel: instruction pointer = 0x8:0xb0257d11 Oct 24 14:51:12 qt20 /kernel: stack pointer = 0x10:0xe590ee40 Oct 24 14:51:12 qt20 /kernel: frame pointer = 0x10:0xe590ee4c Oct 24 14:51:12 qt20 /kernel: code segment = base 0x0, limit 0xfffff, type 0x1b Oct 24 14:51:12 qt20 /kernel: = DPL 0, pres 1, def32 1, gran 1 Oct 24 14:51:12 qt20 /kernel: processor eflags = interrupt enabled, resume, IOPL = 0 Oct 24 14:51:12 qt20 /kernel: current process = 250 (fatboy) Oct 24 14:51:12 qt20 /kernel: interrupt mask = none <- SMP: XXX Oct 24 14:51:12 qt20 /kernel: trap number = 12 Oct 24 14:51:12 qt20 /kernel: panic: page fault Oct 24 14:51:12 qt20 /kernel: mp_lock = 00000002; cpuid = 0; lapic.id = 00000000 Oct 24 14:51:12 qt20 /kernel: boot() called on cpu#0 Oct 24 14:51:12 qt20 /kernel: Oct 24 14:51:12 qt20 /kernel: syncing disks... 15 3 I remember reading somewhere that NKPT should also be increased if you're going to fiddle with KVA_PAGES, is that true? Clearly there's something I'm not doing, I remember reading about people cranking KVA_PAGES up to 768. --Ian. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DBCC9EE.8000505>