From owner-freebsd-performance@FreeBSD.ORG Fri Apr 21 19:55:04 2006 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 A38F016A401 for ; Fri, 21 Apr 2006 19:55:04 +0000 (UTC) (envelope-from amarat@ksu.ru) Received: from ksu.ru (mail.ksu.ru [193.232.252.56]) by mx1.FreeBSD.org (Postfix) with ESMTP id D33C843D45 for ; Fri, 21 Apr 2006 19:55:03 +0000 (GMT) (envelope-from amarat@ksu.ru) X-Pass-Through: Kazan State University Network Received: from [194.85.245.161] (zealot.ksu.ru [194.85.245.161]) by ksu.ru (8.13.4/8.13.4) with ESMTP id k3LJbvCL022993 for ; Fri, 21 Apr 2006 23:37:58 +0400 Message-ID: <44493491.8060107@ksu.ru> Date: Fri, 21 Apr 2006 23:37:53 +0400 From: "Marat N.Afanasyev" User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.7.12) Gecko/20060214 X-Accept-Language: ru, en MIME-Version: 1.0 To: freebsd-performance@freebsd.org X-Enigmail-Version: 0.93.0.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Fri, 21 Apr 2006 20:48:54 +0000 Subject: freebsd 6.1-RC amd64 spends a lot of time in 'system' load 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: Fri, 21 Apr 2006 19:55:04 -0000 Hello! I encounered a problem and don't know how to handle it yet. I have a SMP machine with 2 opterons and 4G of memory running freebsd 6.1-RC. It serves as web and mail server and runs mysql 4.1 as well. Problem is using a large amount of CPU to handle 'system' tasks. vmstat 1 shows that average numbers of context switching is about 100k. I've tried to use all recomendation I've found, but problem still persists. Can anybody give me a glue, what I should tune first of all. Any information you'll need will be provided. -- SY, Marat