Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Aug 2006 15:06:52 -0400
From:      Kris Kennaway <kris@obsecurity.org>
To:        Laurent C <laurent.bar@gmail.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: [AMD64-SMP] I can't get my cpus working at 100%
Message-ID:  <20060824190651.GA49364@xor.obsecurity.org>
In-Reply-To: <e92de5ef0608241109x2aa5b79u32a4e304d34f29d5@mail.gmail.com>
References:  <e92de5ef0608241109x2aa5b79u32a4e304d34f29d5@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--5vNYLRcllDrimb99
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Aug 24, 2006 at 08:09:35PM +0200, Laurent C wrote:
> Hello all,
>=20
> 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.
>=20
> For example if I launch transcode it takes between 50% and 55% cpu (on to=
p),
> 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.
>=20
> 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.
>=20
> I made a "portupgrade -auf" just after building and installing my SMP ker=
nel
> and World, to be sure all is up-to-date.
>=20
> So it's seems it's not a "top" output problem, but a real underuse of the
> computing power.
>=20
> %uname -a
> FreeBSD wks02.chez.oim 6.1-STABLE FreeBSD 6.1-STABLE #0: Thu Aug 17 18:47=
:31
> CEST 2006     laurent@wks02.chez.oim:/usr/obj/usr/src/sys/WKS02_SMP  amd64
>=20
> 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

--5vNYLRcllDrimb99
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFE7fjLWry0BWjoQKURAg5KAJ0WMnqPRU8ZmeRzukkqjS2rvGGvQgCg0wTP
RJ5nDy5a4P30yPC0I/6Sbq8=
=QeNu
-----END PGP SIGNATURE-----

--5vNYLRcllDrimb99--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060824190651.GA49364>