From owner-freebsd-hackers@FreeBSD.ORG Wed Nov 7 06:47:50 2007 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ADC2216A419 for ; Wed, 7 Nov 2007 06:47:50 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout7.cac.washington.edu (mxout7.cac.washington.edu [140.142.32.178]) by mx1.freebsd.org (Postfix) with ESMTP id 890A113C4E5 for ; Wed, 7 Nov 2007 06:47:50 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.9] (may be forged)) by mxout7.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW07.09) with ESMTP id lA76lXIP029480 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 6 Nov 2007 22:47:33 -0800 X-Auth-Received: from [127.0.0.1] (node49.244.100.208.1dial.com [208.100.244.49] (may be forged)) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW07.09) with ESMTP id lA76lSXM032495 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 6 Nov 2007 22:47:32 -0800 Message-ID: <47315F5E.2090005@u.washington.edu> Date: Tue, 06 Nov 2007 22:46:54 -0800 From: Garrett Cooper User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: perryh@pluto.rain.com References: <4635.202.127.98.144.1194407276.squirrel@webmail.triplegate.net.id> <47314262.mjHsuOhoRAZyEdhO%perryh@pluto.rain.com> In-Reply-To: <47314262.mjHsuOhoRAZyEdhO%perryh@pluto.rain.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Version: 5.3.3.310218, Antispam-Engine: 2.5.2.313940, Antispam-Data: 2007.11.6.222716 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='BODY_SIZE_400_499 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __USER_AGENT 0' Cc: binto@triplegate.net.id, freebsd-hackers@freebsd.org Subject: Re: page fault & degaradation performance 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: Wed, 07 Nov 2007 06:47:50 -0000 perryh@pluto.rain.com wrote: >> how to reduce the number of page faults to upgrade program >> or OS performance? >> > > Install more memory. 1. Reduce the number of processes on the machine, in particular the high-memory usage ones. 2. Adapt your programming to suit the situation by using less memory-requisite data types and structures. 3. Find the memory leak in someone's program and fix it. -Garrett