[FUG-BR] Pentium 4 HT Não reconhece segunda CPU

Patrick Tracanelli eksffa em freebsdbrasil.com.br
Quinta Novembro 16 17:56:29 BRST 2006


Bom, acabei de fazer o teste mencionado.

Ambiente: 2 CPU fisicas com HTT

CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2399.33-MHz 686-class CPU)
   Origin = "GenuineIntel"  Id = 0xf27  Stepping = 7
 
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
   Hyperthreading: 2 logical CPUs
real memory  = 4193452032 (3999 MB)
avail memory = 4105736192 (3915 MB)
ACPI APIC Table: <PTLTD          APIC  >
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
  cpu0 (BSP): APIC ID:  0
  cpu1 (AP): APIC ID:  1
  cpu2 (AP): APIC ID:  6
  cpu3 (AP): APIC ID:  7

Testes inciandos ha 2 horas atras. Resultados:

Sem HTT:
#         46m50.15s real          1h11m4.14s user         25m7.20s sys
[1]    Done                          /usr/bin/time -h make -j4 
buildworld > /tmp/bw.log

Com HTT:
#         34m12.11s real          43h10m11.11s user         24m13.29s sys
[1]    Done                          /usr/bin/time -h make -j4 
buildworld > /tmp/bw.log

Os world foram precedidos de "make cleanworld && make cleandir"

Mais informacoes sobre a maquina:

mptable

===============================================================================

MPTable, version 2.0.15

-------------------------------------------------------------------------------

MP Floating Pointer Structure:

   location:                     BIOS
   physical address:             0x000f6540
   signature:                    '_MP_'
   length:                       16 bytes
   version:                      1.4
   checksum:                     0x3f
   mode:                         Virtual Wire

-------------------------------------------------------------------------------

MP Config Table Header:

   physical address:             0x0009e870
   signature:                    'PCMP'
   base table length:            308
   version:                      1.4
   checksum:                     0xc3
   OEM ID:                       ' '
   Product ID:                   'PLACER CRB  '
   OEM table pointer:            0x00000000
   OEM table size:               0
   entry count:                  30
   local APIC address:           0xfee00000
   extended table length:        184
   extended table checksum:      29

-------------------------------------------------------------------------------

MP Config Base Table Entries:

--
Processors:     APIC ID Version State           Family  Model   Step 
Flags
                  0       0x14    BSP, usable     15      2       7 
   0xbfebfbff
                  6       0x14    AP, usable      15      2       7 
   0xbfebfbff
--
Bus:            Bus ID  Type
                  0       PCI
                  1       PCI
                  2       PCI
                  3       ISA
--
I/O APICs:      APIC ID Version State           Address
                  2       0x20    usable          0xfec00000
--
I/O Ints:       Type    Polarity    Trigger     Bus ID   IRQ    APIC ID PIN#
                 ExtINT  active-hi        edge        3     0          2 
    0
                 INT     active-hi        edge        3     1          2 
    1
                 INT     active-hi        edge        3     0          2 
    2
                 INT     active-hi        edge        3     3          2 
    3
                 INT     active-hi        edge        3     4          2 
    4
                 INT     active-lo       level        0  29:C          2 
   18
                 INT     active-hi        edge        3     6          2 
    6
                 INT     active-hi        edge        3     7          2 
    7
                 INT     active-hi        edge        3     8          2 
    8
                 INT     active-hi        edge        3     9          2 
    9
                 INT     active-hi        edge        3    10          2 
   10
                 INT     active-lo       level        0  29:A          2 
   16
                 INT     active-hi        edge        3    12          2 
   12
                 INT     active-hi        edge        3    13          2 
   13
                 INT     active-hi        edge        3    14          2 
   14
                 INT     active-hi        edge        3    15          2 
   15
                 INT     active-lo       level        0  29:B          2 
   19
                 INT     active-lo       level        0  29:D          2 
   23
                 INT     active-lo       level        0  31:B          2 
   17
                 INT     active-lo       level        2   2:A          2 
   20
                 INT     active-lo       level        2   8:A          2 
   19
