Date: Wed, 28 Apr 2004 21:24:35 -0400 From: "steve" <istartedi@cox.net> To: <freebsd-questions@freebsd.org> Subject: 5.2.1 can't allocate large ammounts of memory in the kernel Message-ID: <000001c42d88$bb664360$507f6444@henry>
next in thread | raw e-mail | index | archive | help
I have a KLD that allocates approximately 300 megs (or more) in the = kernel, mostly in 8k chunks. On 5.1 I was able to build a kernel with: options VM_KMEM_SIZE=3D(24*1024*1024) options VM_KMEM_SIZE_MAX=3D(768*1024*1024) options VM_KMEM_SIZE_SCALE=3D(1024*1024) This allowed plenty of room for both the module and some other items = that needed large amounts of kernel memory. On 5.2.1-RELEASE I get "kmem map = too small" panics after allocating only 90 megs. Has something changed? Perhaps there is something else I need to tweak? --Istartedi
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000001c42d88$bb664360$507f6444>