KSE and CPU in top...

2005-01-19 Thread Krok
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello.
OS: FreeBSD 5.3-RELEASE-p2
I'm using KSE as noticed in http://www.freebsd.org/kse/
My /etc/libmap.conf is :
[/usr/local/libexec/mysqld]
libc_r.so.5 libpthread.so.1
libc_r.so   libpthread.so
But top/ps shows not several processes, but one process with CPU more
then 100% sometimes :
611 mysql  200   142M 91832K kserel 3   6:57 165.09% 165.09%
mysqld
Is it normal ?
- --
With best regards,
Krok
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (FreeBSD)
iD8DBQFB7krHsXuomovtlAARAlQ6AJ4uy2OnHRkMHC8t6js55ttIF97DfgCeIpXa
st2VbOxRwuYzjthtOhjAOds=
=jl/l
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: KSE and CPU in top...

2005-01-19 Thread Benjamin Walkenhorst
Hello,
Krok wrote:
But top/ps shows not several processes, but one process with CPU more
then 100% sometimes :
611 mysql  200   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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: KSE and CPU in top...

2005-01-19 Thread Krok
-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  200   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-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: KSE and CPU in top...

2005-01-19 Thread Dan Nelson
In the last episode (Jan 19), Krok said:
 -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-)

Press H in top to see each thread (or use the H flag to ps).  They're
hidden by default.

-- 
Dan Nelson
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: KSE and CPU in top...

2005-01-19 Thread Benjamin Walkenhorst
Dan Nelson wrote:
Press H in top to see each thread (or use the H flag to ps).  They're
hidden by default.
 

Yes it works!
I *love* SMP! =)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]