Re: [AMD64-SMP] I can't get my cpus working at 100%
- From: "Freddie Cash" <fcash@xxxxxxxx>
- Date: Thu, 24 Aug 2006 16:28:02 -0700 (PDT)
On Thu, August 24, 2006 2:10 pm, Christian Walther wrote:
On 24/08/06, Kris Kennaway <kris@xxxxxxxxxxxxxx> wrote:
[...]
How do you know the applications are running with two threads?
Presumably you need to specify the amount of parallelism.
To make matters worse you can't even tell if an application running
with several threads uses more then one CPU. Originally, threading was
implemented with single CPU systems in mind, especially in regard to
shares memory and things like this. A nice example of a program being
able to do threading, but one CPU (core) only is python.
So you don't only want to know how many threads an application is
working with, but on what cores they are processed. You might want to
man ps for a list of possible option, I don't have a SMP system at
hand, but i think ps -aHl might be suitable.
Use 'H' in top to switch to thread-view mode, where the individual
threads for each running process are shown. Then look in the 'C'
column to see which CPU the threads are running on.
----
Freddie Cash
fcash@xxxxxxxx
_______________________________________________
freebsd-stable@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@xxxxxxxxxxx"
- References:
- [AMD64-SMP] I can't get my cpus working at 100%
- From: Laurent C
- Re: [AMD64-SMP] I can't get my cpus working at 100%
- From: Kris Kennaway
- Re: [AMD64-SMP] I can't get my cpus working at 100%
- From: Christian Walther
- [AMD64-SMP] I can't get my cpus working at 100%
- Prev by Date: Re: cvs commit: doc/en_US.ISO8859-1/books/handbook/serialcomms chapter.sgml
- Next by Date: Re: suggestions for SATA RAID cards
- Previous by thread: Re: [AMD64-SMP] I can't get my cpus working at 100%
- Next by thread: Re: [AMD64-SMP] I can't get my cpus working at 100%
- Index(es):
Relevant Pages
|
|