From owner-freebsd-current@FreeBSD.ORG Wed Feb 15 03:11:51 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6218816A422 for ; Wed, 15 Feb 2006 03:11:51 +0000 (GMT) (envelope-from davidxu@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 29DFB43D45; Wed, 15 Feb 2006 03:11:51 +0000 (GMT) (envelope-from davidxu@freebsd.org) Received: from [127.0.0.1] (root@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k1F3BmTh082313; Wed, 15 Feb 2006 03:11:50 GMT (envelope-from davidxu@freebsd.org) Message-ID: <43F29BF5.4060300@freebsd.org> Date: Wed, 15 Feb 2006 11:11:49 +0800 From: David Xu User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20050928 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Dmitry Pryanishnikov References: <20060215024339.N22450@atlantis.atlantis.dp.ua> In-Reply-To: <20060215024339.N22450@atlantis.atlantis.dp.ua> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: Virtual memory consumption (both user and kernel) in modern CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Feb 2006 03:11:51 -0000 Dmitry Pryanishnikov wrote: > > > Hello! > > I've got a relatively fresh (12-Feb-2006 14:20 UTC) CURRENT on my ASUS > M5A notebook (CPU Pentium M 1.86GHz, 256 Mb memory), kernel config is: > > ftp://external.atlantis.dp.ua/FreeBSD/CURRENT/NOTEBOOK > > I have several questions regarding virtual memory use, both user-mode > and kernel. > > 1) Is it normal that virtual memory size for almost every non-kernel > process > is close to 50Mb now: > > ftp://external.atlantis.dp.ua/FreeBSD/CURRENT/top.txt > > Is it miscalculation or real growth of virtual address space? > > I believe this is the new malloc code in libc, I am seeing this on my Athlon64 machine, now it likes swap memory, in the old days, it seldom touched it. > 2) I can _trivially_ crash my box by extracting and deleting Openoffice.org > distribution: > > cd /usr/ports/editors/openoffice.org-2.0 > NOCLEANDEPENDS=yes make extract clean > > However, I can't obtain crash dump in most cases, see the picture: > > ftp://external.atlantis.dp.ua/FreeBSD/CURRENT/nodump.jpg > > Is it due to new ATA DMA dump code, or due to some other reason? > I've never seen such dump failures before. > I can not produce core on Intel 945 chipset too, south bridge is ICH7. > > 3) Once I was lucky enought to obtain a valid crash dump in this situation. > Here is the backtrace: > > ftp://external.atlantis.dp.ua/FreeBSD/CURRENT/bt > > What tunables can I use to prevent this panic? Alas tuning(7) doesn't > say anything about "mem_map too small". Is it tuning issue at all > or a bug? > > > Sincerely, Dmitry