Re: panic: kmem_map too small

2002-11-21 Thread David Schultz
Thus spake Petri Helenius <[EMAIL PROTECTED]>: > >Most kernel memory is not pageable, so swap probably won't help > >you. Your `kmem_map too small' error message should report to you > >the size of the attempted allocation and the size of kmem_map. > >If the map really isn't full, I'm not sure why

Re: panic: kmem_map too small

2002-11-21 Thread Petri Helenius
David Schultz wrote: Most kernel memory is not pageable, so swap probably won't help you. Your `kmem_map too small' error message should report to you the size of the attempted allocation and the size of kmem_map. If the map really isn't full, I'm not sure why you would get this panic, unless yo

Re: panic: kmem_map too small

2002-11-21 Thread David Schultz
Thus spake Petri Helenius <[EMAIL PROTECTED]>: > > > With about 150M in use and KVA_PAGES undefined in config (default), > > > both 4.7-STABLE and 5.0-CURRENT panic (1G installed memory). > > > > Yes, the default is 256, IIRC. That corresponds to 1 GB of KVA, > > and you have only 1 GB of physical

Re: panic: kmem_map too small

2002-11-20 Thread Petri Helenius
> > With about 150M in use and KVA_PAGES undefined in config (default), > > both 4.7-STABLE and 5.0-CURRENT panic (1G installed memory). > > Yes, the default is 256, IIRC. That corresponds to 1 GB of KVA, > and you have only 1 GB of physical memory to back it. I take it > this is a very busy mach

Re: panic: kmem_map too small

2002-11-20 Thread David Schultz
Thus spake Petri Helenius <[EMAIL PROTECTED]>: > > Read LINT (or NOTES) carefully. You can't set KVA_PAGES to 1024, > > because then your kernel would take up the entire 4 GB virtual > > address space. Since the kernel must fit into 4 GB alongside > > every user process, that leaves you no room f

Re: panic: kmem_map too small

2002-11-20 Thread Petri Helenius
> > Read LINT (or NOTES) carefully. You can't set KVA_PAGES to 1024, > because then your kernel would take up the entire 4 GB virtual > address space. Since the kernel must fit into 4 GB alongside > every user process, that leaves you no room for programs. Try a > more reasonable value like 512

Re: panic: kmem_map too small

2002-11-20 Thread David Schultz
Thus spake Petri Helenius <[EMAIL PROTECTED]>: > >>I seem to get kmem_map too small panics when using large buffers with > >>bpf. Is there a tunable I should be increasing? > >> > >> > > > >Yes, increase KVA_PAGES in your kernel config. > > > > > I put in KVA_PAGES=1024 > with following results

Re: panic: kmem_map too small

2002-11-20 Thread Robert Watson
On Wed, 20 Nov 2002, Petri Helenius wrote: > David Schultz wrote: > > >Thus spake Petri Helenius <[EMAIL PROTECTED]>: > > > > > >>I seem to get kmem_map too small panics when using large buffers with > >>bpf. Is there a tunable I should be increasing? > >> > >> > > > >Yes, increase KVA_PAG

Re: panic: kmem_map too small

2002-11-20 Thread Petri Helenius
David Schultz wrote: Thus spake Petri Helenius <[EMAIL PROTECTED]>: I seem to get kmem_map too small panics when using large buffers with bpf. Is there a tunable I should be increasing? Yes, increase KVA_PAGES in your kernel config. I put in KVA_PAGES=1024 with following results on ne

Re: panic: kmem_map too small

2002-11-19 Thread David Schultz
Thus spake Petri Helenius <[EMAIL PROTECTED]>: > I seem to get kmem_map too small panics when using large buffers with > bpf. Is there a tunable I should be increasing? Yes, increase KVA_PAGES in your kernel config. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-question

panic: kmem_map too small

2002-11-19 Thread Petri Helenius
I seem to get kmem_map too small panics when using large buffers with bpf. Is there a tunable I should be increasing? Pete To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message