Re: [AMD64-SMP] I can't get my cpus working at 100%



On Thu, Aug 24, 2006 at 08:09:35PM +0200, Laurent C wrote:
Hello all,

I can't get my athlon x2 processor working at 100% on cpu-intensive apps.
I've made some tests with "john --test" and "transcode", wich are both
multithreaded apps.

For example if I launch transcode it takes between 50% and 55% cpu (on top),
and if I launch
a second transcode session on another file, the total cpu used on top is
100%, without lower the speed
of the first transcode session.

The same behavior occurs with john. A single "john --test" give me some
speed results, and the same
command with a transcode or second "john --test" give me the same speed
results but now with 100%
cpu used.

I made a "portupgrade -auf" just after building and installing my SMP kernel
and World, to be sure all is up-to-date.

So it's seems it's not a "top" output problem, but a real underuse of the
computing power.

%uname -a
FreeBSD wks02.chez.oim 6.1-STABLE FreeBSD 6.1-STABLE #0: Thu Aug 17 18:47:31
CEST 2006 laurent@xxxxxxxxxxxxxx:/usr/obj/usr/src/sys/WKS02_SMP amd64

Does anyone could explain me what's happening with my system ?

How do you know the applications are running with two threads?
Presumably you need to specify the amount of parallelism.

Kris

Attachment: pgp0bYVwkyJox.pgp
Description: PGP signature



Relevant Pages

  • [AMD64-SMP] I cant get my cpus working at 100%
    ... I can't get my athlon x2 processor working at 100% on cpu-intensive apps. ... For example if I launch transcode it takes between 50% and 55% cpu, ...
    (freebsd-stable)
  • Re: [SCHED] wrong priority calc - SIMPLE test case
    ... > As you can see DD priority is now very good but it still suffers> because also my test programs get good priority. ... Given that with your quirky setup you are using 3 cpu hogs then slowing down dd from 8s to 20s seems an appropriate slowdown. ... > When transcode priority is 25 the DD test is obviously happy: in> particular 2 things can happen: ... > reading from, through pipes, IS cached). ...
    (Linux-Kernel)
  • Re: OT : More CPUs or Faster CPUs
    ... To transcode I will most likely be using dvd::rip and for editing I will ... One of those choices is CPU configuration. ... Dual core CPU with combined speed greater than or equal to a single ... CPU but each core slower than a single CPU ...
    (Fedora)
  • Re: [SCHED] Totally WRONG prority calculation with specific test-case (since 2.6.10-bk12)
    ... Looking at your top output I see that transcode command generates 7 processes ... all likely to be using cpu, and your DD slowdown is almost 7 times... ... Reverting that change is not a solution because it ... at startup and then changing to the cpu mostly-sleeping slightly behaviour. ...
    (Linux-Kernel)