Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Oct 2007 19:20:39 +0200
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Attila Nagy <bra@fsn.hu>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: ZFS and disk naming change (ex. da0->da4)
Message-ID:  <20071025172039.GA5172@garage.freebsd.pl>
In-Reply-To: <4720C8C5.2040909@fsn.hu>
References:  <471F5B46.9050106@fsn.hu> <20071024155723.GA1431@garage.freebsd.pl> <47208FC8.7060203@fsn.hu> <20071025151004.GA4511@garage.freebsd.pl> <4720C8C5.2040909@fsn.hu>

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

--UlVJffcvxoiEqYs2
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Oct 25, 2007 at 06:48:05PM +0200, Attila Nagy wrote:
> On 10/25/07 17:10, Pawel Jakub Dawidek wrote:
> >>panic: kmem_malloc(131072): kmem_map too small: 335319040 total allocat=
ed
> >>cpuid =3D 0
> >>Uptime: 18m22s
> >>Physical memory: 1015 MB
> >>Dumping 372 MB: 357 341 325 309 293 277 261 245 229 213 197 181 165 149=
=20
> >>133 117 101 85 69 53 37 21 5
> >>
> >>#0  doadump () at pcpu.h:195
> >>195             __asm __volatile("movl %%fs:0,%0" : "=3Dr" (td));
> >>
> >>I've tried to lower vfs.zfs.arc_max first to 32, then 16 MB, but the=20
> >>panics still occur.
> >>   =20
> >
> >Have you tried the patch I posted some weeks ago?
> >
> >	http://people.freebsd.org/~pjd/patches/vm_kern.c.2.patch
> > =20
> Umm, no, not until now.
>=20
> The result is the same:
> Unread portion of the kernel message buffer:
> panic: kmem_malloc(131072): kmem_map too small: 335331328 total allocated
> cpuid =3D 0
> Uptime: 15m25s
> Physical memory: 1015 MB
> Dumping 371 MB: 356 340 324 308 292 276 260 244 228 212 196 180 164 148=
=20
> 132 116 100 84 68 52 36 20 4
>=20
> #0  doadump () at pcpu.h:195
> 195             __asm __volatile("movl %%fs:0,%0" : "=3Dr" (td));
>=20
> This is with the default settings, so:
> vm.kmem_size_max: 335544320
> vm.kmem_size: 335544320

One more thing. Can you add:

vm.kmem_size=3D629145600
vm.kmem_size_max=3D629145600

to your /boot/loader.conf, but don't touch any other settings (ie. don't
tune maximum number of vnodes, ARC size, etc.), let ZFS to autotune
them.

--=20
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd@FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!

--UlVJffcvxoiEqYs2
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)

iD8DBQFHINBnForvXbEpPzQRAkevAJ9FnmxIrE2MjKmBNsQu0qx8Mrp75gCg0300
keyTuXHJxz+qJ1s54tqRWvE=
=pxUn
-----END PGP SIGNATURE-----

--UlVJffcvxoiEqYs2--



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