From owner-freebsd-current@FreeBSD.ORG Fri May 1 02:39:39 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 853511065676; Fri, 1 May 2009 02:39:39 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: from mail-fx0-f162.google.com (mail-fx0-f162.google.com [209.85.220.162]) by mx1.freebsd.org (Postfix) with ESMTP id 7757C8FC12; Fri, 1 May 2009 02:39:38 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: by fxm6 with SMTP id 6so2150643fxm.43 for ; Thu, 30 Apr 2009 19:39:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=v+FGCBum9QINl2RdToNo77oaH4GVFt330HPhbFoc79I=; b=o/bprSUXd0kb4nSTcXptsZq7rzfge1PozyF+gbQe85cQPUpxksifSFGGY4zL5v+1vG 8ERgJJ6nevHYMeKdbnQLlveQVmk5X7Vb86FR0gkRmE1WBj5M+p02yc1dvWDozgKx1VvW iNVDSYswKMAPe4JJzbNhD+nf8o6jY9ylzTuoU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=T7Su4gKoxf6FTnsEw2fCW5u3Yz83z0PiURwc876Rs6lix6Al6HDGV+xfbrnIAH4G/i HVNSZSY35KpmRTALy1zGe90FoGrzVGjBjsvG6ssb82E+o/aO1K80lJjZF0vI9R8N7XJ8 MqIIv2t/KyGwFn9awJgfpk76kPT4dpzpL9MmY= MIME-Version: 1.0 Received: by 10.103.165.18 with SMTP id s18mr1357596muo.124.1241145576405; Thu, 30 Apr 2009 19:39:36 -0700 (PDT) In-Reply-To: References: <20090430013428.cb4f804b.nork@FreeBSD.org> Date: Fri, 1 May 2009 06:39:36 +0400 Message-ID: From: pluknet To: Jeff Roberson Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: cannot compile sched_ule without options SMP X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 May 2009 02:39:39 -0000 2009/5/1 Jeff Roberson : > On Thu, 30 Apr 2009, pluknet wrote: > >> 2009/4/30 Jeff Roberson : >>> >>> On SMP machines you should now see output like this: >>> FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs >>> FreeBSD/SMP: 1 package(s) x 4 core(s) x 2 SMT threads >>> >>> If you detect any irregularities with kern.sched.topology_spec or this >>> dmesg >>> line please report them. >>> >> >> Hi, Jeff. >> >> I have such mismatch. This is an Intel E7200. >> >> FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs >> FreeBSD/SMP: 1 package(s) x 1 core(s) x 2 HTT threads >> cpu0 (BSP): APIC ID: 0 >> cpu1 (AP/HT): APIC ID: 1 >> >> So it should be instead: 1 package(s) x 2 core(s) >> cpu0 (BSP): APIC ID: 0 >> cpu1 (AP): APIC ID: 1 > > Can you please repeat the following steps as I have done here: > (kgdb) p/x cpu_high $1 = 0x2 (kgdb) p/x cpu_cores $2 = 0x1 (kgdb) p/x cpu_logical $3 = 0x2 (kgdb) p/x cpu_feature $4 = 0xbfebfbff (kgdb) p/x logical_cpus $5 = 0x2 (kgdb) p/x hyperthreading_cpus $6 = 0x2 -- wbr, pluknet