From owner-freebsd-stable@FreeBSD.ORG Thu Dec 4 20:48:04 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8D4761065679 for ; Thu, 4 Dec 2008 20:48:04 +0000 (UTC) (envelope-from oberman@es.net) Received: from postal1.es.net (postal1.es.net [198.128.3.205]) by mx1.freebsd.org (Postfix) with ESMTP id 7163A8FC13 for ; Thu, 4 Dec 2008 20:48:04 +0000 (UTC) (envelope-from oberman@es.net) Received: from ptavv.es.net by postal1.es.net (Postal Node 1) with ESMTP (SSL) id KGA22504; Thu, 04 Dec 2008 12:48:04 -0800 Received: from ptavv.es.net (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id EB8D34500F; Thu, 4 Dec 2008 12:48:03 -0800 (PST) To: "Alexandr Pakhomov" In-Reply-To: Your message of "Tue, 02 Dec 2008 19:33:00 +0300." Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_1228423683_68706P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Thu, 04 Dec 2008 12:48:03 -0800 From: "Kevin Oberman" Message-Id: <20081204204803.EB8D34500F@ptavv.es.net> X-Sender-IP: 198.128.4.29 X-Sender-Domain: es.net X-Recipent: ;; X-Sender: X-To_Name: Alexandr Pakhomov X-To_Domain: gmail.com X-To: "Alexandr Pakhomov" X-To_Email: pahom.rt@gmail.com X-To_Alias: pahom.rt Cc: Mike Tancsa Subject: Re: repeatable crash on RELENG7 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Dec 2008 20:48:04 -0000 --==_Exmh_1228423683_68706P Content-Type: text/plain; charset=us-ascii Content-Disposition: inline > Date: Tue, 2 Dec 2008 19:33:00 +0300 > From: "Alexandr Pakhomov" > Sender: owner-freebsd-stable@freebsd.org > > On Tue, Dec 2, 2008 at 5:12 PM, Mike Tancsa wrote: > > > At 08:38 AM 12/2/2008, Kostik Belousov wrote: > > > >> > > >> > mdconfig -a -t malloc -s 1800M > >> You cannot have ~ 2Gb of kernel memory allocated for md, at least not on > >> i386. > >> > > > > Thanks, how do I find out what the limit is on a machine ? Is it > > vm.kvm_size ? > > > > > > ---Mike > > _______________________________________________ > > freebsd-stable@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > > > > Try tune both vm.kmem_size and vm.kmem_size_max via /boot/loader.conf. They > are equal to 330M by default. Mike, Let me second Kris's suggestion. I can think of very few cases where malloc backed is in any way better than swap backed. Many people assume that swap-backed performance is better, but this is only the case if you run out of memory (and that is full memory, not kvm). md is still RAM based and very fast. The current mdconfig should be defaulting to swap-backed devices, but I don't see any indication of that in the man page, so I may be wrong. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 Key fingerprint:059B 2DDF 031C 9BA3 14A4 EADA 927D EBB3 987B 3751 --==_Exmh_1228423683_68706P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) Comment: Exmh version 2.5 06/03/2002 iD8DBQFJOEIDkn3rs5h7N1ERArVwAKCNPJ++Z0HiimFwgFuxrYluBvkzyACgmYaD 9Fp3CL23o9lKGSjugafJ0zM= =Wnyn -----END PGP SIGNATURE----- --==_Exmh_1228423683_68706P--