Re: HyperThreading not working?

2003-02-27 Thread Slawek Zak
On Wed, Feb 26, 2003 at 02:05:51PM -0500, John Baldwin wrote:
  I'm in the process of installing 5.0-RELEASE-p3 on a Dell PowerEdge
  2600 server. It has two HyperThreading Xeon 2.4Ghz processors, but
  HyperThreading is not working in FreeBSD. I guess that four
  processors should be visible in the system after boot. Yes - I've
  enabled `Logical Processors' in BIOS. BIOS revision is the latest
  available.
  
  Any thoughts? I attach full dmesg and mptable output. Kernel
  config too.
 
 5.0 doesn't support HyperThreading.  The upcoming 5.1 and 4.8 releases
 will support it.

Thanks. I didn't put tag=. in the supfile, but the default 5_0_RELENG.
That's why it didn't work even after cvsup. Now it's all CURRENT,
working stable and blazing fast. Even with SCHED_ULE :)

All the best, /S

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message


Re: HyperThreading not working?

2003-02-27 Thread Terry Lambert
Juli Mallett wrote:
Any thoughts? I attach full dmesg and mptable output. Kernel
config too.
  
   5.0 doesn't support HyperThreading.  The upcoming 5.1 and 4.8 releases
   will support it.
 
  it doesn't? I have a 5.0-R box that surely does support HTT.
 
 Your BIOS puts the logical CPUs into the MPTable.

John Baldwin posted a patch for this that would use the CPUID
instruction to detect Hyperthreading.  Of course, that means
you can not turn it off.  The patch was posted to -current about
3-4 weeks ago.

-- Terry

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message


RE: HyperThreading not working?

2003-02-27 Thread John Baldwin

On 26-Feb-2003 Trish Lynch wrote:
 On Wed, 26 Feb 2003, John Baldwin wrote:
 

 On 26-Feb-2003 Slawek Zak wrote:
  Hi,
 
  I'm in the process of installing 5.0-RELEASE-p3 on a Dell PowerEdge
  2600 server. It has two HyperThreading Xeon 2.4Ghz processors, but
  HyperThreading is not working in FreeBSD. I guess that four
  processors should be visible in the system after boot. Yes - I've
  enabled `Logical Processors' in BIOS. BIOS revision is the latest
  available.
 
  Any thoughts? I attach full dmesg and mptable output. Kernel
  config too.

 5.0 doesn't support HyperThreading.  The upcoming 5.1 and 4.8 releases
 will support it.

 
 it doesn't? I have a 5.0-R box that surely does support HTT.

Your motherboard has an extra special BIOS.  Most BIOS do not enumerate
logical CPU's in the mptable and require the extra patches to work.

-- 

John Baldwin [EMAIL PROTECTED]http://www.FreeBSD.org/~jhb/
Power Users Use the Power to Serve!  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message


HyperThreading not working?

2003-02-26 Thread Slawek Zak
Hi,

