[RndTbl] reliable way of counting real CPUs under Linux?

Gilbert E. Detillieux gedetil at cs.umanitoba.ca
Thu Apr 17 16:33:41 CDT 2014

On 17/04/2014 4:01 PM, Grigory Shamov wrote:
> Hi Gilbert,
> Thanks!
> There is a lot of advice there for sure. For example, The 'ht' flag is
> always there on our AMD Opterons (Shaghais and Barcelonas), even they do
> not have HT enabled. I'd think that 'ht' it is always there in any
> SMP-enabled linux kernel?

More likely, it's always there for any processor that supports HT, 
whether it's currently enabled or not.

Gilbert E. Detillieux		E-mail: <gedetil at muug.mb.ca>
Manitoba UNIX User Group	Web:	http://www.muug.mb.ca/
PO Box 130 St-Boniface		Phone:  (204)474-8161
Winnipeg MB CANADA  R2H 3B4	Fax:    (204)474-7609

More information about the Roundtable mailing list