From owner-freebsd-current@FreeBSD.ORG Mon Feb 25 18:52:13 2008 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B229B16A401; Mon, 25 Feb 2008 18:52:13 +0000 (UTC) (envelope-from danger@FreeBSD.org) Received: from virtual.micronet.sk (smtp.micronet.sk [84.16.32.237]) by mx1.freebsd.org (Postfix) with ESMTP id 6F61713C45D; Mon, 25 Feb 2008 18:52:13 +0000 (UTC) (envelope-from danger@FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) by virtual.micronet.sk (Postfix) with ESMTP id 4359910E6BC; Mon, 25 Feb 2008 19:51:03 +0100 (CET) X-Virus-Scanned: by amavisd-new at virtual.micronet.sk Received: from virtual.micronet.sk ([127.0.0.1]) by localhost (virtual.micronet.sk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5YGGnEHoYAag; Mon, 25 Feb 2008 19:51:01 +0100 (CET) Received: from DANGER-PC (danger.mcrn.sk [84.16.37.254]) by virtual.micronet.sk (Postfix) with ESMTP id C35B910E629; Mon, 25 Feb 2008 19:51:01 +0100 (CET) Date: Mon, 25 Feb 2008 19:54:08 +0100 From: Daniel Gerzo X-Mailer: The Bat! (v3.99.3) Professional Organization: The FreeBSD Project X-Priority: 3 (Normal) Message-ID: <1855464401.20080225195408@rulez.sk> To: Jeff Roberson In-Reply-To: <20080224223903.Q920@desktop> References: <845250.18624.qm@web63909.mail.re1.yahoo.com> <47BF5702.3020204@FreeBSD.org> <47BF8EB7.9090007@barafranca.com> <47BFB70F.5080402@FreeBSD.org> <20080224124342.E920@desktop> <1172441424.20080225092945@rulez.sk> <20080224223903.Q920@desktop> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: Daniel Gerzo , freebsd-current@FreeBSD.org, Ivan Voras Subject: Re[3]: cpu usage in 7.0 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Gerzo List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Feb 2008 18:52:13 -0000 Hello Jeff, Monday, February 25, 2008, 9:41:37 AM, you wrote: >> I have a box running mysqld, which sometimes exeeds 130%, what about >> this? ;) >> >> Also the mysqld is alsmost all the time in the "ucond" state, what >> does it mean? I've been told that it is probably waiting for I/O, but >> then, I have another box which is currently completely idle, but >> running mysql shows that it is "ucond" as well. > You should switch top to display threads. 'H' is the key to do it. > Otherwise you only get the wait channel for one of the threads. Others > may be busy doing things. This is correct. > 'ucond' means the thread is waiting on a userland condition variable. > This is a type of synchronization point in userland accessed via the > pthread_cond_*(3) api. It may indicate a thread that is waiting for work > but other threads may be busy. OK, thank you for the explanation. > Do you only have one CPU? If you're seeing 130% on a single cpu system we > may need to take some steps to improve the reporting. No, actually this is AMD Athlon64 X2, so dualcore, so may I assume 130% is OK for dualcore? -- Best regards, Daniel mailto:danger@FreeBSD.org