--
Local Ints:     Type    Polarity    Trigger     Bus ID   IRQ    APIC ID PIN#
                 ExtINT  active-hi        edge        3     0        255 
    0
                 NMI     active-hi        edge        3     0        255 
    1

-------------------------------------------------------------------------------

MP Config Extended Table Entries:

--
System Address Space
  bus ID: 0 address type: I/O address
  address base: 0x0
  address range: 0x10000
--
System Address Space
  bus ID: 0 address type: I/O address
  address base: 0x0
  address range: 0x10000
--
System Address Space
  bus ID: 0 address type: memory address
  address base: 0x0
  address range: 0xe0000000
--
System Address Space
  bus ID: 0 address type: prefetch address
  address base: 0xe0000000
  address range: 0x18000000
--
System Address Space
  bus ID: 0 address type: memory address
  address base: 0xf8000000
  address range: 0x6e00000
--
System Address Space
  bus ID: 0 address type: memory address
  address base: 0xfee01000
  address range: 0x11ff000
--
System Address Space
  bus ID: 1 address type: memory address
  address base: 0xa0000
  address range: 0x20000
--
System Address Space
  bus ID: 4 address type: memory address
  address base: 0xd4000
  address range: 0xc000
--
Bus Heirarchy
  bus ID: 3 bus info: 0x01 parent bus ID: 0
--
Compatibility Bus Address
  bus ID: 0 address modifier: add
  predefined range: 0x00000000
--
Compatibility Bus Address
  bus ID: 0 address modifier: add
  predefined range: 0x00000001

===============================================================================

top -S

   PID USERNAME PRI NICE   SIZE    RES STATE  C   TIME   WCPU    CPU COMMAND
    11 root     171   52     0K     8K CPU3   3 146.2H 76.76% 76.76% 
idle: cpu3
    12 root     171   52     0K     8K RUN    2 142.1H 71.44% 71.44% 
idle: cpu2
    14 root     171   52     0K     8K CPU0   0 131.2H 61.43% 61.43% 
idle: cpu0
    13 root     171   52     0K     8K CPU1   1 129.9H 60.45% 60.45% 
idle: cpu1
    55 root     171   52     0K     8K pgzero 1  97:09  1.27%  1.27% 
pagezero
    40 root     -44 -163     0K     8K WAIT   0  91:06  1.07%  1.07% 
swi1: net
   699 qmails    96    0  2192K  1628K select 0  42:17  1.03%  1.03% 
qmail-send
     3 root      -8    0     0K     8K -      1  19:33  0.20%  0.20% g_up
    58 root      20    0     0K     8K syncer 3  25:05  0.15%  0.15% syncer
97555 qmaild    96    0  1324K   812K select 1   0:10  0.15%  0.15% 
qmail-smtpd

Infelizmente pela maquina ser DUAL nao cabe o mesmo teste com kernel UP, 
apenas MP, pra saber o overhead que as rotinas SMP adicionariam. Mas da 
pra ter uma ideia se faz ou nao diferenca ter HTT. Os dados estao ai, 
mesmo ambiente, a unica diferenca eh um boot pra subir sem HTT. 
Lembrando que esse nao eh um ambiente ideal pra bench, ja que buildworld 
tem acesso constante em disco. Os benchs com conversao de video 
(dvd/divx) sao os mais apropriados de "vida real". Seria bom tambem ter 
uma calculadora tipo bc, porem, multithread.

-- 
Patrick Tracanelli

FreeBSD Brasil LTDA.
(31) 3281-9633 / 3281-3547
316601 em sip.freebsdbrasil.com.br
http://www.freebsdbrasil.com.br
"Long live Hanin Elias, Kim Deal!"



Mais detalhes sobre a lista de discussão freebsd