Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Aug 2003 11:33:28 -0300
From:      "Daniel C. Sobral" <dcs@tcoip.com.br>
To:        Mike Jakubik <mikej@trigger.net>
Cc:        Kris Kennaway <kris@obsecurity.org>
Subject:   Re: HTT on current
Message-ID:  <3F4A1E38.7090109@tcoip.com.br>
In-Reply-To: <JCEIKJMCANNPGKFKGLKLOENEDJAA.mikej@trigger.net>
References:  <JCEIKJMCANNPGKFKGLKLOENEDJAA.mikej@trigger.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Mike Jakubik wrote:
> Its seems to be working for me ok with the sysctl machdep.hlt_logical_cpus
> variable set to 0. (I wonder why its not by default)

It's not default because the performance decreases with htt most of the 
time.

> 
> # sysctl machdep.hlt_logical_cpus=0
> machdep.hlt_logical_cpus: 2 -> 0
> # uname -a
> FreeBSD newns.trigger.net 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Fri Aug 22
> 19:07:26 EDT 2003     root@newns.trigger.net:/usr/src/sys/i386/compile/NS1
> i386
> 
> I am running on an Intel s875wp1 server MB.
> 
> 
>>-----Original Message-----
>>From: Marc G. Fournier [mailto:scrappy@hub.org]
>>Sent: Sunday, August 24, 2003 12:49 PM
>>To: Kris Kennaway
>>Cc: Yamada Ken Takeshi; mikej@trigger.net; current@freebsd.org
>>Subject: Re: HTT on current
>>
>>
>>
>>yes:
>>
>>ganymede# grep SMP /usr/src/sys/i386/conf/kernel
>>options         SMP                     # Symmetric MultiProcessor Kernel
>>
>>and:
>>
>>CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (2393.19-MHz 686-class CPU)
>>  Origin = "GenuineIntel"  Id = 0xf27  Stepping = 7
>>
>>Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MT
> 
> RR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
> 
>>real memory  = 536805376 (511 MB)
>>avail memory = 515919872 (492 MB)
>>Programming 24 pins in IOAPIC #0
>>IOAPIC #0 intpin 2 -> irq 0
>>FreeBSD/SMP: Multiprocessor System Detected: 1 CPUs
>> cpu0 (BSP): apic id:  0, version: 0x00050014, at 0xfee00000
>> io0 (APIC): apic id:  2, version: 0x00178020, at 0xfec00000
>>
>>shouldn't it be starting up a second CPU, for the HTT?
>>
>>
>>On Sun, 24 Aug 2003, Kris Kennaway wrote:
>>
>>
>>>On Sun, Aug 24, 2003 at 01:06:28PM -0300, Marc G. Fournier wrote:
>>>
>>>>
>>>>ganymede# sysctl machdep.hlt_logical_cpus
>>>>sysctl: unknown oid 'machdep.hlt_logical_cpus'
>>>>ganymede# uname -a
>>>>FreeBSD ganymede.hub.org 5.1-CURRENT FreeBSD 5.1-CURRENT #1:
>>
>>Sat Aug 23 00:08:54 ADT 2003
>>root@ganymede.hub.org:/usr/obj/usr/src/sys/kernel  i386
>>
>>>Is this a SMP kernel?
>>>
>>>ports-i386%uname -a
>>>FreeBSD dosirak.kr.freebsd.org 5.1-CURRENT FreeBSD 5.1-CURRENT
>>
>>#8: Sat Aug  9 15:43:12 KST 2003
>>root@dosirak.kr.freebsd.org:/usr/src/sys/i386/compile/DOSIRAK  i386
>>
>>>ports-i386%sysctl machdep.hlt_logical_cpus
>>>machdep.hlt_logical_cpus: 1
>>>
>>>Kris
>>>
>>
> 
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"


-- 
Daniel C. Sobral                   (8-DCS)
Gerencia de Operacoes
Divisao de Comunicacao de Dados
Coordenacao de Seguranca
VIVO Centro Oeste Norte
Fones: 55-61-313-7654/Cel: 55-61-9618-0904
E-mail: Daniel.Capo@tco.net.br
         Daniel.Sobral@tcoip.com.br
         dcs@tcoip.com.br

Outros:
	dcs@newsguy.com
	dcs@freebsd.org
	capo@notorious.bsdconspiracy.net

Isn't air travel wonderful?
Breakfast in London, dinner in New York, luggage in Brazil.



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