From owner-freebsd-amd64@FreeBSD.ORG Thu Apr 6 04:20:57 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 F413316A424 for ; Thu, 6 Apr 2006 04:20:56 +0000 (UTC) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (gate.funkthat.com [69.17.45.168]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D23943D55 for ; Thu, 6 Apr 2006 04:20:55 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (knnb8mj9or7qfn55@localhost.funkthat.com [127.0.0.1]) by hydrogen.funkthat.com (8.13.4/8.13.3) with ESMTP id k364Krhe036616; Wed, 5 Apr 2006 21:20:53 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.13.4/8.13.3/Submit) id k364KqPj036615; Wed, 5 Apr 2006 21:20:52 -0700 (PDT) (envelope-from jmg) Date: Wed, 5 Apr 2006 21:20:52 -0700 From: John-Mark Gurney To: Oleg Rusanov Message-ID: <20060406042052.GO53811@funkthat.com> Mail-Followup-To: Oleg Rusanov , freebsd-amd64@freebsd.org References: <944389706.20060406075221@molecon.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <944389706.20060406075221@molecon.ru> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 5.4-RELEASE-p6 i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html 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 Reply-To: John-Mark Gurney 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:20:57 -0000 Oleg Rusanov wrote this message on Thu, Apr 06, 2006 at 07:52 +0400: > ????????????, . > > 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? Probably... run top w/ -H this will display the individual threads, it's that mysqld is running on multiple processors, so consuming more cpu cycles than a single cpu which is 100%... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."