I'm in the process of installing 5.0-RELEASE-p3 on a Dell PowerEdge
2600 server. It has two HyperThreading Xeon 2.4Ghz processors, but
HyperThreading is not working in FreeBSD. I guess that four
processors should be visible in the system after boot. Yes - I've
enabled `Logical Processors' in BIOS. BIOS revision is the latest
available.

Any thoughts? I attach full dmesg and mptable output. Kernel
config too.

Thanks, /S
machine i386
cpu I686_CPU
ident   W3
maxusers0

#To statically compile in device wiring instead of /boot/device.hints
#hints  GENERIC.hints #Default places to look for devices.

#makeoptionsDEBUG=-g#Build kernel with gdb(1) debug symbols

options INET#InterNETworking
options FFS #Berkeley Fast Filesystem
options SOFTUPDATES #Enable FFS soft updates support
options UFS_ACL #Support for access control lists
options UFS_DIRHASH #Improve performance on big directories
options MD_ROOT #MD is a potential root device
options NFSCLIENT   #Network Filesystem Client
options MSDOSFS #MSDOS Filesystem
options CD9660  #ISO 9660 Filesystem
options PROCFS  #Process filesystem (requires PSEUDOFS)
options PSEUDOFS#Pseudo-filesystem framework
options COMPAT_43   #Compatible with BSD 4.3 [KEEP THIS!]
options COMPAT_FREEBSD4 #Compatible with FreeBSD4
options SCSI_DELAY=7000 #Delay (in ms) before probing SCSI
options KTRACE  #ktrace(1) support
options SYSVSHM #SYSV-style shared memory
options SYSVMSG #SYSV-style message queues
options SYSVSEM #SYSV-style semaphores
options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
options KBD_INSTALL_CDEV# install a CDEV entry in /dev
# output.  Adds ~215k to driver.

# Debugging for use in -current
#optionsDDB #Enable the kernel debugger
#optionsINVARIANTS  #Enable calls of extra sanity checking
#optionsINVARIANT_SUPPORT   #Extra sanity checks of internal structures, 
required by INVARIANTS
#optionsWITNESS #Enable checks to detect deadlocks and cycles
#optionsWITNESS_SKIPSPIN#Don't run witness on spinlocks for speed

# To make an SMP kernel, the next two are needed
options SMP # Symmetric MultiProcessor Kernel
options APIC_IO # Symmetric (APIC) I/O

device  pci

# Floppy drives
device  fdc

# ATA and ATAPI devices
device  ata
device  atadisk # ATA disk drives
device  atapicd # ATAPI CDROM drives
device  atapifd # ATAPI floppy drives
device  atapist # ATAPI tape drives
options ATA_STATIC_ID   #Static device numbering

# SCSI peripherals
device  scbus   # SCSI bus (required)
device  ch  # SCSI media changers
device  da  # Direct Access (disks)
device  sa  # Sequential Access (tape etc)
device  cd  # CD
device  pass# Passthrough device (direct SCSI access)
device  ses # SCSI Environmental Services (and SAF-TE)

# RAID controllers
device  amr # AMI MegaRAID

# atkbdc0 controls both the keyboard and the PS/2 mouse
device  atkbdc  # AT keyboard controller
device  atkbd   # AT keyboard
device  psm # PS/2 mouse

device  vga # VGA video card driver

device  splash  # Splash screen and screen saver support

# syscons is the default console driver, resembling an SCO console
device  sc

# Enable this for the pcvt (VT220 compatible) console driver
#device vt
#optionsXSERVER # support for X server on a vt console
#optionsFAT_CURSOR  # start with block cursor

device  agp # support several AGP chipsets

# Floating point support - do not disable.
device  npx

# Serial (COM) ports
device  sio # 8250, 16[45]50 based serial ports

# PCI Ethernet NICs.
device  em  # Intel PRO/1000 adapter Gigabit Ethernet Card

# Pseudo devices - the number indicates how many units to allocate.
device  random  # Entropy device
device  loop# Network loopback
device  ether   # Ethernet support
device  pty # Pseudo-ttys (telnet etc

RE: HyperThreading not working?

2003-02-26 Thread John Baldwin

On 26-Feb-2003 Slawek Zak wrote:
 Hi,
 
 I'm in the process of installing 5.0-RELEASE-p3 on a Dell PowerEdge
 2600 server. It has two HyperThreading Xeon 2.4Ghz processors, but
 HyperThreading is not working in FreeBSD. I guess that four
 processors should be visible in the system after boot. Yes - I've
 enabled `Logical Processors' in BIOS. BIOS revision is the latest
 available.
 
 Any thoughts? I attach full dmesg and mptable output. Kernel
 config too.

5.0 doesn't support HyperThreading.  The upcoming 5.1 and 4.8 releases
will support it.

-- 

John Baldwin [EMAIL PROTECTED]http://www.FreeBSD.org/~jhb/
Power Users Use the Power to Serve!  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message


RE: HyperThreading not working?

