From owner-freebsd-hackers@FreeBSD.ORG Sun Mar 21 22:40:18 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9911A1065672; Sun, 21 Mar 2010 22:40:18 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from mail-px0-f182.google.com (mail-px0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id 6CFE48FC0C; Sun, 21 Mar 2010 22:40:18 +0000 (UTC) Received: by pxi12 with SMTP id 12so1254367pxi.14 for ; Sun, 21 Mar 2010 15:40:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:cc:content-type; bh=R1M6gEaLSoyHa34mTZjUdnvlRkLFAaVeeaz+4lFkhlI=; b=CvOmqFpAy8XaTCovlkIZuq8NV/K7BTNqZkWFHHn28LfZ62YIxB4jfcyW36saF5WnV1 hJTUfYnPpEEsyhVaud4AJ6j+3Kpp6krTg+0k/rK1rc2jOhLoLKl7AJrg7aVJ2zHVgBu0 vOcBv7zUyftNqwx5sWIPUxUg+u8elix3Gp/4U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; b=bBSxMT/Ms0U1UT894Bs8sbQko05QC8kGt65OhBxf4x9cjqsK4gbicpjAwfWklI4sgC PE6Z0FnTgc/c3GV5ZDcYqBU12YrqPE0e+t5kSNntL3/kfygtSQ9Ezz+KSK8rBdFG7i5w QfFoHppJM/y7XUGsgpzT8E2nR085Ee4rsc8w8= MIME-Version: 1.0 Received: by 10.142.202.17 with SMTP id z17mr1550498wff.140.1269211217825; Sun, 21 Mar 2010 15:40:17 -0700 (PDT) Date: Sun, 21 Mar 2010 15:40:17 -0700 Message-ID: <7d6fde3d1003211540n30a7041dmd187b57efd0e9242@mail.gmail.com> From: Garrett Cooper To: John Baldwin Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD-Hackers Subject: Logical CPUs cannot be disabled via W3520 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Mar 2010 22:40:18 -0000 Someone on the forums [1] noticed that machdep.hlt_logical_cpus was unavailable on their system, and I did some poking around and noticed that it was as well. Should SMT logical CPUs be disable(-able) via machdep.hlt_logical_cpus as well or is it just classic HTT based chips? Thanks, -Garrett $ sysctl machdep. machdep.acpi_timer_freq: 3579545 machdep.enable_panic_key: 0 machdep.adjkerntz: 25200 machdep.wall_cmos_clock: 1 machdep.disable_rtc_set: 0 machdep.acpi_root: 1029056 machdep.disable_mtrrs: 0 machdep.idle: acpi machdep.idle_available: spin, mwait, mwait_hlt, hlt, acpi, machdep.hlt_cpus: 0 machdep.prot_fault_translation: 0 machdep.panic_on_nmi: 1 machdep.kdb_on_nmi: 1 machdep.tsc_freq: 2694121808 machdep.i8254_freq: 1193182 $ sysctl hw.machine hw.model hw.machine: amd64 hw.model: Intel(R) Xeon(R) CPU W3520 @ 2.67GHz dmesg snippet: CPU: Intel(R) Xeon(R) CPU W3520 @ 2.67GHz (2694.12-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0x106a5 Family = 6 Model = 1a Stepping = 5 Features=0xbfebfbff Features2=0x9ce3bd AMD Features=0x28100800 AMD Features2=0x1 TSC: P-state invariant real memory = 12884901888 (12288 MB) avail memory = 12379992064 (11806 MB) ACPI APIC Table: <091109 APIC2100> FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs FreeBSD/SMP: 1 package(s) x 4 core(s) x 2 SMT threads 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 [1] http://forums.freebsd.org/showthread.php?t=12527