Return-Path: Delivered-To: apmail-perl-modperl-archive@www.apache.org Received: (qmail 31693 invoked from network); 8 Nov 2006 15:26:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Nov 2006 15:26:54 -0000 Received: (qmail 60382 invoked by uid 500); 8 Nov 2006 15:26:57 -0000 Delivered-To: apmail-perl-modperl-archive@perl.apache.org Received: (qmail 60368 invoked by uid 500); 8 Nov 2006 15:26:57 -0000 Mailing-List: contact modperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list modperl@perl.apache.org Received: (qmail 60357 invoked by uid 99); 8 Nov 2006 15:26:57 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Nov 2006 07:26:57 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of kjetilk@opera.com designates 193.69.113.81 as permitted sender) Received: from [193.69.113.81] (HELO sam.opera.com) (193.69.113.81) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Nov 2006 07:26:42 -0800 Received: from pc093.lan021.oslo.opera.com (pat.opera.com [193.69.113.22]) by sam.opera.com (8.13.4/8.13.4/Debian-3sarge3) with ESMTP id kA8FQKiq007615 for ; Wed, 8 Nov 2006 15:26:20 GMT From: Kjetil Kjernsmo Organization: Opera Software ASA To: modperl@perl.apache.org Subject: Re: Loading at startup to use shared memory Date: Wed, 8 Nov 2006 16:26:19 +0100 User-Agent: KMail/1.9.5 References: <200611061748.06729.kjetilk@opera.com> <200611071328.15735.kjetilk@opera.com> <200611071718.00364.torsten.foertsch@gmx.net> In-Reply-To: <200611071718.00364.torsten.foertsch@gmx.net> X-FOAF: http://my.opera.com/kjetilk/xml/foaf/ OpenPGP: id=5F275A6DD85089F09C88447202DCCFFBB8B9AF89; MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200611081626.19840.kjetilk@opera.com> X-Virus-Checked: Checked by ClamAV on apache.org On Tuesday 07 November 2006 17:17, Torsten Foertsch wrote: > You can directly look at /proc//smaps or use Linux::Smaps. I > don't know what GTop does but I know how /proc//smaps work. > Also, don't do it too often. Reading from /proc//smaps is really > expensive particularly for large process sizes. Wow. Yeah, that's really interesting! So, I started to dive into what this means... I have a lot to learn here... Thanks, I'll be investigating. > Maybe I forgot to say in the docs, /proc//smaps cannot determine > if a page is shared or private if it is out of core (paged out). > Hence to make your measurement accurate you must lock the parent > apache in core or turn off swapping completely. Heh, that's no problem, because our sysadmin insists that swapping sucks, so there is no swap on those boxes... Cheers, Kjetil -- Kjetil Kjernsmo Information Systems Developer Opera Software ASA