From owner-freebsd-questions@FreeBSD.ORG Wed Jan 19 15:33:45 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 D6DC416A4CE for ; Wed, 19 Jan 2005 15:33:45 +0000 (GMT) Received: from frost.void.ru (ns.void.ru [82.179.198.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6921D43D48 for ; Wed, 19 Jan 2005 15:33:44 +0000 (GMT) (envelope-from krok@void.ru) Received: from [10.10.10.24] (lan-gw.plus.ru [82.179.194.18]) (authenticated bits=0) by frost.void.ru (8.13.2/8.13.2) with ESMTP id j0JFXYkZ070977 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 19 Jan 2005 18:33:34 +0300 (MSK) (envelope-from krok@void.ru) X-Authentication-Warning: frost.void.ru: Host lan-gw.plus.ru [82.179.194.18] claimed to be [10.10.10.24] Message-ID: <41EE7DCF.2070501@void.ru> Date: Wed, 19 Jan 2005 18:33:35 +0300 From: Krok Organization: Void User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.5) Gecko/20041229 Thunderbird/1.0 Mnenhy/0.6.0.104 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <41EE4AC7.3070301@void.ru> <41EE7BEB.9010408@gmx.net> In-Reply-To: <41EE7BEB.9010408@gmx.net> X-Enigmail-Version: 0.89.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.80/640/Thu Dec 23 21:48:27 2004 clamav-milter version 0.80j on frost.void.ru X-Virus-Status: Clean X-Spam-Status: No, score=-5.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.0.0 X-Spam-Checker-Version: SpamAssassin 3.0.0 (2004-09-13) on frost.void.ru Subject: Re: KSE and CPU in top... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: krok@void.ru List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Jan 2005 15:33:45 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Yes, it's Dual Xeon 2.8GHz. The main point of KSE is ability to execute threaded processes on different CPUs on SMP machines, but as noted in http://www.my-opensource.org/lists/myoss/2003-06/msg00161.html there are must be several entities for one process in top or ps. Hm... just and idea - may be I must remap libraries for ps also to get what i want 8-) Benjamin Walkenhorst wrote: | 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 | - -- With best regards, Krok -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFB7n3PsXuomovtlAARAiarAJ9zDjz+JT/prHz4yrkgSJoZ5ZwYLACfRMBm +efG2QeI4OWXQfYnoOHMkY4= =NdWr -----END PGP SIGNATURE-----