Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 May 2003 17:40:19 -0500
From:      "Cagle, John (ISS-Houston)" <john.cagle@hp.com>
To:        "Jake Burkholder" <jake@locore.ca>
Cc:        current@freebsd.org
Subject:   RE: 5.1 PAE testing results: 2 panics
Message-ID:  <C50AB9511EE59B49B2A503CB7AE1ABD10476C506@cceexc19.americas.cpqcorp.net>

next in thread | raw e-mail | index | archive | help
Interesting new datapoint on my PAE testing -- I built a kernel without
SMP and APIC (just the stock PAE config file) and now I _cannot_ crash
it.  Of course, it's only using one processor... :-(

Is it possible that the memory allocation algorithms aren't taking into
consideration that there may be multiple processors with SMP enabled?
Are there any large per-processor data structures that aren't being
accounted for when you have more than one processor?

Regards,
John

> -----Original Message-----
> From: Cagle, John (ISS-Houston)=20
> Sent: Friday, May 23, 2003 10:03 AM
> To: Jake Burkholder
> Cc: current@freebsd.org
> Subject: RE: 5.1 PAE testing results: 2 panics
>=20
> > -----Original Message-----
> > From: Jake Burkholder [mailto:jake@locore.ca]
> > >  panic: kmem_malloc(4096): kmem_map too small: 96624640 total
> > > allocated
> > >=20
> > > I tried lowering kern.maxvnodes from 536130 (default) to
> > 200000, but
> > > that did not alleviate the panic.
> >=20
> > Can you try reducing this by half again to 100,000 and see if
> > that helps things?  Increasing the amount of available kva=20
> > with options KVA_PAGES may also work, but finding the right=20
> > limits for vnodes is a better solution.  Note that the values=20
> > for KVA_PAGES are doubled with PAE, eg 512 gives you the=20
> > standard 3G user/1G kernel split.
>=20
> I have gone as low as 10,000 for kern.maxvnodes, and it still=20
> Panics with "kmem_map too small".  How low should I go?
>=20
> I also built a kernel with KVA_PAGES set to 512 and it=20
> paniced the same way (without changing kern.maxvnodes).  When=20
> I also changed maxvnodes to 100,000, then the system hung=20
> instead of panicing...
>=20
> Anything else I can try?  Keep in mind I'm running SMP. =20
> Should I try it with a UP kernel?
>=20
> Thanks,
> John
> --------------------------------
> John Cagle     john.cagle@hp.com
> Principal Member Technical Staff
>    Industry Standard Servers
>     Hewlett-Packard Company=20



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C50AB9511EE59B49B2A503CB7AE1ABD10476C506>