From: Bela Lubkin <belal@sco.com> Subject: Re: P4 Xeon + Hyperthreading Date: Tue, 24 Dec 2002 03:02:57 GMT References: <atrgt8$sc$1@perki.connect.com.au>
<20021219170752.S10531@mammoth.ca.sco.com>
<au861e$f4a$1@perki.connect.com.au> Stuart J. Browne wrote: > "Bela Lubkin" <belal@sco.com> wrote in message > news:20021219170752.S10531@mammoth.ca.sco.com... > > Stuart J. Browne wrote: > > > > > I've had a quick read through the posts recently, and I've not seen one > > > stating whether OSR5.0.6 does or does not support Hyperthreading. > > > > > > Given that I had issues initilizing the second processor when it was enabled, > > > I'm picking the answer is No, but as this is the first machine I've build > > > with this feature, I just want to make sure it's not just me missing some > > > configuration somewhere. > > > > > > > > > HP Prolient ML350 > > > Dial P4 Xeon 2.2Ghz > > > > OSR506 has no awareness of hyperthreading. In order to enable it you > > would have to install two licenses for each physical CPU (i.e. one for > > each logical CPU) -- 4 total for your box. > > > > Once you did that, as far as I know it should "work", but again, it has > > _no_ awareness of hyperthreading. You have 2 physical CPUs, so 4 > > logical CPUs. Suppose you had two CPU-intensive processes running at a > > particular time. You would want them running on separate physical CPUs. > > If they're on two logical CPUs of the same physical CPU, they'll get no > > more than (perhaps) 1.2 CPU's worth of power, instead of 2.0. But > > OSR506 isn't aware of that and makes no effort to move processes around > > so they don't fight over a single physical CPU. > > Actually, with Hyperthreading enabled, the OS refused to initlize the second > processor (either virtual or phyiscal). > > 'cpuonoff -c' reported 'disabled' for CPU2.
Ah, I forgot about that whole aspect of it... _Some_ BIOSes for Pentium 4 family CPUs that support Hyperthreading (HT) set the CPUs up in a manner that OSR5 supports. Others do not. The technical detail: OSR5 supports the Intel MultiProcessing Specification, versions 1.1 and 1.4 (MPS 1.1 / 1.4). An MPS-compliant BIOS sets up a particular table that shows what CPUs are available. Intel has chosen not to support MPS with the HT CPUs. They instead provide an ACPI (Advanced Configuration and Power Interface) table of CPUs. Originally Intel told us that BIOS support for HT CPUs would never provide MPS tables. This was not true of the prototype machines with prototype BIOSes -- those machines provided both kinds of table. Now that the machines are actually shipping, it seems that most of them provide an MPS table when HT is disabled. _Some_ still provide it when HT is enabled; others don't. OSR5 will only see CPUs (beyond the first one) if MPS tables are present. ACPI is a large, complex mess. Even just using it to find CPUs is a big deal. We were doing some work on this, but I don't know whether it made it into OSR507. Even if it did, there are still no smarts about scheduling processes properly on HT CPUs, so you'd not likely see any benefits. But you originally asked:
> > > I just want to make sure it's not just me missing some > > > configuration somewhere. ... you might be. If the BIOS gives you a choice of MPS vs. ACPI CPU tables, choose MPS. I'm pretty sure the common BIOSes can be built to offer that choice, it comes down to a question of how they were _actually_ built. >Bela<
Have you tried Searching this site?
Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates
This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.
Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them. I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.
Specific links that take you to pages that allow you to purchase the item I reviewed are very likely to pay me a commission. Many of the books I review were given to me by the publishers specifically for the purpose of writing a review. These gifts and referral fees do not affect my opinions; I often give bad reviews anyway.
We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.
Click here to add your comments
Don't miss responses! Subscribe to Comments by RSS or by Email
Click here to add your comments
If you want a picture to show with your comment, go get a Gravatar