Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Mar 2006 07:40:37 -0300
From:      JoaoBR <joao@matik.com.br>
To:        kono@kth.se
Cc:        freebsd-amd64@freebsd.org
Subject:   Re: amd64 slower than i386 on identical AMD 64 system? / How is hyperthreading handled on amd64?
Message-ID:  <200603140740.38388.joao@matik.com.br>
In-Reply-To: <200603141106.13693.kono@kth.se>
References:  <20060313221836.5491916A420@hub.freebsd.org> <200603141106.13693.kono@kth.se>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 14 March 2006 07:06, Alexander Konovalenko wrote:
> > Hi
> > Since some time (>6.0R) I have the impression that amd64 runs slower th=
an
> > i386. Now I run some tests on identical hardware and using ubench
> > confirmes this. Somebody has comments on this?
>
> I have Dual core AMD64 4400+ and FreeBSD RELENG_5. I don't have FreeBSD
> i386 installed but you can just compare benchmarks.
>
> ubench uses all CPU/cores by default, when one ubench is running, top
> shows:
>

so where is your comparism? My point was that the same hardware is faster=20
running i386

I experience this also on X2 machines but do not have two machines to compa=
re
I have a X2-4400-SMP running amd64 and a X2-4200-SMP running i386 and it gi=
ves=20
me the same numbers running ubench



Jo=E3o






>  PID USERNAME   PRI NICE   SIZE    RES STATE  C   TIME   WCPU    CPU
> COMMAND 11528 XXXX       111    0  3572K   880K RUN    1   0:12 93.64%
> 42.29% ubench 11529 XXXX       111    0  3572K   880K CPU0   1   0:11
> 97.21% 41.16% ubench 11526 XXXX        -8    0  3572K   880K piperd 0 =20
> 0:17 41.76% 31.98% ubench
>
>
> one ubench executed (with no -s flag =3D use all CPU, default):
>
> Unix Benchmark Utility v.0.3
> Copyright (C) July, 1999 PhysTech, Inc.
> Author: Sergei Viznyuk <sv@phystech.com>
> http://www.phystech.com/download/ubench.html
> FreeBSD 5.5-PRERELEASE FreeBSD 5.5-PRERELEASE #12: Sun Mar  5 17:34:07 CET
> 2006     XXXX@XXXX:/usr/obj/usr/src/sys/DAEMON64SMP amd64
> Ubench CPU:   238149
> Ubench MEM:   255459
> --------------------
> Ubench AVG:   246804
>
>
> two ubench executed with -s flag (use single CPU only):
>
> Ubench Single CPU:   120184 (0.40s)
> Ubench Single MEM:   126787 (0.39s)
> -----------------------------------
> Ubench Single AVG:   123485
>
> Ubench Single CPU:   121000 (0.41s)
> Ubench Single MEM:   128762 (0.40s)
> -----------------------------------
> Ubench Single AVG:   124881
>
>
> one ubench executed with -s flag (use single CPU only):
>
> Ubench Single CPU:   123251 (0.40s)
> Ubench Single MEM:   161494 (0.40s)
> -----------------------------------
> Ubench Single AVG:   142372
>
>
> /Alexander Konovalenko
>
> +46-8-5537-8142 (office)
> +46-7-3752-2116
> http://daemon.nanophys.kth.se/~kono
>
> Royal Institute of Technology (KTH)
> Nanostructure Physics Department, Albanova
> Roslagstullsbacken 21
> 10691 Stockholm
> Sweden
>
>
>







A mensagem foi scaneada pelo sistema de e-mail e pode ser considerada segura.
Service fornecido pelo Datacenter Matik  https://datacenter.matik.com.br



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