From owner-freebsd-questions@FreeBSD.ORG Wed Jan 19 15:26:19 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 24EF016A4CE for ; Wed, 19 Jan 2005 15:26:19 +0000 (GMT) Received: from mail.gmx.net (imap.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 0959E43D1F for ; Wed, 19 Jan 2005 15:26:16 +0000 (GMT) (envelope-from krylon@gmx.net) Received: (qmail invoked by alias); 19 Jan 2005 15:26:14 -0000 Received: from unknown (EHLO [192.168.0.13]) (83.135.78.0) by mail.gmx.net (mp016) with SMTP; 19 Jan 2005 16:26:14 +0100 X-Authenticated: #685629 Message-ID: <41EE7BEB.9010408@gmx.net> Date: Wed, 19 Jan 2005 16:25:31 +0100 From: Benjamin Walkenhorst User-Agent: Mozilla Thunderbird 1.0 (X11/20041231) X-Accept-Language: en-us, en MIME-Version: 1.0 To: krok@void.ru References: <41EE4AC7.3070301@void.ru> In-Reply-To: <41EE4AC7.3070301@void.ru> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 cc: freebsd-questions@freebsd.org Subject: Re: KSE and CPU in top... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Jan 2005 15:26:19 -0000 Hello, Krok wrote: > But top/ps shows not several processes, but one process with CPU more > then 100% sometimes : > > 611 mysql 20 0 142M 91832K kserel 3 6:57 165.09% 165.09% > mysqld > > Is it normal ? Do you happen to be running a multi-CPU system? I recently experienced a similar thing with a threaded perl-script using ~120% CPU on a dual AthlonMP. (and perl was, of course, built with ithreads) My assumption is that FreeBSD is now able to spread a process's threads among multiple CPUs. If so, I am never getting a single-CPU for a desktop system again. =) Oh yes, my /etc/libmap.conf: libm.so.2 libm.so.3 libc_r.so.5 libpthread.so.1 libc_r.so libpthread.so Kind regards, Benjamin