KSE and CPU in top...

Krok krok at void.ru
Wed Jan 19 07:33:45 PST 2005


-----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-----


More information about the freebsd-questions mailing list