Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 08 Oct 2005 01:31:19 -0700
From:      Paul Saab <ps@freebsd.org>
To:        Joseph Koshy <joseph.koshy@gmail.com>,  arch@freebsd.org
Subject:   Re: Determining CPU topology on multi-core CPUs
Message-ID:  <434783D7.4030701@freebsd.org>
In-Reply-To: <84dead720510072043x45a2181ch5eea8cbfe9ea50cb@mail.gmail.com>
References:  <84dead720510072043x45a2181ch5eea8cbfe9ea50cb@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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"
>
>   



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?434783D7.4030701>