On Thursday, August 14, 2003, at 9:08 AM, Andrew Gallatin wrote: Brian Tabone writes: Andrew, There is a limit to how much memory you can allocate in the kernel space, if I remember correctly. On top of this, kernel memory is wired, so allocating large chunks has a very negative affect on system FWIW, a large percentage of the memory in the system is being wired for OS-Bypass networking via IOMemoryDescriptors which describe userspace addresses. Is there a restriction on the amount of wired memory in the system, such that if you have a lot of user memory wired, kernel memory allocations will fail? The only limit imposed on the kernel trying to wire memory is that you cannot dip into the last N pages which comprise the reserved page pool (where N is in the dozens of pages). So, effectively, there is no limit (from a physical memory perspective). You may be having trouble allocating enough contiguous virtual space in kernel - given that you say most of the rest of memory is also wired down in the kernel. --Jim _______________________________________________ darwin-kernel mailing list | darwin-kernel@lists.apple.com Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel Do not post admin requests to the list. They will be ignored.
participants (1)
-
Jim Magee