intel i7 and Hyperthreading

Mike Tancsa mike at sentex.net
Tue Dec 23 13:00:22 PST 2008


At 11:20 AM 12/23/2008, Ivan Voras wrote:
>Mike Tancsa wrote:
>
>>FreeBSD 7.1-PRERELEASE #0: Fri Dec 19 19:48:15 EST 2008
>>     mdtancsa at ns3c.recycle.net:/usr/obj/usr/src/sys/recycle
>>Timecounter "i8254" frequency 1193182 Hz quality 0
>>CPU: Intel(R) Core(TM) i7 CPU         920  @ 2.67GHz (2666.78-MHz 
>>686-class CPU)
>>   Origin = "GenuineIntel"  Id = 0x106a4  Stepping = 4
>>
>>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> 
>>
>>
>>Features2=0x98e3bd<SSE3,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT> 
>>
>>   AMD Features=0x28100000<NX,RDTSCP,LM>
>>   AMD Features2=0x1<LAHF>
>>   Cores per package: 8
>>   Logical CPUs per core: 2
>>real memory  = 2138992640 (2039 MB)
>>avail memory = 2084880384 (1988 MB)
>>ACPI APIC Table: <INTEL  DX58SO  >
>>FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs
>>  cpu0 (BSP): APIC ID:  0
>>  cpu1 (AP): APIC ID:  1
>>  cpu2 (AP): APIC ID:  2
>>  cpu3 (AP): APIC ID:  3
>>  cpu4 (AP): APIC ID:  4
>>  cpu5 (AP): APIC ID:  5
>>  cpu6 (AP): APIC ID:  6
>>  cpu7 (AP): APIC ID:  7
>
>I just thought of another thing - can you boot an 8-CURRENT kernel 
>on the machine and report the value of kern.sched.topology_spec 
>sysctl? This is to verify how the ULE sees the HTT topology of the CPUs.

I have a bit of delay, so I can run it with another disk for a day.


0[current]# sysctl -A kern.sched
kern.sched.preemption: 1
kern.sched.topology_spec: <groups>
  <group level="1" cache-level="0">
   <cpu count="8" mask="0xff">0, 1, 2, 3, 4, 5, 6, 7</cpu>
   <flags></flags>
  </group>
</groups>

kern.sched.steal_thresh: 3
kern.sched.steal_idle: 1
kern.sched.steal_htt: 1
kern.sched.balance_interval: 133
kern.sched.balance: 1
kern.sched.affinity: 1
kern.sched.idlespinthresh: 4
kern.sched.idlespins: 10000
kern.sched.static_boost: 160
kern.sched.preempt_thresh: 64
kern.sched.interact: 30
kern.sched.slice: 13
kern.sched.name: ULE
0[current]#


I tried to boot off the eSata drive, but HEAD does not understand the 
controller properly as it never sees the disk.  From the BIOS, it 
says its a marvel thingy and pciconf sees it that way too...Also, the 
ichwd doesnt seem to work. Its possible its disabled on the 
motherboard. dmesg and pciconf attached


atapci0 at pci0:6:0:0:     class=0x01018f card=0x4f538086 
chip=0x612111ab rev=0xb2 hdr=0x00
     vendor     = 'Marvell Semiconductor (Was: Galileo Technology Ltd)'
     device     = '6121 SATA2 Controller'
     class      = mass storage
     subclass   = ATA
     cap 01[48] = powerspec 2  supports D0 D1 D3  current D0
     cap 05[50] = MSI supports 1 message
     cap 10[e0] = PCI-Express 1 legacy endpoint



         ---Mike 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dmesg.txt
Type: application/octet-stream
Size: 64249 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-performance/attachments/20081223/2a766eb9/dmesg.obj


More information about the freebsd-performance mailing list