mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
To: Con Kolivas <kernel@kolivas.org>
Cc: Frederik Deweerdt <deweerdt@free.fr>, linux-kernel@vger.kernel.org
Subject: Re: isolcpus weirdness
Date: Thu, 23 Feb 2006 11:51:45 +0100	[thread overview]
Message-ID: <1140691905.8314.21.camel@localhost.localdomain> (raw)
In-Reply-To: <200602232100.46551.kernel@kolivas.org>

[-- Attachment #1: Type: text/plain, Size: 1624 bytes --]

Le jeudi 23 février 2006 à 21:00 +1100, Con Kolivas a écrit :
> On Thursday 23 February 2006 20:55, Emmanuel Pacaud wrote:
> > Le mercredi 22 février 2006 à 22:18 +0100, Frederik Deweerdt a écrit :
> > > On Wed, Feb 22, 2006 at 02:21:27PM +0100, Emmanuel Pacaud wrote:
> > > > What's wrong ?
> > >
> > > Are you able to reproduce the same behaviour after disabling HT in
> > > the kernel config?
> >
> > I think HT is disabled in kernel config, since I only see 2 cpus.
> >
> > In fact, I've tried to enable HT, but did'nt succeed. HT is enabled in
> > BIOS, but I'm not sure about exact things I must set at kernel config
> > level for hyperthreading. I've tried to set/unset CONFIG_SCHED_SMT, but
> > that changes nothing (no hyperthreading, isolated cpu is always cpu0).
> >
> > Here's attached my config file.
> 
> CONFIG_ACPI is not set
> 
> You need ACPI to enumerate hyperthread siblings. That's why HT never gets 
> enabled for you.

Following your advice, I've set CONFIG_ACPI, and now, isolcpus works
fine, when hyperthreading is activated.

But, I'm trying to build a real time system where hyperthreading is not
desired. So, I've tried to disable HT in BIOS, and the result is the
same as when ACPI is not enabled in kernel config: isolated cpu is
always cpu0.

On the same machine, which is originally a Scientific Linux 4, I've
tried with distribution supplied kernel (a customized 2.6.9 with smp/HT
enabled): isolcpus works fine, even with HT disabled at BIOS level.

It seems there's a regression between 2.6.9 and 2.6.15. 

I've attached config file of scientific linux 4.

Regards,

	Emmanuel.


[-- Attachment #2: config-2.6.9-5.0.5.ELsmp.gz --]
[-- Type: application/x-gzip, Size: 12640 bytes --]

  reply	other threads:[~2006-02-23 10:51 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-22 13:21 Emmanuel Pacaud
2006-02-22 21:18 ` Frederik Deweerdt
2006-02-23  9:55   ` Emmanuel Pacaud
2006-02-23 10:00     ` Con Kolivas
2006-02-23 10:51       ` Emmanuel Pacaud [this message]
2006-02-23 11:37         ` Con Kolivas
2006-02-23 12:21 ` Nick Piggin
2006-02-23 13:07   ` Emmanuel Pacaud
2006-02-23 13:30     ` Nick Piggin
2006-02-23 14:03       ` Emmanuel Pacaud
2006-02-24  6:02         ` Nick Piggin
2006-02-24  7:44           ` Emmanuel Pacaud

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1140691905.8314.21.camel@localhost.localdomain \
    --to=emmanuel.pacaud@univ-poitiers.fr \
    --cc=deweerdt@free.fr \
    --cc=kernel@kolivas.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®