Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Apr 1998 13:10:23 -0500
From:      Raul Zighelboim <rzig@verio.net>
To:        "'dg@root.com'" <dg@root.com>, Andrzej Bialecki <abial@nask.pl>
Cc:        "'David E. Cross'" <dec@phoenix.its.rpi.edu>, "'hackers@freebsd.org'" <hackers@FreeBSD.ORG>
Subject:   RE: 1 Gbyte of ram 
Message-ID:  <A03CD00C69B1D01195AB00A024ECEB167F9DCF@kaori.communique.net>

next in thread | raw e-mail | index | archive | help

So, how do I handle:

: kmem_malloc: kmem_map too small

syncing disks... panic: kmem_malloc: kmem_map too small
Automatic reboot in 15 seconds - press a key on the console to abort
Rebooting...

Thanks.


==================================================
Raul Zighelboim       		  rzig@verio.net

> -----Original Message-----
> From:	David Greenman [SMTP:dg@root.com]
> Sent:	Monday, April 20, 1998 2:31 AM
> To:	Andrzej Bialecki
> Cc:	Raul Zighelboim; 'David E. Cross'; 'hackers@freebsd.org'
> Subject:	Re: 1 Gbyte of ram 
> 
> >>    A patch is usually only required if you need to support a large
> number of
> >> TCP connections (and thus needs lots of mbuf clusters/kernel VM).
> FreeBSD
> >> 2.2.6, -stable, and -current should otherwise work out of the box
> with 1GB
> >> of RAM.
> >
> >And what with the "kmem_map too small" type errors? (I'm not getting
> them,
> >I'm just curious, because I remember this was an issue in 2.2.2
> days...).
> 
>    That is cause by the kernel malloc area being too small. The
> parameter
> that controls that is VM_KMEM_SIZE; the default is 32MB, and on
> wcarchive
> this is set to 96MB - but that may only be possible if the entire
> kernel
> virtual address space is increased (which is what the "patch" does
> that
> you're talking about). All of these values need to be carefully tuned
> as a function of the type of load they will be expected to handle.
> Someone
> needs to write a book on how to tune everything properly...
> 
> >BTW. I don't quite understand what's the problem with bounce buffers
> - can
> >they be made to work out-of-the-box with large RAMs or can't they???
> As it
> >is now (and has been for some time), the boot.flp dies on machines
> with >=
> >512MB RAM, and IMHO this shouldn't happen...
> 
>    Well, that's interesting since I installed 2.2.6 on a machine with
> 512MB
> RAM myself a couple of weeks ago and I'm pretty sure that this was
> also
> tested by Jordan prior to the release. Are your sure it doesn't
> install for
> you with 512MB of RAM?
> 
> -DG
> 
> David Greenman
> Co-founder/Principal Architect, The FreeBSD Project
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-hackers" in the body of the message

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?A03CD00C69B1D01195AB00A024ECEB167F9DCF>