Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Jan 2005 18:33:35 +0300
From:      Krok <krok@void.ru>
To:        freebsd-questions@freebsd.org
Subject:   Re: KSE and CPU in top...
Message-ID:  <41EE7DCF.2070501@void.ru>
In-Reply-To: <41EE7BEB.9010408@gmx.net>
References:  <41EE4AC7.3070301@void.ru> <41EE7BEB.9010408@gmx.net>

next in thread | previous in thread | raw e-mail | index | archive | help
-----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-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41EE7DCF.2070501>