From owner-freebsd-hackers@FreeBSD.ORG Mon May 29 05:25:13 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6925916AA8F for ; Mon, 29 May 2006 05:25:13 +0000 (UTC) (envelope-from yaron@aristo.tau.ac.il) Received: from aristo.tau.ac.il (aristold.tau.ac.il [132.66.17.76]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8B0B643D68 for ; Mon, 29 May 2006 05:25:05 +0000 (GMT) (envelope-from yaron@aristo.tau.ac.il) Received: by aristo.tau.ac.il (Postfix, from userid 20005) id D62964D60B; Mon, 29 May 2006 08:25:13 +0300 (IDT) Received: from localhost (localhost [127.0.0.1]) by aristo.tau.ac.il (Postfix) with ESMTP id 8C64D48C7F; Mon, 29 May 2006 08:25:13 +0300 (IDT) Date: Mon, 29 May 2006 08:25:12 +0300 (IDT) From: Yaron Zabary X-Sender: yaron@aristold.tau.ac.il To: soralx@cydem.org In-Reply-To: <200605282159.38315.soralx@cydem.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-hackers@freebsd.org Subject: Re: Pagedaemon and shared memory [was: Heavy system load by pagedaemon]. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 May 2006 05:25:14 -0000 On Sun, 28 May 2006 soralx@cydem.org wrote: > > > with 512Mb. The vmware guest (a Windows 2000) is allocated 256Mb. Every > > once in a while (around five times a day), the machine freezes. The clock > > on the toolbar stops counting the seconds. I have top running on a session > > from another machine(it is a second machine I can switch to using KVM) > > which also freezes (no screen refresh). Disk activity is heavy (lamp is > > on). After over 30 seconds, the machine is back to normal and everything > > works fine. The vmware process resident size goesdown from ~200Mb to > > ~100Mb. I also notices some relations to running acroread 7 with large PDF > > files (which might also need shared memory for its operation). I had the > > exact same problem on the same box when I was running FreeBSD 4.10 (which > > I attributed at first to a bad disk, which was replaced when I upgraded > > from 4.10 to 6.1). > > Isn't this normal? I noticed long time ago that paging always causes > freezes, as though there is no context switching during swapping at all. I have no problem with the paging. It just seems that the high and low watermarks are set in such a way that causes the system to freeze for a very long period. In my second letter I mentioned the fact that it took around four minutes for the system to become responsive again. My guess is that tuning the high watermark lower AND having the spread between the high and low watermarks smaller will make things better. Also, it seems that there is some issue which is related to shared memory which makes the problem worse. > > [SorAlx]ridin' VN1500-B2 > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > > +++++++++++++++++++++++++++++++++++++++++++ > This Mail Was Scanned By Mail-seCure System > at the Tel-Aviv University CC. > -- Yaron.