From owner-freebsd-performance@FreeBSD.ORG Mon Aug 22 07:11:42 2005 Return-Path: X-Original-To: freebsd-performance@freebsd.org Delivered-To: freebsd-performance@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6F46316A41F for ; Mon, 22 Aug 2005 07:11:42 +0000 (GMT) (envelope-from atr@ngw.compcent.usu.ru) Received: from relay4.usu.ru (relay4.usu.ru [194.226.235.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8E90A43D45 for ; Mon, 22 Aug 2005 07:11:40 +0000 (GMT) (envelope-from atr@ngw.compcent.usu.ru) Received: from relay4.usu.ru (localhost [127.0.0.1]) by relay4.usu.ru (PostSystem) with ESMTP id 0C829167FD for ; Mon, 22 Aug 2005 13:11:36 +0600 (YEKST) Received: from usu2.usu.ru (usu2.usu.ru [194.226.237.16]) by relay4.usu.ru (PostSystem) with ESMTP id 0228E167FC for ; Mon, 22 Aug 2005 13:11:35 +0600 (YEKST) Received: from localhost.usu2.usu.ru (localhost.usu2.usu.ru [127.0.0.1]) by usu2.usu.ru (Postfix) with ESMTP id 1A4DDA7A32 for ; Mon, 22 Aug 2005 13:11:34 +0600 (YEKST) Received: from labfer.usu.ru (labfer.usu.ru [194.226.237.37]) by usu2.usu.ru (Postfix) with ESMTP id C7E9AA7A31 for ; Mon, 22 Aug 2005 13:11:33 +0600 (YEKST) Received: from labfer.usu.ru (localhost [127.0.0.1]) by labfer.usu.ru (8.13.3/8.13.3) with ESMTP id j7M7BX6P039683 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 22 Aug 2005 13:11:33 +0600 (YEKST) (envelope-from atr@ngw.compcent.usu.ru) Received: (from atr@localhost) by labfer.usu.ru (8.13.3/8.13.1/Submit) id j7M7BWCI039682; Mon, 22 Aug 2005 13:11:32 +0600 (YEKST) (envelope-from atr@ngw.compcent.usu.ru) X-Authentication-Warning: labfer.usu.ru: atr set sender to atr@ngw.compcent.usu.ru using -f Date: Mon, 22 Aug 2005 13:11:32 +0600 From: Alexander Trubin To: freebsd-performance@freebsd.org Message-ID: <20050822071132.GA29339@spm.usu.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline User-Agent: Mutt/1.4.2.1i X-Virus-Scanned: ClamAV version 0.83, clamav-milter version 0.83 on labfer.usu.ru X-Virus-Status: Clean X-AntiVirus: checked by AntiVir MailGate (version: 2.0.1.15; AVE: 6.31.1.0; VDF: 6.31.1.152; host: usu2.usu.ru) X-Virus-Scanned: ClamAV using ClamSMTP Subject: page faults X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Aug 2005 07:11:42 -0000 hi i have a server amd64 athlon 3000+ with 1GB ram (dmesg,config can be found here: http://spm.usu.ru/_amd64/). FreeBSD 5.4 amd64 running this script while server is idle: while 1 ls > /dev/null end gives me the following output of vmstat -w 1 hst# vmstat -w 1 procs memory page disks faults cpu r b w avm fre flt re pi po fr sr ad4 ad6 in sy cs us sy id 0 1 0 550608 86704 0 0 0 0 0 0 0 0 2174 176 2116 0 2 98 1 1 0 550848 86596 25111 0 0 0 22879 0 0 0 2177 59365 4057 17 35 48 1 1 0 550608 86704 50879 0 0 0 46406 0 0 0 2159 119742 5873 38 62 0 0 1 1 550608 86704 50898 0 0 0 46407 0 0 0 2153 119890 5872 38 62 0 1 1 0 550844 86616 50912 0 0 0 46408 0 0 0 2156 120020 5774 36 64 0 1 1 0 550608 86704 50884 0 0 0 46408 0 0 0 2162 119745 5841 33 67 0 ... doing the same thing on freebsd 5.4,4.11 on i386 produces much less number of flt(page faults) which rarely goes above 4000-5000. I'm just trying to tune my apache with cgi version of php, which now have not so good performance. Is the high number of page faults ok on amd64? If not, what can be the reason and how can i reduce it ? i can provide any additional information. thanks in advance. -- Alexandr S Trubin