Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Feb 2003 20:01:23 -0800
From:      Brendon and Wendy <brendy33@attbi.com>
To:        freebsd-smp@freebsd.org
Subject:   mp_machdep.c patch
Message-ID:  <200302032001.23528.brendy33@attbi.com>

next in thread | raw e-mail | index | archive | help
Hi,

Saw the announce for the mp_machdep.c patch for hyperthreading. Installed=
,=20
built kernel and world. Everything seems fine.

Question - how does one determine whether the hyperthreading working? My =
DMESG=20
is below, as well as output from top. Booting with HTT disabled looks the=
=20
same to me.

This is on a supermicro p4dce+ (i860) with 2x HTT 2.0G xeons.

Cheers,
Brendon

Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD 4.7-STABLE #2: Mon Feb  3 18:35:10 PST 2003
    root@bigboot.humphrey.world:/usr/obj/usr/src/sys/BRENDY-STABLE
Timecounter "i8254"  frequency 1193182 Hz
CPU: Intel(R) XEON(TM) CPU 2.00GHz (1982.52-MHz 686-class CPU)
  Origin =3D "GenuineIntel"  Id =3D 0xf24  Stepping =3D 4
 =20
Features=3D0x3febfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PG=
E,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM>
  Hyperthreading: 2 logical CPUs
real memory  =3D 536805376 (524224K bytes)
avail memory =3D 517742592 (505608K bytes)
Programming 24 pins in IOAPIC #0
IOAPIC #0 intpin 2 -> irq 0
FreeBSD/SMP: Multiprocessor motherboard
 cpu0 (BSP): apic id:  0, version: 0x00050014, at 0xfee00000
 cpu1 (AP):  apic id:  1, version: 0x00050014, at 0xfee00000
 io0 (APIC): apic id:  2, version: 0x00178020, at 0xfec00000
Preloaded elf kernel "kernel" at 0xc0474000.
Preloaded elf module "linux.ko" at 0xc047409c.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 9 entries at 0xc00fded0
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
IOAPIC #0 intpin 19 -> irq 2
IOAPIC #0 intpin 23 -> irq 3
pci0: <PCI bus> on pcib0
pcib1: <PCI to PCI bridge (vendor=3D8086 device=3D2532)> at device 1.0 on=
 pci0
IOAPIC #0 intpin 22 -> irq 5
pci1: <PCI bus> on pcib1
pci1: <NVidia model 0253 graphics accelerator> at 0.0 irq 5
pcib2: <PCI to PCI bridge (vendor=3D8086 device=3D2533)> at device 2.0 on=
 pci0
pci2: <PCI bus> on pcib2
pcib3: <PCI to PCI bridge (vendor=3D8086 device=3D1360)> at device 31.0 o=
n pci2
pci3: <PCI bus> on pcib3
pci3: <unknown card> (vendor=3D0x8086, dev=3D0x1161) at 0.0
pcib4: <Intel 82801BA/BAM (ICH2) Hub to PCI bridge> at device 30.0 on pci=
0
IOAPIC #0 intpin 17 -> irq 7
IOAPIC #0 intpin 16 -> irq 10
pci4: <PCI bus> on pcib4
pcm0: <Creative EMU10K1> port 0xc000-0xc01f irq 7 at device 1.0 on pci4
fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0xc800-0xc83f mem=20
0xe7000000-0xe70fffff,0xe7105000-0xe7105fff irq 10 at device 4.0 on pci4
fxp0: Ethernet address 00:30:48:23:23:ca
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pci4: <unknown card> (vendor=3D0x104c, dev=3D0x8020) at 7.0 irq 10
isab0: <Intel 82801BA/BAM (ICH2) PCI to LPC bridge> at device 31.0 on pci=
0
isa0: <ISA bus> on isab0'
atapci0: <Intel ICH2 ATA100 controller> port 0xf000-0xf00f at device 31.1=
 on=20
pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <Intel 82801BA/BAM (ICH2) USB controller USB-A> port 0xd000-0xd01f=
 irq=20
2 at device 31.2 on pci0
usb0: <Intel 82801BA/BAM (ICH2) USB controller USB-A> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
pci0: <unknown card> (vendor=3D0x8086, dev=3D0x2443) at 31.3 irq 0
uhci1: <Intel 82801BA/BAM (ICH2) USB controller USB-B> port 0xd400-0xd41f=
 irq=20
3 at device 31.4 on pci0
usb1: <Intel 82801BA/BAM (ICH2) USB controller USB-B> on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
orm0: <Option ROM> at iomem 0xc0000-0xcefff on isa0
fdc0: ready for input in output
fdc0: cmd 3 failed at out byte 1 of 3
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model MouseMan+, device ID 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=3D0x300>
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 8250
sio1: configured irq 3 not in bitmap of probed irqs 0
ppc0: parallel port not found.
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: routing 8254 via IOAPIC #0 intpin 2
SMP: AP CPU #1 Launched!
ad0: 43979MB <IBM-DTLA-307045> [89355/16/63] at ata0-master UDMA100
acd0: CDROM <LTN526D> at ata1-master PIO4
Mounting root from ufs:/dev/ad0s2a

last pid:   292;  load averages:  0.04,  0.10,  0.06    up 0+00:14:38 =20
20:01:07
54 processes:  1 running, 53 sleeping
CPU states:  0.8% user,  0.0% nice,  0.8% system,  0.2% interrupt, 98.3% =
idle
Mem: 61M Active, 37M Inact, 46M Wired, 284K Cache, 60M Buf, 355M Free
Swap: 2048M Total, 2048M Free

  PID USERNAME  PRI NICE  SIZE    RES STATE  C   TIME   WCPU    CPU COMMA=
