From owner-freebsd-amd64@FreeBSD.ORG Thu Apr 6 04:22:55 2006 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8FDE816A41F for ; Thu, 6 Apr 2006 04:22:55 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0A51743D46 for ; Thu, 6 Apr 2006 04:22:54 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [192.168.254.11] (junior.samsco.home [192.168.254.11]) (authenticated bits=0) by pooker.samsco.org (8.13.4/8.13.4) with ESMTP id k364MrO8098468; Wed, 5 Apr 2006 22:22:53 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <44349793.2060302@samsco.org> Date: Wed, 05 Apr 2006 22:22:43 -0600 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20051230 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Oleg Rusanov References: <944389706.20060406075221@molecon.ru> In-Reply-To: <944389706.20060406075221@molecon.ru> Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.4 required=3.8 tests=ALL_TRUSTED autolearn=failed version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on pooker.samsco.org Cc: freebsd-amd64@freebsd.org Subject: Re: WCPU = 194.21% for mysqld X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Apr 2006 04:22:55 -0000 Oleg Rusanov wrote: > version=3.1.1 > X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on pooker.samsco.org > > Здравствуйте, . > > amd64# top > last pid: 1278; load averages: 1.93, 0.57, 0.21 up 0+00:03:30 00:31:40 > 86 processes: 3 running, 83 sleeping > CPU states: 97.9% user, 0.0% nice, 1.6% system, 0.5% interrupt, 0.0% idle > Mem: 270M Active, 959M Inact, 237M Wired, 7080K Cache, 214M Buf, 480M Free > Swap: 8192M Total, 8192M Free > > PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND > 1102 mysql 4 20 0 323M 80084K kserel 0 1:55 194.21% mysqld > > > is this ok? > WCPU is an aggregate of the time used on all CPUs. Since mysql is threaded, and since you are likely on an SMP system, you're seeing the cumulative effect of SMP. Scott