From owner-freebsd-current@FreeBSD.ORG Mon Jul 25 00:41:28 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AAE841065670 for ; Mon, 25 Jul 2011 00:41:28 +0000 (UTC) (envelope-from matthias.andree@gmx.de) Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.23]) by mx1.freebsd.org (Postfix) with SMTP id 17AD58FC12 for ; Mon, 25 Jul 2011 00:41:27 +0000 (UTC) Received: (qmail invoked by alias); 25 Jul 2011 00:14:45 -0000 Received: from g225198214.adsl.alicedsl.de (EHLO apollo.emma.line.org) [92.225.198.214] by mail.gmx.net (mp031) with SMTP; 25 Jul 2011 02:14:45 +0200 X-Authenticated: #428038 X-Provags-ID: V01U2FsdGVkX18DkB1dmF8D3ArHZ/R/JmVgBJ5ccGXIyAeI0fD0va IopFNPOKCqJz8d Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by apollo.emma.line.org (Postfix) with ESMTP id AA13223CE50 for ; Mon, 25 Jul 2011 02:14:44 +0200 (CEST) Message-ID: <4E2CB574.7060303@gmx.de> Date: Mon, 25 Jul 2011 02:14:44 +0200 From: Matthias Andree User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18) Gecko/20110617 Mnenhy/0.8.3 Thunderbird/3.1.11 MIME-Version: 1.0 To: freebsd-current@freebsd.org References: <20110724212544.GA57733@freebsd.org> In-Reply-To: <20110724212544.GA57733@freebsd.org> X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Subject: Re: chromium port causing massive I/O faults 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: Mon, 25 Jul 2011 00:41:28 -0000 Am 24.07.2011 23:25, schrieb Alexander Best: > hi there, > > i noticed that chromium, expecially in combination with nspluginwrapper and > flash, is causing a lot of I/O faults. i ran 'top -mio -I -n 999999' and after It's causing page faults, which is a massive difference. > only ~ 4 hours of running chromium (most of the time not loading any new > pages), i got the following data: > > last pid: 39976; load averages: 0.37, 0.26, 0.19 up 3+02:38:30 23:15:26 > 72 processes: 2 running, 70 sleeping > > Mem: 755M Active, 662M Inact, 447M Wired, 51M Cache, 212M Buf, 45M Free > Swap: 10G Total, 159M Used, 10G Free, 1% Inuse > ... is anybody else experiencing the same behavior? i also noticed a massive > fault burst (~ 1500/sec), when closing chromium. Is that special to Chrome or -CURRENT? Or does it also happen with Firefox, for instance, or on -STABLE? I suppose FF might cause even more, it readily consumes 1.5 GB on my Linux computer after some time running. A page fault affecting 1500 pages/s (note it's "s" NOT "sec"!) amounts to 6 MB/s which appears to be on the comfortable side for any halfway modern system. Page in/page out is quite normal behaviour for any system that has swap space available and is running (especially idle) applications with nontrivial memory requirements and ultimately filling up its ram. At some point in time, when applications have been idle for long enough, it's more useful to page out unused pages and use them as cache instead. Why would a swap usage of 8% of physical RAM size be a reason for concern on a 2 GB RAM 64-bit computer?