ND
  161 root        2   0   161M   159M select 0   0:56  1.32%  1.32% XFree=
86
  287 brendy      2   0 19080K 13716K poll   0   0:00  2.96%  1.07% kdein=
it
  292 brendy     28   0  2076K  1248K CPU0   1   0:00  3.76%  0.98% top
  281 brendy      4   0 18916K 13384K ptcout 0   0:01  0.56%  0.44% kdein=
it
  228 brendy      2   0 32128K 27164K poll   0   0:19  0.00%  0.00% kdein=
it
  200 brendy      2   0 18236K 12724K poll   0   0:04  0.00%  0.00% kdein=
it
  257 brendy      2   0 25844K 20524K poll   0   0:04  0.00%  0.00% kmail
  219 brendy      2   0 21188K 16296K poll   0   0:03  0.00%  0.00% kdein=
it
  226 brendy      2   0 17724K 13100K poll   0   0:03  0.00%  0.00% kdein=
it
  221 brendy      2   0 19776K 14344K poll   0   0:02  0.00%  0.00% kdein=
it
  211 brendy      2   0  5712K  4756K poll   0   0:01  0.00%  0.00% artsd
  217 brendy      2   0 17936K 12536K poll   0   0:01  0.00%  0.00% kdein=
it
  224 brendy      2   0 17236K 11888K poll   0   0:01  0.00%  0.00% kdein=
it
  194 brendy      2   0 15376K  9260K poll   0   0:00  0.00%  0.00% kdein=
it
  247 brendy      2   0 17388K 13080K poll   1   0:00  0.00%  0.00% kdein=
it
  213 brendy      2   0 19488K 13128K poll   0   0:00  0.00%  0.00% kdein=
it
  191 brendy      2   0 15604K  9440K poll   0   0:00  0.00%  0.00% kdein=
it
  237 brendy      2   0 17032K 11336K poll   1   0:00  0.00%  0.00% kdein=
it
  216 brendy      2   0 16868K 11104K poll   0   0:00  0.00%  0.00% kdein=
it
  242 brendy      2   0 15900K 10484K poll   1   0:00  0.00%  0.00% kdein=
it
  240 brendy      2   0 15900K 10508K poll   0   0:00  0.00%  0.00% kdein=
it
   97 root       10   0   224K    88K nfsidl 0   0:00  0.00%  0.00% nfsio=
d
  112 root        2   0  2496K  1768K select 0   0:00  0.00%  0.00% sshd
  198 brendy      2   0 16284K 10928K poll   0   0:00  0.00%  0.00% kdein=
it
   98 root       10   0   224K    88K nfsidl 0   0:00  0.00%  0.00% nfsio=
d
  101 root       10   0   224K    88K nfsidl 0   0:00  0.00%  0.00% nfsio=
d
   99 root       10   0   224K    88K nfsidl 0   0:00  0.00%  0.00% nfsio=
d
  159 root        2   0  2020K   968K select 1   0:00  0.00%  0.00% kdm
  239 brendy      2   0 10932K  7048K poll   0   0:00  0.00%  0.00% kdesu=
d
  285 brendy      4   0  1084K   876K ttywai 0   0:00  0.00%  0.00% bash
  117 root        2   0  2924K  2252K select 0   0:00  0.00%  0.00% sendm=
ail
  254 brendy      2   0 15900K 10456K poll   0   0:00  0.00%  0.00% kdein=
it
  291 brendy     10   0  1084K   940K wait   0   0:00  0.00%  0.00% bash
   87 root        2   0  1000K   632K select 0   0:00  0.00%  0.00% syslo=
gd
  214 brendy     10   0  1048K   620K nanslp 0   0:00  0.00%  0.00% kwrap=
per
  274 brendy      2   0 15708K 10152K poll   0   0:00  0.00%  0.00% kdein=
it
  255 brendy      2   0 15832K 10360K poll   1   0:00  0.00%  0.00% kdein=
it
  162 root       10   0  2244K  1388K wait   1   0:00  0.00%  0.00% kdm
  175 brendy     10   0   688K   468K wait   1   0:00  0.00%  0.00% sh
  110 root       10   0  1056K   772K nanslp 0   0:00  0.00%  0.00% cron
   92 root        2   0   968K   620K select 0   0:00  0.00%  0.00% ypbin=
d
  153 root        3   0  1004K   616K ttyin  1   0:00  0.00%  0.00% getty
  156 root        3   0  1004K   616K ttyin  1   0:00  0.00%  0.00% getty
  157 root        3   0  1004K   616K ttyin  1   0:00  0.00%  0.00% getty
  151 root        3   0  1004K   616K ttyin  0   0:00  0.00%  0.00% getty
  155 root        3   0  1004K   616K ttyin  0   0:00  0.00%  0.00% getty
  152 root        3   0  1004K   616K ttyin  0   0:00  0.00%  0.00% getty
  154 root        3   0  1004K   616K ttyin  0   0:00  0.00%  0.00% getty
  158 root        3   0  1004K   616K ttyin  0   0:00  0.00%  0.00% getty
  120 smmsp      18   0  2796K  2212K pause  0   0:00  0.00%  0.00% sendm=
ail
   90 daemon      2   0   996K   552K select 1   0:00  0.00%  0.00% portm=
ap
  108 root        2   0  1116K   644K select 0   0:00  0.00%  0.00% inetd
  114 root        2   0   968K   576K select 0   0:00  0.00%  0.00% usbd
   24 root       18   0   220K    96K pause  1   0:00  0.00%  0.00% adjke=
rntz


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-smp" in the body of the message




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