2003-02-26 Thread Trish Lynch
On Wed, 26 Feb 2003, John Baldwin wrote:


 On 26-Feb-2003 Slawek Zak wrote:
  Hi,
 
  I'm in the process of installing 5.0-RELEASE-p3 on a Dell PowerEdge
  2600 server. It has two HyperThreading Xeon 2.4Ghz processors, but
  HyperThreading is not working in FreeBSD. I guess that four
  processors should be visible in the system after boot. Yes - I've
  enabled `Logical Processors' in BIOS. BIOS revision is the latest
  available.
 
  Any thoughts? I attach full dmesg and mptable output. Kernel
  config too.

 5.0 doesn't support HyperThreading.  The upcoming 5.1 and 4.8 releases
 will support it.


it doesn't? I have a 5.0-R box that surely does support HTT.

-bash-2.05b$ uname -a
FreeBSD ecelerity-s1-3 5.0-RELEASE FreeBSD 5.0-RELEASE #3: Mon Jan 20
16:59:08 EST 2003
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/ECELERITY-5.0  i386

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 5.0-RELEASE #3: Mon Jan 20 16:59:08 EST 2003
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/ECELERITY-5.0
Preloaded elf kernel /boot/kernel/kernel at 0xc069a000.
Preloaded elf module /boot/kernel/acpi.ko at 0xc069a0a8.
Timecounter i8254  frequency 1193182 Hz
CPU: Pentium 4 (1796.94-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf27  Stepping = 7

Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,P
GE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,b31
real memory  = 1073217536 (1023 MB)
avail memory = 1034719232 (986 MB)
Programming 24 pins in IOAPIC #0
OAPIC #0 intpin 2 - irq 0
Programming 24 pins in IOAPIC #1
Programming 24 pins in IOAPIC #2
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
 cpu0 (BSP): apic id:  0, version: 0x00050014, at 0xfee0
 cpu1 (AP):  apic id:  6, version: 0x00050014, at 0xfee0
 cpu2 (AP):  apic id:  1, version: 0x00050014, at 0xfee0
 cpu3 (AP):  apic id:  7, version: 0x00050014, at 0xfee0
 io0 (APIC): apic id:  2, version: 0x00178020, at 0xfec0
 io1 (APIC): apic id:  3, version: 0x00178020, at 0xfec8
 io2 (APIC): apic id:  4, version: 0x00178020, at 0xfec80400
Initializing GEOMetry subsystem
Pentium Pro MTRR support enabled
npx0: math processor on motherboard
npx0: INT 16 interface
acpi0: PTLTDRSDT   on motherboard
ACPI-0625: *** Info: GPE Block0 defined as GPE0 to GPE15
ACPI-0625: *** Info: GPE Block1 defined as GPE16 to GPE31
Using $PIR table, 24 entries at 0xc00fde40
acpi0: power button is handled as a fixed feature programming model.
Timecounter ACPI-fast  frequency 3579545 Hz
acpi_timer0: 24-bit timer at 3.579545MHz port 0x1008-0x100b on acpi0
acpi_cpu0: CPU on acpi0
acpi_cpu1: CPU on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
IOAPIC #0 intpin 16 - irq 2
IOAPIC #0 intpin 19 - irq 10
IOAPIC #0 intpin 18 - irq 11
pci0: unknown at device 0.1 (no driver attached)
pcib1: ACPI PCI-PCI bridge at device 2.0 on pci0
pcib1: could not get PCI interrupt routing table for \\_SB_.PCI0.HLB_ -
AE_NOT_FOUND
pci1: ACPI PCI bus on pcib1
pci1: base peripheral, interrupt controller at device 28.0 (no driver
attached
)
pcib2: ACPI PCI-PCI bridge at device 29.0 on pci1
pci2: ACPI PCI bus on pcib2
pci1: base peripheral, interrupt controller at device 30.0 (no driver
attached
)
pcib3: ACPI PCI-PCI bridge at device 31.0 on pci1
pci3: ACPI PCI bus on pcib3
IOAPIC #1 intpin 4 - irq 16
IOAPIC #1 intpin 5 - irq 17
IOAPIC #1 intpin 7 - irq 18
ahc0: Adaptec aic7899 Ultra160 SCSI adapter port 0x3000-0x30ff mem
0xfc24-0xfc240fff irq 16 at device 2.0 on pci3
aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
ahc1: Adaptec aic7899 Ultra160 SCSI adapter port 0x3400-0x34ff mem
0xfc241000-0xfc241fff irq 17 at device 2.1 on pci3
aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/253 SCBs
em0: Intel(R) PRO/1000 Network Connection, Version - 1.4.7 port
0x3800-0x381f
mem 0xfc20-0xfc21,0xfc22-0xfc23 irq 18 at device 4.0 on
pci3
em0:  Speed:100 Mbps  Duplex:Full
uhci0: Intel 82801CA/CAM (ICH3) USB controller USB-A port 0x2000-0x201f
irq 2
at device 29.0 on pci0
usb0: Intel 82801CA/CAM (ICH3) 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
uhci1: Intel 82801CA/CAM (ICH3) USB controller USB-B port 0x2020-0x203f
irq 10
 at device 29.1 on pci0
usb1: Intel 82801CA/CAM (ICH3) 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
uhci2: Intel 82801CA/CAM (ICH3) USB controller USB-C port 0x2040-0x205f
irq 11
 at device 29.2 on pci0
usb2: Intel 82801CA/CAM (ICH3) USB controller USB-C on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
pcib4: ACPI PCI-PCI bridge

Re: HyperThreading not working?

2003-02-26 Thread Juli Mallett
* De: Trish Lynch [EMAIL PROTECTED] [ Data: 2003-02-26 ]
[ Subjecte: RE: HyperThreading not working? ]
 On Wed, 26 Feb 2003, John Baldwin wrote:
 
 
  On 26-Feb-2003 Slawek Zak wrote:
   Hi,
  
   I'm in the process of installing 5.0-RELEASE-p3 on a Dell PowerEdge
   2600 server. It has two HyperThreading Xeon 2.4Ghz processors, but
   HyperThreading is not working in FreeBSD. I guess that four
   processors should be visible in the system after boot. Yes - I've
   enabled `Logical Processors' in BIOS. BIOS revision is the latest
   available.
  
   Any thoughts? I attach full dmesg and mptable output. Kernel
   config too.
 
  5.0 doesn't support HyperThreading.  The upcoming 5.1 and 4.8 releases
  will support it.
 
 
 it doesn't? I have a 5.0-R box that surely does support HTT.

Your BIOS puts the logical CPUs into the MPTable.
-- 
Juli Mallett [EMAIL PROTECTED] - AIM: BSDFlata -- IRC: juli on EFnet
OpenDarwin, Mono, FreeBSD Developer - ircd-hybrid Developer, EFnet addict
FreeBSD on MIPS-Anything on FreeBSD - Never trust an ELF, COFF or Mach-O!

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message