Re: VM Question (was Re: larger kernel virtual address space)

2002-05-01 Thread Lamont Granquist
On Wed, 1 May 2002, David Schultz wrote: > Thus spake Lamont Granquist <[EMAIL PROTECTED]>: > > Does the FreeBSD VM system do O(1) or O(N) searches for gaps in a > > processes virtual memory space? > > I'm not a VM guru, but if I'm reading vm_map.c right, it's O(n) > w.r.t. the number of map ent

Re: VM Question (was Re: larger kernel virtual address space)

2002-05-01 Thread David Schultz
Thus spake Lamont Granquist <[EMAIL PROTECTED]>: > Does the FreeBSD VM system do O(1) or O(N) searches for gaps in a > processes virtual memory space? I'm not a VM guru, but if I'm reading vm_map.c right, it's O(n) w.r.t. the number of map entries. But since map entries are merged when possible,

VM Question (was Re: larger kernel virtual address space)

2002-04-30 Thread Lamont Granquist
Does the FreeBSD VM system do O(1) or O(N) searches for gaps in a processes virtual memory space? (It may not seem obvious why my question is related to the discussion below, but trust me, it is...) On Tue, 30 Apr 2002, David Schultz wrote: > Thus spake Rohit Grover <[EMAIL PROTECTED]>: > > I a

Re: larger kernel virtual address space

2002-04-30 Thread David Schultz
Thus spake Rohit Grover <[EMAIL PROTECTED]>: > I apologize for not checking the FAQs before asking the question. > >http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/advanced.html#CHANGE-KERNEL-ADDRESS-SPACE > > How large can we make the KVA? This was recently discussed in the thread ``FreeB

Re: larger kernel virtual address space

2002-04-29 Thread Rohit Grover
I apologize for not checking the FAQs before asking the question. http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/advanced.html#CHANGE-KERNEL-ADDRESS-SPACE How large can we make the KVA? _ http://www.gojuryu.com . What Karate Do

larger kernel virtual address space

2002-04-29 Thread Rohit Grover
Hello Hackers, I am running Freebsd-4.3RELEASE on a Intel 686 box with roughly 2GB of RAM. I want most of this RAM to be used for the buffer cache. I have been playing with cpu_startup() (i386/i386/machdep.c) with the intention of increasing 'nbuf' but I am limited by the size of the 'kernel_map'