From owner-freebsd-current@FreeBSD.ORG Mon Sep 20 21:08:08 2004 Return-Path: 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 8691916A4CE for ; Mon, 20 Sep 2004 21:08:08 +0000 (GMT) Received: from hanoi.cronyx.ru (hanoi.cronyx.ru [144.206.181.53]) by mx1.FreeBSD.org (Postfix) with ESMTP id B44F243D1F for ; Mon, 20 Sep 2004 21:08:07 +0000 (GMT) (envelope-from rik@cronyx.ru) Received: (from root@localhost) by hanoi.cronyx.ru id i8KL5F9D064229 for current@freebsd.org.checked; (8.12.8/vak/2.1) Tue, 21 Sep 2004 01:05:15 +0400 (MSD) (envelope-from rik@cronyx.ru) Received: from cronyx.ru (hanoi.cronyx.ru [144.206.181.53]) by hanoi.cronyx.ru with ESMTP id i8KL3OIR064072; (8.12.8/vak/2.1) Tue, 21 Sep 2004 01:03:24 +0400 (MSD) (envelope-from rik@cronyx.ru) Message-ID: <414F43CE.9070202@cronyx.ru> Date: Tue, 21 Sep 2004 00:55:42 +0400 From: Roman Kurakin User-Agent: Mozilla/5.0 (X11; U; Linux i686; ru-RU; rv:1.2.1) Gecko/20030426 X-Accept-Language: ru-ru, en MIME-Version: 1.0 To: Scott Long References: <414560D3.10108@cronyx.ru> <20040913105133.GA85717@hub.freebsd.org> <414581FE.6060702@cronyx.ru> <4145BB0D.20905@samsco.org> In-Reply-To: <4145BB0D.20905@samsco.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: current@freebsd.org Subject: Re: Large mem disk with not very recent current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Mon, 20 Sep 2004 21:08:08 -0000 Scott Long: > Roman Kurakin wrote: > >> Kris Kennaway wrote: >> >>> On Mon, Sep 13, 2004 at 12:56:51PM +0400, Roman Kurakin wrote: >>> >>> >>>> Hi, >>>> >>>> I have the following idea/problem. I want to build world in memory. >>>> I've put in to my system 1G of memory and tried to put on it sources. >>>> But all times I've tried to do that system went to panic. I've used md >>>> with malloc type. >>>> >>>> Any ideas? >>>> >>> [...] > > What kind of panic was it? Try using swap backing instead of malloc. > Malloc will consume wired memory and will generally make life difficult > for other parts of the kernel that need memory later. Swap-backed pages > will stay in RAM until the VM needs to push them out due to memory > pressure. It works, but not like I expected. Compilation with sources and objdir on md and on harddrive takes the same time. If I didn't miss smth it tells that disk cache is very effective. rik > > > Scott > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to > "freebsd-current-unsubscribe@freebsd.org" > >