Date: Thu, 24 Aug 2006 23:10:22 +0200 From: "Christian Walther" <cptsalek@gmail.com> To: "Kris Kennaway" <kris@obsecurity.org> Cc: Laurent C <laurent.bar@gmail.com>, freebsd-stable@freebsd.org Subject: Re: [AMD64-SMP] I can't get my cpus working at 100% Message-ID: <14989d6e0608241410n2b8a5fdwe98a927dea91be40@mail.gmail.com> In-Reply-To: <20060824190651.GA49364@xor.obsecurity.org> References: <e92de5ef0608241109x2aa5b79u32a4e304d34f29d5@mail.gmail.com> <20060824190651.GA49364@xor.obsecurity.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi there, On 24/08/06, Kris Kennaway <kris@obsecurity.org> wrote: [...] > > How do you know the applications are running with two threads? > Presumably you need to specify the amount of parallelism. > > Kris > 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14989d6e0608241410n2b8a5fdwe98a927dea91be40>