ULE status, invalid load, buildkernel times.

Chris Dionissopoulos dionch at freemail.gr
Sun Jul 22 08:13:23 UTC 2007


Hello Jeff,

Sunday, July 22, 2007, 3:55:08 AM, you wrote:

> I have a patch available at:

> http://people.freebsd.org/~jeff/ulehtt.diff

> This resolves issues in the code that handles HTT enabled processors and
> also adds some ULE information to bootverbose on SMP systems.  Peter Wemm
> has a seperate patch that fixes a bug where some amd64 cpus were still
> being misidentified as HTT.  Those of you with invalid loads either have
> Hyper-threading CPUs or misidentified amd cores.  You should expect 
> slightly poorer performance as long as your cores are misidentified but
> the bad loads should be fixed.

> I also believe that the buildkernel/world times are now significantly 
> improved.  If this is not the case for you please send a mail.  Any other
> performance data is appreciated.

> Thanks,
> Jeff

Load numbers seem correct, but, when enabling powerd(8) for power
management I get kernel panic! In detail:

-without patch, powerd(8) and system working stable (20+ daemons),
-with patch applied and disabling powerd(8), system working stable (a
couple of hours)
-with patch applied and trying to enable powerd(8) produces kernel panic from
powerd(8) process.

It seems something ugly using scheduling lives in powerd(8).


info:
=====
Copyright (c) 1992-2007 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 is a registered trademark of The FreeBSD Foundation.
FreeBSD 7.0-CURRENT #5: Sun Jul 22 09:26:23 EEST 2007
    root at mail.debug.gr:/usr/obj/usr/src/sys/DEV7
ACPI APIC Table: <INTEL  DG965SS >
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Core(TM)2 CPU          6300  @ 1.86GHz (1876.00-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x6f6  Stepping = 6
  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=0xe3bd<SSE3,RSVD2,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM>
  AMD Features=0x20100000<NX,LM>
  AMD Features2=0x1<LAHF>
  Logical CPUs per core: 2
real memory  = 2120540160 (2022 MB)
avail memory = 2069549056 (1973 MB)
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1


# sysctl -a | grep topo
kern.sched.topology: 1



-- 
Best regards,
 Chris                            mailto:dionch at freemail.gr



More information about the freebsd-current mailing list