From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 15 15:44:10 2004 Return-Path: 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 F270316A4CE for ; Mon, 15 Mar 2004 15:44:09 -0800 (PST) Received: from cydem.org (h68-149-254-167.ed.shawcable.net [68.149.254.167]) by mx1.FreeBSD.org (Postfix) with ESMTP id 87CCA43D2F for ; Mon, 15 Mar 2004 15:44:09 -0800 (PST) (envelope-from soralx@cydem.org) Received: by cydem.org (Postfix/FreeBSD, from userid 426) id 382DE393FA; Mon, 15 Mar 2004 16:44:08 -0700 (MST) Received: from soralx.cydem.org (h68-149-254-171.ed.shawcable.net [68.149.254.171]) by cydem.org (Postfix/FreeBSD) with ESMTP id 9A9CC37C7C; Mon, 15 Mar 2004 16:44:07 -0700 (MST) From: To: bgd@icomag.de, freebsd-hackers@freebsd.org Date: Mon, 15 Mar 2004 16:44:04 -0700 User-Agent: KMail/1.5 References: <20040315150438.GA48241@icomag.de> In-Reply-To: <20040315150438.GA48241@icomag.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200403151644.04815.soralx@cydem.org> Subject: Re: kernel activity X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Mar 2004 23:44:10 -0000 > I'm running a pretty busy webserver, and right now I can see it's > CPU-bound: > > %vmstat 1 > procs memory page disks faults cpu > r b w avm fre flt re pi po fr sr da0 ac0 in sy cs us sy > id 78 2 0 1135684 144648 93 0 0 0 248 82 14 0 319 235 136 26 > 35 39 72 2 0 1135668 144060 25 0 0 0 160 0 19 0 1971 141871 > 1098 41 59 0 84 2 0 1135836 142692 82 0 0 0 405 0 35 0 3144 > 246325 1739 42 58 0 77 2 0 1135732 142104 168 0 0 0 343 0 20 0 > 2129 155969 1314 38 62 0 > > and I'm trying to figure out why so much time is consumed in 'system > mode' (to see if I can further tune the box or not). Any idea what > kind of structures/utilities I should consult for that? do you already use polling for the NIC? Timestamp: 0x40563F7E [SorAlx] http://cydem.org.ua/