From owner-freebsd-arch@FreeBSD.ORG Sat Oct 8 08:31:22 2005 Return-Path: X-Original-To: arch@freebsd.org Delivered-To: freebsd-arch@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7A52E16A41F for ; Sat, 8 Oct 2005 08:31:22 +0000 (GMT) (envelope-from ps@freebsd.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4D58943D45 for ; Sat, 8 Oct 2005 08:31:21 +0000 (GMT) (envelope-from ps@freebsd.org) Received: from [192.168.1.88] (64-142-76-135.dsl.static.sonic.net [64.142.76.135]) by elvis.mu.org (Postfix) with ESMTP id 6D76F1A3C1B; Sat, 8 Oct 2005 01:31:21 -0700 (PDT) Message-ID: <434783D7.4030701@freebsd.org> Date: Sat, 08 Oct 2005 01:31:19 -0700 From: Paul Saab User-Agent: Thunderbird 1.0+ (Macintosh/20050810) MIME-Version: 1.0 To: Joseph Koshy , arch@freebsd.org References: <84dead720510072043x45a2181ch5eea8cbfe9ea50cb@mail.gmail.com> In-Reply-To: <84dead720510072043x45a2181ch5eea8cbfe9ea50cb@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: Determining CPU topology on multi-core CPUs X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Oct 2005 08:31:22 -0000 you want hyperthreading_cpus_mask Joseph Koshy wrote: > On multi-core P4/HTT CPU packages I need to distinguish between > physically distinct CPUs in separate cores from HT CPU > (a.k.a., 'threads') pairs. > > What is the best way a driver can obtain the CPU topology > of a system? > > The bits in 'logical_cpus_mask' do not distinguish between > multi-core and HT cpus. > > -- > FreeBSD Volunteer, http://people.freebsd.org/~jkoshy > _______________________________________________ > freebsd-arch@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arch > To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org" > >