"noht" (RE: ACPI patches updated (20030714))

From: Brown, Len (len.brown@intel.com)
Date: Thu Jul 17 2003 - 21:14:58 EST

"noht" turns out to be tricky for ACPI in practice.

ACPI really shouldn't tinker with or skip LAPIC enumeration. It can't rely
on the table LAPIC ids to get packge numbers, and it can't rely on the BIOS
to have MPS implemented to enumerate physical processors.

The only reliable way to get the logical/physical mapping is the way
init_intel() does it today -- run CPUID locally on that logical processor
after it is up and running.

So if the kernel is to disable HT, the proper way would be to initialize all
the logical processors, have them identify themselves, and then optionally
take themselves off-line. A possiblity for 2.6.

BIOS SETUP remains the preferred way to disable HT. If the hardware is
implemented such that duplicated resources could be combined when HT is
disabled, only the BIOS would be able to do that -- so single threaded
performance with Linux implemented 'noht' might lag performance with BIOS
implemented 'noht'...

Given that 'noht' is workaround for a missing BIOS switch, I'm not confident
it is a win to burden the Linux kernel with it.


> -----Original Message-----
> From: Brown, Len
> Sent: Tuesday, July 15, 2003 10:36 PM
> To: 'Hugh Dickins'
> Cc: Grover, Andrew; ACPI-Devel mailing list;
> linux-kernel@vger.kernel.org; Marcelo Tosatti
> Subject: RE: ACPI patches updated (20030714)
> > From: Hugh Dickins [mailto:hugh@veritas.com]
> > > Full ACPI w/o the acpi=cpu option
> >
> > Shouldn't this combination also support "noht", or is that
> > too much to ask?
> Can do. It will be called CONFIG_ACPI_HT, and will be
> required for ACPI to enable HT -- with or without the full
> Cheers,
> -Len
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

This archive was generated by hypermail 2b29 : Wed Jul 23 2003 - 22:00:31 EST